From d72a987a342949e200b5e9decbd71f246da53788 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 May 2024 00:01:15 +0100 Subject: gentoo auto-resync : 12:05:2024 - 00:01:15 --- .../sublime-text/sublime-text-4_p4126-r1.ebuild | 68 ---------------------- 1 file changed, 68 deletions(-) delete mode 100644 app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild (limited to 'app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild') diff --git a/app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild b/app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild deleted file mode 100644 index 3f2823912619..000000000000 --- a/app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop wrapper xdg - -# get the major version from PV -MY_PV=$(ver_cut 3) -MY_PN=${PN/-/_} - -DESCRIPTION="Sophisticated text editor for code, markup and prose" -HOMEPAGE="https://www.sublimetext.com" -SRC_URI=" - amd64? ( https://download.sublimetext.com/sublime_text_build_${MY_PV}_x64.tar.xz )" -S="${WORKDIR}/${MY_PN}" - -LICENSE="Sublime" -SLOT="0" -KEYWORDS="~amd64" -IUSE="dbus" -RESTRICT="bindist mirror strip" - -RDEPEND=" - dev-libs/glib:2 - sys-libs/glibc - x11-libs/gtk+:3 - x11-libs/libX11 - dbus? ( sys-apps/dbus )" - -PATCHES=( - "${FILESDIR}"/${PN}-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch - "${FILESDIR}"/${PN}-4_p4107-set-explicit-startupwmclass-in-launcher.patch -) - -QA_PREBUILT="*" - -# Sublime bundles the kitchen sink, which includes python and other assorted -# modules. Do not try to unbundle these because you are guaranteed to fail. - -src_install() { - insinto /opt/${MY_PN} - doins -r Packages Lib Icon # /Icon is used at runtime by the application - doins changelog.txt libcrypto.so.1.1 libssl.so.1.1 sublime_text.desktop - - # sublime_merge looks for /opt/sublime_text/sublime_text - exeinto /opt/${MY_PN} - doexe crash_reporter plugin_host-3.3 plugin_host-3.8 sublime_text - - # sublime-text sets its WM_CLASS based on its argv[0]. A wrapper script is - # used instead of a symlink to preserve a consistent WM_CLASS regardless of - # how the application is launched. This causes the WM_CLASS to be - # "sublime_text" which matches the .desktop entry. - make_wrapper subl "/opt/${MY_PN}/sublime_text --fwdargv0 \"\$0\"" - domenu sublime_text.desktop - - local size - for size in 16 32 48 128 256; do - doicon --size ${size} Icon/${size}x${size}/${PN}.png - done -} - -pkg_postinst() { - xdg_pkg_postinst - - elog 'Sublime Text 4'"'"'s window class changes from WM_CLASS="subl" to' - elog 'WM_CLASS="sublime_text" matching other distributions.' -} -- cgit v1.2.3