mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-editors/sublime-text: drop versions
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,7 +1 @@
|
||||
DIST sublime_text_3_build_3211_x32.tar.bz2 13806489 BLAKE2B 1e07df2fc9fb9fb60a6fbfe27a3d657ff80ef46ae91967fa384cfc84bfdc2b5952aea8dbfd9ff015f669b148c1a302cbe01521a72b584abccd51efdab51ac0d8 SHA512 4d19947459046407316382d187ea6fa4cff9b7d3e7ae3c46667d691b6ca425a1f1dfc8599a26cf61b970290a58924a3b605e111ff2802ed124683872c1802803
|
||||
DIST sublime_text_3_build_3211_x64.tar.bz2 13677324 BLAKE2B e2ac54c1e8ab90c0fcefb4baf225b02d13a3405e846f08163773ed52c6278f8e89a7b13c15e6c2d6241139d58be9c2c5a1201abb04a3cd68efdffc723075c5af SHA512 a6a068119eff95c5360e9ccbe1d845e7a93e4ad13b3659073752a7bd0e87f4691555820185514875649e677a4e8702e2338f74f5584fc80f69c16b323685d6f1
|
||||
DIST sublime_text_build_4126_x64.tar.xz 17313756 BLAKE2B 16a036e15b920f72b47a6425540efcbc5ac5c44d3f3c79fa0a106128857f6fa6775a244d6497c814448a3f42cfe1515546b372475b22b47364a759ad0412bfdc SHA512 1f7a1543e68e67bd507f2f4b65f53085c96796287521878011e183df26579cd593c333d53b5ee9bc5adb41dd5344c62875fea869d11962ba80a39dfb63a80652
|
||||
DIST sublime_text_build_4143_x64.tar.xz 17480384 BLAKE2B 37617568f9ff0090a8f4f66c34f07d997c1f3405d31554ebb0d7c5791209713d236ee329714b452d69e474bda13f2ad7fb0c4b9abb2a5112ed36acffdee51371 SHA512 5aba1d587b2f61cc7aa6aa7b1eb37990a2385d51fac92945aa3e991616617c73f6fbe71af3a06a219323ff4656f78c2d27f582e60ea97171b88c0197899845f1
|
||||
DIST sublime_text_build_4152_x64.tar.xz 16454288 BLAKE2B b6fa58c94cc24214abe5b3d85abdf850b8cd116001a739a9d1ddcb3fab70913882c7731dc4a856c32979695f77b1465e2e7ec0785255a1ced9b55637f2c30368 SHA512 447a3219841150e22c66b45c8a6d0415e1b309512764060f4310c7f685c93a5b4cba2dd7f202ced01f2a3d910c30784bbf5bbb85bae915296845005a69b0bdf4
|
||||
DIST sublime_text_build_4166_x64.tar.xz 16572860 BLAKE2B ede62590f2913edd644b02dfd9e14fd68ac0387bc75946c1206dd7709f985ce6b584ce8f74f05c3961d2ea43590a084e2947c9586c16ced40cccfd82a3847e5a SHA512 a4e5a957160cc47e6c5fc71f3162edea5d6fe03e6a7af33f52074a49dbbd2cd49460b35e0924d38d4083561291469bc0ff43e7aea81232dbc97be6847612c4e1
|
||||
DIST sublime_text_build_4169_x64.tar.xz 16572760 BLAKE2B 1760e6a763b58e24c7360bb0068704b820b0ba91169c1e80b9b46ca728eaedd04bd2bca75d602b24034fff895c093131d30209c48c3e7b1c56941da7cf1d3296 SHA512 6764363f8f92f65532d64ba014023e28b18f40dc62a1b114239b59360257d445494f9a2f57580174b5f4994c8fa06cd8f562c9419cfda92324c9ebf25d15e576
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
# get the major version from PV
|
||||
MV=${PV:0:1}
|
||||
MY_PV=${PV#*_p}
|
||||
|
||||
DESCRIPTION="Sophisticated text editor for code, markup and prose"
|
||||
HOMEPAGE="https://www.sublimetext.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x64.tar.bz2 )
|
||||
x86? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x32.tar.bz2 )"
|
||||
|
||||
LICENSE="Sublime"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
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 )"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
S="${WORKDIR}/sublime_text_${MV}"
|
||||
|
||||
# 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/${PN}${MV}
|
||||
doins -r Packages Icon
|
||||
doins changelog.txt sublime_plugin.py sublime.py python3.3.zip
|
||||
|
||||
exeinto /opt/${PN}${MV}
|
||||
doexe crash_reporter plugin_host sublime_text
|
||||
dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl
|
||||
|
||||
local size
|
||||
for size in 16 32 48 128 256; do
|
||||
dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \
|
||||
/usr/share/icons/hicolor/${size}x${size}/apps/subl.png
|
||||
done
|
||||
|
||||
make_desktop_entry "subl %F" "Sublime Text ${MV}" subl \
|
||||
"TextEditor;IDE;Development" "StartupNotify=true"
|
||||
|
||||
# needed to get WM_CLASS lookup right
|
||||
mv "${ED}"/usr/share/applications/subl{-sublime-text,}.desktop || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -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.'
|
||||
}
|
||||
@@ -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.'
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2023 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 libsqlite3.so 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.'
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2023 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 libsqlite3.so sublime_text.desktop
|
||||
|
||||
# sublime_merge looks for /opt/sublime_text/sublime_text
|
||||
exeinto /opt/${MY_PN}
|
||||
doexe crash_handler 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.'
|
||||
}
|
||||
Reference in New Issue
Block a user