app-editors/vscodium: renamed to app-editors/vscodium-bin

This commit is contained in:
Xenhat Hex 2020-03-02 03:34:26 +00:00
parent 143333ca8e
commit 5048a84e72
No known key found for this signature in database
GPG Key ID: 03FE57ED1424AB4D
8 changed files with 21 additions and 186 deletions

View File

@ -0,0 +1 @@
DIST vscodium-bin-1.42.0.tar.gz 83258776 BLAKE2B dd910935cbd0ce341271f40c06c7e178213dcb705d589393ef74ca9635ec7406c2f5482286843fe8c9949c45cfac03b9ce258b3a4a0757759410a4b379df7216 SHA512 8b31690b1344fd24ac22f7fe867a1f85216026ea52fe595b02cb6e66d9328125cef6cd3e94736beb45e4471034fe2ac80b2ac5540efd981896231e1e17472f0f

View File

@ -41,9 +41,9 @@ src_install() {
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/codium" "/usr/bin/codium"
make_desktop_entry "codium" "VSCodium" "codium" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium.png
dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"

View File

@ -1,4 +0,0 @@
DIST vscodium-1.40.0.tar.gz 82115288 BLAKE2B 883d0261e5f9c4cbf3c53dcc544034250a9c08142cd1b1de1e86c5ccf249b0e4aa0b965550b9aed170c1f3f856b3f3051d57a3e07c9a080facb293b18baf5a78 SHA512 fc401773d36bc6138f4124ba6c7aa3fb1f13d85f20cbb4dced9be0b79185e2809c162538c9dc6761f2658b01a1948aa2dfd06bda462c6df17cb3bd8b3c94864f
DIST vscodium-1.40.2.tar.gz 82114630 BLAKE2B af206dfb4486c1a87268d3cbd25053f8d9af3e6e18852e50e26b306400ffec36695a7e3583fbd2bab8dd12b6161f31a6a09aba4b4c446870b461b3c182eff162 SHA512 81b4f216031996995d8f8d9a50e16d978959ebe7e3cfc1fce429492f8ff531eb109c38f166686e25555adf023d6c90173a682772f3a9f367c73ec960873446a0
DIST vscodium-1.41.1.tar.gz 83085072 BLAKE2B 89527141d73cc9bdd8cf8b2a1c9641f2e3a1d2d27cd9fa5e140fdd0814fd17f4f95a724149c57bdb1fb151bcc417906e8999b00c4cbfd2e69cc4b66ec37c010c SHA512 0c9b451aa65000ea692bc150c756c1b38b109b85e46619e2562b278fe93610d14558e2a7ff636adce45c7b9f247f37e88ca535536f5bd78f35dba5be4c18459c
DIST vscodium-1.42.0.tar.gz 83258776 BLAKE2B dd910935cbd0ce341271f40c06c7e178213dcb705d589393ef74ca9635ec7406c2f5482286843fe8c9949c45cfac03b9ce258b3a4a0757759410a4b379df7216 SHA512 8b31690b1344fd24ac22f7fe867a1f85216026ea52fe595b02cb6e66d9328125cef6cd3e94736beb45e4471034fe2ac80b2ac5540efd981896231e1e17472f0f

View File

@ -1,60 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46:0
>=x11-libs/gtk+-3.0:3
x11-libs/cairo
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
>=net-print/cups-2.0.0
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="
opt/${PN}/code
"
S="${WORKDIR}"
src_install() {
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/codium" "/usr/bin/${PN}"
dosym "/opt/${PN}/bin/codium" "/usr/bin/codium"
make_desktop_entry "${PN}" "VSCodium" "${PN}" "Development;IDE"
newicon "resources/app/resources/linux/code.png" ${PN}.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"
insinto "/usr/share/licenses/${PN}"
}
pkg_postinst() {
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}

View File

@ -1,60 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46:0
>=x11-libs/gtk+-3.0:3
x11-libs/cairo
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
>=net-print/cups-2.0.0
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="
opt/${PN}/code
"
S="${WORKDIR}"
src_install() {
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/codium" "/usr/bin/${PN}"
dosym "/opt/${PN}/bin/codium" "/usr/bin/codium"
make_desktop_entry "${PN}" "VSCodium" "${PN}" "Development;IDE"
newicon "resources/app/resources/linux/code.png" ${PN}.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"
insinto "/usr/share/licenses/${PN}"
}
pkg_postinst() {
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}

View File

@ -1,59 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46:0
>=x11-libs/gtk+-3.0:3
x11-libs/cairo
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
>=net-print/cups-2.0.0
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="
opt/${PN}/code
"
S="${WORKDIR}"
src_install() {
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/codium" "/usr/bin/codium"
make_desktop_entry "codium" "VSCodium" "codium" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"
insinto "/usr/share/licenses/${PN}"
}
pkg_postinst() {
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}

View File

@ -0,0 +1,17 @@
Title: renamed vscodium to vscodium-bin
Author: XenHat <me@xenh.at>
Content-Type: text/plain
Posted: 2020-03-02
Revision: 1
News-Item-Format: 2.0
Display-If-Installed: app-editors/vscodium
To conform with the package naming guidelines, vscodium has been renamed to
vscodium-bin, as the package being merged is not actually built from source.
Simply unmerge vscodium and emerge vscodium-bin:
# emerge --unmerge vscodium
# emerge vscodium-bin
Happy coding!