diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-10 00:05:51 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-10 00:38:13 -0600 |
commit | b777930e7e727ba62e2acc2553e431f579215a75 (patch) | |
tree | 12fc119d930bec287ee43ca8c6270d0ba28f2f03 /www-apps | |
parent | net-misc/maestral: drop 1.9.4_rc1 (diff) | |
download | guru-b777930e7e727ba62e2acc2553e431f579215a75.tar.gz guru-b777930e7e727ba62e2acc2553e431f579215a75.tar.bz2 guru-b777930e7e727ba62e2acc2553e431f579215a75.zip |
www-apps/code-server-bin: drop old versions
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/code-server-bin/Manifest | 12 | ||||
-rw-r--r-- | www-apps/code-server-bin/code-server-bin-4.14.1.ebuild | 107 | ||||
-rw-r--r-- | www-apps/code-server-bin/code-server-bin-4.15.0.ebuild | 107 | ||||
-rw-r--r-- | www-apps/code-server-bin/code-server-bin-4.16.0.ebuild | 107 | ||||
-rw-r--r-- | www-apps/code-server-bin/code-server-bin-4.16.1.ebuild | 107 | ||||
-rw-r--r-- | www-apps/code-server-bin/code-server-bin-4.17.0.ebuild | 101 | ||||
-rw-r--r-- | www-apps/code-server-bin/code-server-bin-4.17.1.ebuild | 101 |
7 files changed, 0 insertions, 642 deletions
diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest index b905918d4..1a72854a9 100644 --- a/www-apps/code-server-bin/Manifest +++ b/www-apps/code-server-bin/Manifest @@ -1,15 +1,3 @@ -DIST code-server-4.14.1-linux-amd64.tar.gz 98672270 BLAKE2B 9b7389b3578209391ac0c4a622e4e9a8bdb2bfcbc3f9eda5b26264b122273777819d097f6fa03114429a7bdc4ab7ac943bb104683b5867e3df248171551548d9 SHA512 1d70f5dbc4f4605d5fd254df117d34c8b05fc33085c27c909f8ec73d5ef9a3d71bb11617b38a6fa3dc32138c6df92db0555c14ede814b6868cb43acec182c70a -DIST code-server-4.14.1-linux-arm64.tar.gz 97486113 BLAKE2B d918d2a7f5f0be73f26408d9bb0f4a499d98044da58b19dce1146508c9a68cdf8abfb577789a70fc15658c2265b1fc548f9ed96fbf69859a5993d0218d3cca0f SHA512 70db38d528ea24446859eab61c9a502e901dc325f15a50bc5788acf42bd49e29750350748a1534dbaaceb59fd1654d43e2092a481fae0768916031d07ad1e501 -DIST code-server-4.15.0-linux-amd64.tar.gz 99499811 BLAKE2B b14a712624d312190be8320103f156fdefb99ab0990e11a555e3d2eb647bd28b7296e55ce9080d4b642ae1eda3780db6e6ab24310635ec1b714e7df7749250f9 SHA512 5c825ef33458bc7d8cb53657d7160dd01afe6fda4ce9f5dadcb9e977ab921dd092320c3e8bb1120543782a1591745dc46e712e87964f1abcc5fcc554566f9193 -DIST code-server-4.15.0-linux-arm64.tar.gz 98256392 BLAKE2B 0a9391ab69139e8674fe0f408bc98946e50114239d08bcb152f617fba2bbf42601432c05861e19fff1500574f8d54df4b1d768898c381fe31d518f0d2d8886f5 SHA512 95f0a1ac33ef0280f3195fbf0563f8e5f3d3fce18991758edf095dec52cd501769951b4905a83fcb100b0c5aec8db29feea6cb992e945b4f4447e56be26df2db -DIST code-server-4.16.0-linux-amd64.tar.gz 99495017 BLAKE2B 3d4afbc0d64bc31bd1caf4457fcd39e161ba2036085494c23f3b125975e8f2d2f56e458474781c3cad950634831b53c8da4d8e9128700fec8489cfe6f528e0cf SHA512 8c0f694671b050f020deed8247b14a480ae5a5855cb99c4c1c86ba248119cf0e34b4653a5a26237cd769ff4fb7e20438e45bc0bb31151fbd16f2fcb35caab7ee -DIST code-server-4.16.0-linux-arm64.tar.gz 98257595 BLAKE2B 907cb8d0fd15e81eef3ed3cfa93018f289536cea480212424d89c90624dcd1bee3563008565fb8641fb2859989c211c1d1d791c42bf068e53bd43f71ecfa9eb5 SHA512 abc69af88743029d3bc2f1f4f7f2f46f671929f61dd193a531afba96bf678454b8ea0794709100aab5c6dbf86382bd9edb94582a2e6426219851e40e86bd489a -DIST code-server-bin-4.16.1-amd64.tar.gz 99495970 BLAKE2B 361c07e00ba297b2a901a133685b53d31e3804ce31c21b279619d61ae867c91261f8af9d1049a6467a87e5f355b32177207e68bdd970788e7ba8ac653deade6f SHA512 d0f657a6e1a455d8d5155174ac7700f5562513dccb816333286221d881346cbc837b3fdb1562966249535d975c017cd5f4f0dada2526517ad2622d945f2bd665 -DIST code-server-bin-4.16.1-arm64.tar.gz 98260104 BLAKE2B bc889fdfe577b7115d2a6411354b915b3da02a1a22bdf576aba99ade9819a613ec76d4b26130d06c49e8e42eeb3e3fdf40a89b1910e43f3704761494d315f3d9 SHA512 f9bd711fe2334501bf339c2bed73a9411d898bf44dd34cf0ff7a476b74ae7397032186aca3c911321ce6808cecb3e67f244eee58a55a50ae9c62d9fe65b39c28 -DIST code-server-bin-4.17.0-amd64.tar.gz 96605967 BLAKE2B 631bb923170d4530596d313540df4f96fbd4c6ab481206de6106880772645d953731bec15b391201d9da5e87fb34350456f6301b7db4a2b4489c393bc82c53d8 SHA512 5b2d2ae4bef758364fa8080ac4fb6f60a2136d616f76ffe09e64de51c2046c5d3ff86425ce02d6cce32e91c0ceeb9391e3e86e2ef852db5c9b9a4cf8ba2b9d79 -DIST code-server-bin-4.17.0-arm64.tar.gz 95927302 BLAKE2B 8953ef7979eb35ddadc4238f631c385a2343fef93501e83387b6cb85575c5bb2dbbcd895bb11c0eb4ebf39980eebd4f93eef21881c1aa9c931605134e84a1df4 SHA512 6448e715a5541e38bf0bc75eafe6c2c5edc6e4628350531b0021139aaa40bd13dface37f79bad6009cd1932695468043953fede5507e9c7b6825ca7ae33c6f90 -DIST code-server-bin-4.17.1-amd64.tar.gz 96252118 BLAKE2B 6509997725e316454538ba470aee204119b2cd3dcdb3d4c4e774691f512253111b5bde3d2eb84731ae05c0ff61fcaa422c8cde5004a3e173c363353deffd0d2e SHA512 0c47af00c8e9d6d04ab218836ed1f2cc71ef94bd4c83aa1fdd670b9b967747cdae856290bf7a3fcde0b27b2117dd287a9bd711366d22b80304fe2031449f82c8 -DIST code-server-bin-4.17.1-arm64.tar.gz 96460530 BLAKE2B a7150628b67183cb0e8350a4718e99c0e42c18217221846ed18c50545cdac4a5e94cdeb45580de35cbaf35d6abae5d981e3ba96006fc133861084171bf1db04a SHA512 a4181d1560e0d3d4ef3af5d7cf186d312b807cf81c708816132891c4453d0884ebbd9130363ec688168e4b226d061c0c3af4eab6b78cb067b2246e6a99aab8eb DIST code-server-bin-4.18.0-amd64.tar.gz 96325604 BLAKE2B b227866908496cebb44dbe779433751e406b5e6fcd787eb4e04618bccfef512452f0bfc9adbb431eb7834b6ce88f7383d038e8810ef11f5ec37dca7055a0677d SHA512 ebd3538defcebb166627a55993ddff1825400fb7172f46f80afbeeb0333912f5cf2919d9b36305d761686d49c59333c90e3160c1365a5a57c2b223ceb1b2e341 DIST code-server-bin-4.18.0-arm64.tar.gz 96445800 BLAKE2B 4504f71005f090a5317990e5559f7806b5d8135c511c25d037f58d5fba154c8463c69bf174bb975b307907983f3b042350b035efe5962518124709e159e35da5 SHA512 357de541a23b2cec3a2ec66b6093e55f1cc7793544f84609b60f83395a78497a7b1471a566418c57f2411b3e895a6ffb859649a65d046784824be1fccac2520b DIST code-server-bin-4.19.1-amd64.tar.gz 96311589 BLAKE2B 291b186bf926ea6ecc4d056e73ff6d29eba70f2b94fe47de547c81ed695f5725a12165588f38ce87c713a55d1270c4636dc8069262d7b2c9e607feadb2aa7153 SHA512 c5490953c2918927b124d51c74f10ab25a8e2fefea4ed96d403ec6590a1f516721e98a4c435632652f42fcb9cef68ce4590f6eb9ca2de7eac92d7e08e2f1c1d5 diff --git a/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild deleted file mode 100644 index e2684ffe0..000000000 --- a/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" -MY_P="${MY_PN}-${PV}" -BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" - -inherit systemd - -DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" -HOMEPAGE="https://coder.com/" -SRC_URI=" - amd64? ( ${BASE_URI}-amd64.tar.gz ) - arm64? ( ${BASE_URI}-arm64.tar.gz ) -" - -S="${WORKDIR}/${MY_P}-linux-${ARCH}" - -LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+ - || ( BSD-2 MIT Apache-2.0 ) - || ( MIT WTFPL ) - || ( BSD GPL-2 ) -" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RESTRICT="test" - -RDEPEND=" - ${DEPEND} - >=net-libs/nodejs-16.0.0[ssl] - sys-apps/ripgrep - app-crypt/libsecret -" - -PATCHES=( "${FILESDIR}/${PN}-node.patch" ) - -DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" ) - -QA_PREBUILT="*" - -# Relative -VSCODE_MODULES="lib/vscode/node_modules" - -QA_PRESTRIPPED=" - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node -" - -src_prepare() { - default - - # We remove as much precompiled code as we can, - # node modules not written in JS cannot be removed - # thus "-bin". - - # use system node - rm ./lib/node || die "Failed to remove bundled nodejs" - - # remove bundled ripgrep binary - rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \ - || die "Failed to remove bundled ripgrep" - - # Only required at build time - find "${S}" -type l -name python3 -delete || die - - # not needed - rm ./postinstall.sh || die - - # For windows - rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die - - if [[ $ELIBC != "musl" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die - elif [[ $ELIBC != "glibc" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die - fi - - rm -r ./lib/vscode/extensions/node_modules/.bin || die -} - -src_install() { - einstalldocs - - insinto "/opt/${PN}" - doins -r . - fperms +x "/opt/${PN}/bin/${MY_PN}" - dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}" - dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}" - - dosym -r "/usr/bin/rg" \ - "${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg" - - systemd_douserunit "${FILESDIR}/${PN}.service" - newinitd "${FILESDIR}/${PN}.rc" "${PN}" - newconfd "${FILESDIR}/${PN}.conf" "${PN}" -} - -pkg_postinst() { - elog "When using code-server systemd service run it as a user" - elog "For example: 'systemctl --user enable --now code-server'" -} diff --git a/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild deleted file mode 100644 index e2684ffe0..000000000 --- a/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" -MY_P="${MY_PN}-${PV}" -BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" - -inherit systemd - -DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" -HOMEPAGE="https://coder.com/" -SRC_URI=" - amd64? ( ${BASE_URI}-amd64.tar.gz ) - arm64? ( ${BASE_URI}-arm64.tar.gz ) -" - -S="${WORKDIR}/${MY_P}-linux-${ARCH}" - -LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+ - || ( BSD-2 MIT Apache-2.0 ) - || ( MIT WTFPL ) - || ( BSD GPL-2 ) -" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RESTRICT="test" - -RDEPEND=" - ${DEPEND} - >=net-libs/nodejs-16.0.0[ssl] - sys-apps/ripgrep - app-crypt/libsecret -" - -PATCHES=( "${FILESDIR}/${PN}-node.patch" ) - -DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" ) - -QA_PREBUILT="*" - -# Relative -VSCODE_MODULES="lib/vscode/node_modules" - -QA_PRESTRIPPED=" - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node -" - -src_prepare() { - default - - # We remove as much precompiled code as we can, - # node modules not written in JS cannot be removed - # thus "-bin". - - # use system node - rm ./lib/node || die "Failed to remove bundled nodejs" - - # remove bundled ripgrep binary - rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \ - || die "Failed to remove bundled ripgrep" - - # Only required at build time - find "${S}" -type l -name python3 -delete || die - - # not needed - rm ./postinstall.sh || die - - # For windows - rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die - - if [[ $ELIBC != "musl" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die - elif [[ $ELIBC != "glibc" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die - fi - - rm -r ./lib/vscode/extensions/node_modules/.bin || die -} - -src_install() { - einstalldocs - - insinto "/opt/${PN}" - doins -r . - fperms +x "/opt/${PN}/bin/${MY_PN}" - dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}" - dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}" - - dosym -r "/usr/bin/rg" \ - "${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg" - - systemd_douserunit "${FILESDIR}/${PN}.service" - newinitd "${FILESDIR}/${PN}.rc" "${PN}" - newconfd "${FILESDIR}/${PN}.conf" "${PN}" -} - -pkg_postinst() { - elog "When using code-server systemd service run it as a user" - elog "For example: 'systemctl --user enable --now code-server'" -} diff --git a/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild deleted file mode 100644 index e2684ffe0..000000000 --- a/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" -MY_P="${MY_PN}-${PV}" -BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" - -inherit systemd - -DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" -HOMEPAGE="https://coder.com/" -SRC_URI=" - amd64? ( ${BASE_URI}-amd64.tar.gz ) - arm64? ( ${BASE_URI}-arm64.tar.gz ) -" - -S="${WORKDIR}/${MY_P}-linux-${ARCH}" - -LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+ - || ( BSD-2 MIT Apache-2.0 ) - || ( MIT WTFPL ) - || ( BSD GPL-2 ) -" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RESTRICT="test" - -RDEPEND=" - ${DEPEND} - >=net-libs/nodejs-16.0.0[ssl] - sys-apps/ripgrep - app-crypt/libsecret -" - -PATCHES=( "${FILESDIR}/${PN}-node.patch" ) - -DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" ) - -QA_PREBUILT="*" - -# Relative -VSCODE_MODULES="lib/vscode/node_modules" - -QA_PRESTRIPPED=" - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node -" - -src_prepare() { - default - - # We remove as much precompiled code as we can, - # node modules not written in JS cannot be removed - # thus "-bin". - - # use system node - rm ./lib/node || die "Failed to remove bundled nodejs" - - # remove bundled ripgrep binary - rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \ - || die "Failed to remove bundled ripgrep" - - # Only required at build time - find "${S}" -type l -name python3 -delete || die - - # not needed - rm ./postinstall.sh || die - - # For windows - rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die - - if [[ $ELIBC != "musl" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die - elif [[ $ELIBC != "glibc" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die - fi - - rm -r ./lib/vscode/extensions/node_modules/.bin || die -} - -src_install() { - einstalldocs - - insinto "/opt/${PN}" - doins -r . - fperms +x "/opt/${PN}/bin/${MY_PN}" - dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}" - dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}" - - dosym -r "/usr/bin/rg" \ - "${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg" - - systemd_douserunit "${FILESDIR}/${PN}.service" - newinitd "${FILESDIR}/${PN}.rc" "${PN}" - newconfd "${FILESDIR}/${PN}.conf" "${PN}" -} - -pkg_postinst() { - elog "When using code-server systemd service run it as a user" - elog "For example: 'systemctl --user enable --now code-server'" -} diff --git a/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild deleted file mode 100644 index 177cd81c5..000000000 --- a/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" -MY_P="${MY_PN}-${PV}" -BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" - -inherit systemd - -DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" -HOMEPAGE="https://coder.com/" -SRC_URI=" - amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz ) - arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz ) -" - -S="${WORKDIR}/${MY_P}-linux-${ARCH}" - -LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON GPL-2 0BSD" -LICENSE+=" LGPL-2.1+ - || ( MIT WTFPL ) - || ( BSD-2 MIT Apache-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RESTRICT="test" - -RDEPEND=" - ${DEPEND} - >=net-libs/nodejs-16.0.0[ssl] - sys-apps/ripgrep - app-crypt/libsecret -" - -PATCHES=( "${FILESDIR}/${PN}-node.patch" ) - -DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" ) - -QA_PREBUILT="*" - -# Relative -VSCODE_MODULES="lib/vscode/node_modules" - -QA_PRESTRIPPED=" - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node -" - -src_prepare() { - default - - # We remove as much precompiled code as we can, - # node modules not written in JS cannot be removed - # thus "-bin". - - # use system node - rm ./lib/node || die "Failed to remove bundled nodejs" - - # remove bundled ripgrep binary - rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \ - || die "Failed to remove bundled ripgrep" - - # Only required at build time - find "${S}" -type l -name python3 -delete || die - - # not needed - rm ./postinstall.sh || die - - # For windows - rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die - - if [[ $ELIBC != "musl" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die - elif [[ $ELIBC != "glibc" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die - fi - - rm -r ./lib/vscode/extensions/node_modules/.bin || die -} - -src_install() { - einstalldocs - - insinto "/opt/${PN}" - doins -r . - fperms +x "/opt/${PN}/bin/${MY_PN}" - dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}" - dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}" - - dosym -r "/usr/bin/rg" \ - "${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg" - - systemd_douserunit "${FILESDIR}/${PN}.service" - newinitd "${FILESDIR}/${PN}.rc" "${PN}" - newconfd "${FILESDIR}/${PN}.conf" "${PN}" -} - -pkg_postinst() { - elog "When using code-server systemd service run it as a user" - elog "For example: 'systemctl --user enable --now code-server'" -} diff --git a/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild deleted file mode 100644 index 56d038b6d..000000000 --- a/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" -MY_P="${MY_PN}-${PV}" -BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" - -inherit systemd - -DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" -HOMEPAGE="https://coder.com/" -SRC_URI=" - amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz ) - arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz ) -" -S="${WORKDIR}/${MY_P}-linux-${ARCH}" - -LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD" -LICENSE+=" LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -RESTRICT="test" - -RDEPEND=" - app-crypt/libsecret - >=net-libs/nodejs-18.0.0[ssl] - sys-apps/ripgrep - virtual/krb5 -" - -PATCHES=( "${FILESDIR}/${PN}-node.patch" ) - -DOCS=( README.md ThirdPartyNotices.txt ) - -QA_PREBUILT="*" - -# Relative -VSCODE_MODULES="lib/vscode/node_modules" -QA_PRESTRIPPED=" - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node -" - -src_prepare() { - default - - # We remove as much precompiled code as we can, - # node modules not written in JS cannot be removed - # thus "-bin". - - # use system node - rm ./lib/node || die "Failed to remove bundled nodejs" - - # remove bundled ripgrep binary - rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \ - || die "Failed to remove bundled ripgrep" - - # Only required at build time - find "${S}" -type l -name python3 -delete || die - - # not needed - rm ./postinstall.sh || die - - # For windows - rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die - - if [[ $ELIBC != "musl" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die - elif [[ $ELIBC != "glibc" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die - fi - - rm -r ./lib/vscode/extensions/node_modules/.bin || die -} - -src_install() { - einstalldocs - - insinto "/opt/${PN}" - doins -r . - fperms +x "/opt/${PN}/bin/${MY_PN}" - dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}" - dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}" - - dosym -r "/usr/bin/rg" \ - "/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg" - - systemd_douserunit "${FILESDIR}/${PN}.service" - newinitd "${FILESDIR}/${PN}.rc" "${PN}" - newconfd "${FILESDIR}/${PN}.conf" "${PN}" -} - -pkg_postinst() { - elog "When using code-server systemd service run it as a user" - elog "For example: 'systemctl --user enable --now code-server'" -} diff --git a/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild deleted file mode 100644 index 56d038b6d..000000000 --- a/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" -MY_P="${MY_PN}-${PV}" -BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" - -inherit systemd - -DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" -HOMEPAGE="https://coder.com/" -SRC_URI=" - amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz ) - arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz ) -" -S="${WORKDIR}/${MY_P}-linux-${ARCH}" - -LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD" -LICENSE+=" LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -RESTRICT="test" - -RDEPEND=" - app-crypt/libsecret - >=net-libs/nodejs-18.0.0[ssl] - sys-apps/ripgrep - virtual/krb5 -" - -PATCHES=( "${FILESDIR}/${PN}-node.patch" ) - -DOCS=( README.md ThirdPartyNotices.txt ) - -QA_PREBUILT="*" - -# Relative -VSCODE_MODULES="lib/vscode/node_modules" -QA_PRESTRIPPED=" - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node -" - -src_prepare() { - default - - # We remove as much precompiled code as we can, - # node modules not written in JS cannot be removed - # thus "-bin". - - # use system node - rm ./lib/node || die "Failed to remove bundled nodejs" - - # remove bundled ripgrep binary - rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \ - || die "Failed to remove bundled ripgrep" - - # Only required at build time - find "${S}" -type l -name python3 -delete || die - - # not needed - rm ./postinstall.sh || die - - # For windows - rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die - - if [[ $ELIBC != "musl" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die - elif [[ $ELIBC != "glibc" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die - fi - - rm -r ./lib/vscode/extensions/node_modules/.bin || die -} - -src_install() { - einstalldocs - - insinto "/opt/${PN}" - doins -r . - fperms +x "/opt/${PN}/bin/${MY_PN}" - dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}" - dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}" - - dosym -r "/usr/bin/rg" \ - "/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg" - - systemd_douserunit "${FILESDIR}/${PN}.service" - newinitd "${FILESDIR}/${PN}.rc" "${PN}" - newconfd "${FILESDIR}/${PN}.conf" "${PN}" -} - -pkg_postinst() { - elog "When using code-server systemd service run it as a user" - elog "For example: 'systemctl --user enable --now code-server'" -} |