diff --git a/app-editors/vscodium-bin/Manifest b/app-editors/vscodium-bin/Manifest index 3e8781a..a684870 100644 --- a/app-editors/vscodium-bin/Manifest +++ b/app-editors/vscodium-bin/Manifest @@ -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.50.0.tar.gz 97501359 BLAKE2B d018ccc6f74bcb641070332934b32796c4b82b56c9865f5d56772ea7dfa71d3ff99697bde7e2a3c2d3bb2243c26c881abd20a9ab28ddd0b250b2112cee929cf3 SHA512 63281fe8c3d3fb4a816162a6483552b289e3f8738dc00e979e50baa9e8fba28ed84909adbad228cd3f249f3c7b295ec13da5c64ff8beb69f3a630e78ffca14de +DIST vscodium-bin-1.52.1.tar.gz 96026417 BLAKE2B 0d06ddef0de3af3d22de4757bd5b81742cdfb6605192c61374857fdacfd8df374adf180aaa1f31f0397ead97e7f668320125ef1f806c71689348ac4a3c8bab8d SHA512 9a60f6821e7a796eaca842817fd3853c8099d74418ccabeacabed01c4f7b46b49c52bb11a032c317c27e3cef7ef2c49d2cf967ca2d2d79013790994a6aa9159f diff --git a/app-editors/vscodium-bin/metadata.xml b/app-editors/vscodium-bin/metadata.xml index e0ed96d..48804f1 100644 --- a/app-editors/vscodium-bin/metadata.xml +++ b/app-editors/vscodium-bin/metadata.xml @@ -1,10 +1,17 @@ - - Enable libsecret support - - - VSCodium/vscodium - + + xgqt@protonmail.com + Maciej Barć + + + Enable libsecret support + + + VSCodium/vscodium + + + Binary releases of VS Code without MS branding / telemetry / licensing. + diff --git a/app-editors/vscodium-bin/vscodium-bin-1.44.2-r1.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.44.2-r1.ebuild deleted file mode 100644 index 134d6d6..0000000 --- a/app-editors/vscodium-bin/vscodium-bin-1.44.2-r1.ebuild +++ /dev/null @@ -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 -} diff --git a/app-editors/vscodium-bin/vscodium-bin-1.44.1-r1.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.52.1.ebuild similarity index 61% rename from app-editors/vscodium-bin/vscodium-bin-1.44.1-r1.ebuild rename to app-editors/vscodium-bin/vscodium-bin-1.52.1.ebuild index 134d6d6..b1e84e3 100644 --- a/app-editors/vscodium-bin/vscodium-bin-1.44.1-r1.ebuild +++ b/app-editors/vscodium-bin/vscodium-bin-1.52.1.ebuild @@ -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 EAPI=7 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" 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" SLOT="0" KEYWORDS="~amd64" @@ -25,6 +25,7 @@ RDEPEND=" ${DEPEND} >=net-print/cups-2.0.0 dev-libs/nss + sys-apps/ripgrep x11-libs/libXScrnSaver x11-libs/libnotify libsecret? ( @@ -32,32 +33,30 @@ RDEPEND=" ) " -QA_PRESTRIPPED=" - opt/${PN}/code -" - S="${WORKDIR}" +src_prepare() { + default + + # Unbundle ripgrep + rm "resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" || die +} + 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" + + 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" 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}" -} + fperms +x "/opt/${PN}/chrome-sandbox" + fperms +x "/opt/${PN}/codium" -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update + dosym "../../usr/bin/rg" "${EPREFIX}/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" }