sublime-text: Fix the dependencies of the recent update (#36562)

This commit is contained in:
Laura Weber 2023-04-02 10:53:54 -07:00 committed by GitHub
parent ac62817ba0
commit 2117e37a0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,8 @@ class SublimeText(Package):
homepage = "https://www.sublimetext.com/" homepage = "https://www.sublimetext.com/"
url = "https://download.sublimetext.com/sublime_text_build_4143_x64.tar.xz" url = "https://download.sublimetext.com/sublime_text_build_4143_x64.tar.xz"
maintainers("LRWeber")
version("4.4143", sha256="7de862c38d19367414117110328dded754ac709fed54c8cc5cb0737c894c073c") version("4.4143", sha256="7de862c38d19367414117110328dded754ac709fed54c8cc5cb0737c894c073c")
version( version(
"3.2.2.3211", sha256="0b3c8ca5e6df376c3c24a4b9ac2e3b391333f73b229bc6e87d0b4a5f636d74ee" "3.2.2.3211", sha256="0b3c8ca5e6df376c3c24a4b9ac2e3b391333f73b229bc6e87d0b4a5f636d74ee"
@ -32,13 +34,13 @@ class SublimeText(Package):
# depends_on("libgobject", type="run") # depends_on("libgobject", type="run")
depends_on("gtkplus@:2", type="run", when="@:3.1") depends_on("gtkplus@:2", type="run", when="@:3.1")
depends_on("gtkplus@3:", type="run", when="@3.2:") depends_on("gtkplus@3:", type="run", when="@3.2:3.2.2")
depends_on("glib", type="run") depends_on("glib", type="run", when="@:3.2.2")
depends_on("libx11", type="run") depends_on("libx11", type="run", when="@:3.2.2")
depends_on("pcre", type="run") depends_on("pcre", type="run", when="@:3.2.2")
depends_on("libffi", type="run") depends_on("libffi", type="run", when="@:3.2.2")
depends_on("libxcb", type="run") depends_on("libxcb", type="run", when="@:3.2.2")
depends_on("libxau", type="run") depends_on("libxau", type="run", when="@:3.2.2")
def url_for_version(self, version): def url_for_version(self, version):
if version[0] == 2: if version[0] == 2: