app-editors/vscodium-bin: bump to 1.52.1; drop old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2021-01-08 23:09:22 +01:00
parent 0347afafc7
commit a6dc252098
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 34 additions and 92 deletions

View File

@ -1,4 +1,3 @@
DIST vscodium-bin-1.44.1.tar.gz 90736532 BLAKE2B ac0ce5d0e1ec8adce9fb665ca9782a623bb0a90ff302439612a3f09a96f86bdea4b85e4eaae60a3d432a37b9e0717925e2e6768a747108b2c788effa94ee29b9 SHA512 692b5e00cf2ec29f24e0da6cbdf1def11051299a460611cd8fd46f85be55e9a5cf45b70617b5cc8b037bd3c158984a609b107360ed2055957869c68ba9787e47
DIST vscodium-bin-1.44.2.tar.gz 90734547 BLAKE2B 7800f11dfb0bdd9ce1b85ad17960902be363efa816b8ff9f923f3ff31b557c3e61ad8dbb3eab28ac0e8deb9e892719ac17dc33bbe34b1add2b920e11a6f70388 SHA512 aa681bf4fa5f571349d50be85d1c4b75c57d369a14c4c1a9827d90d36e189f2aee72f02a6b0a4aba0973cb9937c02d66a34398c820f4bd13b8b41c653badf9f9
DIST vscodium-bin-1.49.0.tar.gz 97489317 BLAKE2B 0ccc3b703688166420646453d77409e188197c0b52ac8df0be5ccc6a894607502927a34664ce0fb86f1159f7607a45bb8056056e0cd1045f5d8ecbaf34cb7f31 SHA512 93d66adb0e0adbd95d06ac0f0f3356522d95bfce96db9e253b474e5665f4b9228dc719504e8e0ab811b9c1b6a3d8b3a1732181bcb3b2acfe9ed9693c6c0ae3f1 DIST vscodium-bin-1.49.0.tar.gz 97489317 BLAKE2B 0ccc3b703688166420646453d77409e188197c0b52ac8df0be5ccc6a894607502927a34664ce0fb86f1159f7607a45bb8056056e0cd1045f5d8ecbaf34cb7f31 SHA512 93d66adb0e0adbd95d06ac0f0f3356522d95bfce96db9e253b474e5665f4b9228dc719504e8e0ab811b9c1b6a3d8b3a1732181bcb3b2acfe9ed9693c6c0ae3f1
DIST vscodium-bin-1.50.0.tar.gz 97501359 BLAKE2B d018ccc6f74bcb641070332934b32796c4b82b56c9865f5d56772ea7dfa71d3ff99697bde7e2a3c2d3bb2243c26c881abd20a9ab28ddd0b250b2112cee929cf3 SHA512 63281fe8c3d3fb4a816162a6483552b289e3f8738dc00e979e50baa9e8fba28ed84909adbad228cd3f249f3c7b295ec13da5c64ff8beb69f3a630e78ffca14de DIST vscodium-bin-1.50.0.tar.gz 97501359 BLAKE2B d018ccc6f74bcb641070332934b32796c4b82b56c9865f5d56772ea7dfa71d3ff99697bde7e2a3c2d3bb2243c26c881abd20a9ab28ddd0b250b2112cee929cf3 SHA512 63281fe8c3d3fb4a816162a6483552b289e3f8738dc00e979e50baa9e8fba28ed84909adbad228cd3f249f3c7b295ec13da5c64ff8beb69f3a630e78ffca14de
DIST vscodium-bin-1.52.1.tar.gz 96026417 BLAKE2B 0d06ddef0de3af3d22de4757bd5b81742cdfb6605192c61374857fdacfd8df374adf180aaa1f31f0397ead97e7f668320125ef1f806c71689348ac4a3c8bab8d SHA512 9a60f6821e7a796eaca842817fd3853c8099d74418ccabeacabed01c4f7b46b49c52bb11a032c317c27e3cef7ef2c49d2cf967ca2d2d79013790994a6aa9159f

View File

@ -1,10 +1,17 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<use> <use>
<flag name="libsecret">Enable libsecret support</flag> <flag name="libsecret">Enable libsecret support</flag>
</use> </use>
<upstream> <upstream>
<remote-id type="github">VSCodium/vscodium</remote-id> <remote-id type="github">VSCodium/vscodium</remote-id>
</upstream> </upstream>
<longdescription>
Binary releases of VS Code without MS branding / telemetry / licensing.
</longdescription>
</pkgmetadata> </pkgmetadata>

View File

@ -1,63 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils xdg
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
dev-libs/nss
x11-libs/libXScrnSaver
x11-libs/libnotify
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-bin"
dosym "../../opt/${PN}/bin/codium" "/usr/bin/vscodium-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"
insinto "/usr/share/licenses/${PN}"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@ -1,15 +1,15 @@
# Copyright 1999-2020 Gentoo Authors # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
inherit desktop pax-utils xdg inherit desktop pax-utils xdg
DESCRIPTION="Open Source Software Binaries of VSCode" DESCRIPTION="Open Source Software binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium" 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" SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist" RESTRICT="bindist mirror strip test"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
@ -25,6 +25,7 @@ RDEPEND="
${DEPEND} ${DEPEND}
>=net-print/cups-2.0.0 >=net-print/cups-2.0.0
dev-libs/nss dev-libs/nss
sys-apps/ripgrep
x11-libs/libXScrnSaver x11-libs/libXScrnSaver
x11-libs/libnotify x11-libs/libnotify
libsecret? ( libsecret? (
@ -32,32 +33,30 @@ RDEPEND="
) )
" "
QA_PRESTRIPPED="
opt/${PN}/code
"
S="${WORKDIR}" S="${WORKDIR}"
src_prepare() {
default
# Unbundle ripgrep
rm "resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" || die
}
src_install() { src_install() {
pax-mark m code pax-mark m code
insinto "/opt/${PN}" insinto "/opt/${PN}"
doins -r * doins -r *
dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin"
dosym "../../opt/${PN}/bin/codium" "/usr/bin/vscodium-bin" dosym "../../opt/${PN}/bin/codium" "${EPREFIX}/usr/bin/codium-bin"
dosym "../../opt/${PN}/bin/codium" "${EPREFIX}/usr/bin/vscodium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE" make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png 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}/bin/codium"
fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" fperms +x "/opt/${PN}/chrome-sandbox"
insinto "/usr/share/licenses/${PN}" fperms +x "/opt/${PN}/codium"
}
pkg_postinst() { dosym "../../usr/bin/rg" "${EPREFIX}/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
} }