diff options
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/Manifest.gz | bin | 13905 -> 13901 bytes | |||
-rw-r--r-- | app-editors/vscode/Manifest | 4 | ||||
-rw-r--r-- | app-editors/vscode/vscode-1.84.2.ebuild | 117 | ||||
-rw-r--r-- | app-editors/vscodium/Manifest | 4 | ||||
-rw-r--r-- | app-editors/vscodium/vscodium-1.84.1.23311.ebuild | 114 |
5 files changed, 239 insertions, 0 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz Binary files differindex 623ecbd81364..6da60c5b99d9 100644 --- a/app-editors/Manifest.gz +++ b/app-editors/Manifest.gz diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index 3a12b22681aa..908513f1e336 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -11,7 +11,11 @@ DIST vscode-1.84.0-arm64.tar.gz 132914793 BLAKE2B 6d8f1206f8feb8aff3dfb8e2e9f34d DIST vscode-1.84.1-amd64.tar.gz 135727521 BLAKE2B a0b6ab48842ec3359f0dd29244346edba4b1468a97daffa7247655509a2bffe80a7fe642180ce13ced1b7dbbe64b3bb43fb386e6094d60ae84278743890602d1 SHA512 2768a706d6acbd9f723d9b3da7a15ddead82f4c01b6ae69762713b9ad0beaa9b74df66041263b8853b1e97ce4cd9178230df21e71639136f035177fc660e9a28 DIST vscode-1.84.1-arm.tar.gz 122669562 BLAKE2B f0b6201ca18fc2ca8eb4ae20784d742ce841ee2672cbe39087350b031a16b9a0c6db0edb1e5cd54f969537c40d9b290a6da5d4dd9be268255b34cefef865c37b SHA512 2d5b0048c8865e536540e55d445676fa10ee391a6cf175173c40801c8ca6c5bd3b945aca2f8c89bd11b6284fcb2745a6bf7dae4008c41c09f9c760d9fbb28843 DIST vscode-1.84.1-arm64.tar.gz 132919962 BLAKE2B 354c03703f9238f8141d1e710fc6d14554f73c3f5cf1b1847fc9ad8bd508beab75b2c8d227b0b05d8b54a22a0f0662f60aad6e5669af70c59d42485f2cb570a2 SHA512 709cc5f413e9250206d59fb6dd2a73d0444bc4338b75f8150f1dec30aa73b2f169422acb517485be37eaa9c82976ebfe7edd0011ab7341c625717d867eded62d +DIST vscode-1.84.2-amd64.tar.gz 135719194 BLAKE2B ab4baf18195be20e9b1d05e7d832190deea4faba61e1fd0fde89b3bfb7fb6861a69608e79fb41ce7f3a29fe506297e163196375389ea2b4faaf9091592ac64b1 SHA512 b80c7824c4ac21e64c5751c67ff4308854baea732ed8250b5e4034dfe563803e8624b329c662414ca646ffb6d80ff8e5ff3c30fdcc58b34ea3377ef258b59d38 +DIST vscode-1.84.2-arm.tar.gz 122667743 BLAKE2B 6b9bc88041e055edc7653b98f20a847734f233bb1c727057bde7d140881929176ece1a9d811020548bbe18edab5ca712aa9dcd0857e18f1bf4e0b90624cb666f SHA512 25852b5e9195be2e2a089a9f360bf633c375338a0809ef8fe41ee0df14d1254e242312df9d7617eef074fa09d1c099dce96c655823d104214cc6054b8ec2a9a3 +DIST vscode-1.84.2-arm64.tar.gz 132930788 BLAKE2B 43bbde9ae80e1fad941fb89595d05385ff351165dec6fb6b87ba82ac437040b4c4a5e1086c82eb5ebda024597dface3e56511959396333763ba970f06c9ab6db SHA512 7a18365b23cd10270b9de5dbfab28703605d65862ff5ddf0c9f399e6df9b9f834b64b43f4b8ff0662fb07f3af307352f39420f4e8a2c68516e5223b9b42be602 EBUILD vscode-1.83.1-r1.ebuild 2634 BLAKE2B 43313f11568110b9600e748bb0c3796a4f80e1127b2be3c33511e4aa5289e9cd7d123e31f5806d69c7d71ee21aa9a145b4d1204a849a928e25aa47f24d82b07a SHA512 ac66706ad608ad775d771acdef27dc94f2f2a9c9a2b007ac608c456ef559888dea2c4a72a33eec073671d04f97c8000cc6a27c195084a72473f26222f7c56466 EBUILD vscode-1.84.0.ebuild 2634 BLAKE2B 43313f11568110b9600e748bb0c3796a4f80e1127b2be3c33511e4aa5289e9cd7d123e31f5806d69c7d71ee21aa9a145b4d1204a849a928e25aa47f24d82b07a SHA512 ac66706ad608ad775d771acdef27dc94f2f2a9c9a2b007ac608c456ef559888dea2c4a72a33eec073671d04f97c8000cc6a27c195084a72473f26222f7c56466 EBUILD vscode-1.84.1.ebuild 2634 BLAKE2B 43313f11568110b9600e748bb0c3796a4f80e1127b2be3c33511e4aa5289e9cd7d123e31f5806d69c7d71ee21aa9a145b4d1204a849a928e25aa47f24d82b07a SHA512 ac66706ad608ad775d771acdef27dc94f2f2a9c9a2b007ac608c456ef559888dea2c4a72a33eec073671d04f97c8000cc6a27c195084a72473f26222f7c56466 +EBUILD vscode-1.84.2.ebuild 2633 BLAKE2B aeebd05a630b5e9ab9593570466660b6e7fbf371f2cba638ed975b381bbdaf06ccbc43526105807c3853cb4cb65f0298360cceac4e710da3dc320d253482dbcb SHA512 da90cf7e0d1d136d422e53390dd2a6157389c4d0eed7ccb09a3733a229163732e8dbbb7bf7f811610324c9adfa2b1c812175d0944bb7dd639de6247560c739c7 MISC metadata.xml 1058 BLAKE2B cf7606233d99e4429debe5ef824f235f1ff3083ab5553030453e982bfb5860dd5ccecca3792319665835d604b6ff2cb53ebd885bb959236784c62885087750b2 SHA512 961552953336ad9606c9fc004fc3e0fb8d7481a017b6ba5da683db5ba989f58d474ccb4ea3a001851b2cfe705e7fe3f70ba01a14dd1f048523e73af522d50410 diff --git a/app-editors/vscode/vscode-1.84.2.ebuild b/app-editors/vscode/vscode-1.84.2.ebuild new file mode 100644 index 000000000000..dc88161cc376 --- /dev/null +++ b/app-editors/vscode/vscode-1.84.2.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" +HOMEPAGE="https://code.visualstudio.com" +SRC_URI=" + amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz ) + arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz ) + arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz ) +" +S="${WORKDIR}" + +LICENSE=" + Apache-2.0 + BSD + BSD-1 + BSD-2 + BSD-4 + CC-BY-4.0 + ISC + LGPL-2.1+ + Microsoft-vscode + MIT + MPL-2.0 + openssl + PYTHON + TextMate-bundle + Unlicense + UoI-NCSA + W3C +" +SLOT="0" +KEYWORDS="-* amd64 ~arm ~arm64" +IUSE="kerberos" +RESTRICT="mirror strip bindist" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/libcanberra[gtk3] + media-libs/libglvnd + media-libs/mesa + net-misc/curl + sys-apps/dbus + sys-libs/zlib + sys-process/lsof + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libnotify + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/pango + x11-misc/xdg-utils + kerberos? ( app-crypt/mit-krb5 ) +" + +QA_PREBUILT="*" + +src_install() { + if use amd64; then + cd "${WORKDIR}/VSCode-linux-x64" || die + elif use arm; then + cd "${WORKDIR}/VSCode-linux-armhf" || die + elif use arm64; then + cd "${WORKDIR}/VSCode-linux-arm64" || die + else + die "Visual Studio Code only supports amd64, arm and arm64" + fi + + # Cleanup + rm -r ./resources/app/ThirdPartyNotices.txt || die + + # Disable update server + sed -e "/updateUrl/d" -i ./resources/app/product.json || die + + if ! use kerberos; then + rm -r ./resources/app/node_modules.asar.unpacked/kerberos || die + fi + + # Install + pax-mark m code + mkdir -p "${ED}/opt/${PN}" || die + cp -r . "${ED}/opt/${PN}" || die + fperms 4711 /opt/${PN}/chrome-sandbox + + dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode" + dosym -r "/opt/${PN}/bin/code" "usr/bin/code" + domenu "${FILESDIR}/vscode.desktop" + domenu "${FILESDIR}/vscode-url-handler.desktop" + domenu "${FILESDIR}/vscode-wayland.desktop" + domenu "${FILESDIR}/vscode-url-handler-wayland.desktop" + newicon "resources/app/resources/linux/code.png" "vscode.png" +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "keyring support inside vscode" "virtual/secret-service" +} diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index c69020c5a000..833361904883 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -8,6 +8,10 @@ DIST vscodium-1.83.1.23285-arm64.tar.gz 122760275 BLAKE2B 8201036ab1e2ae3194813a DIST vscodium-1.84.0.23306-amd64.tar.gz 122367391 BLAKE2B c733718cd3690b7d888d9c3fa2065793de772af075f81468b0e850073dfa60b9c44f5f0adf9737bf57a7cb8a6c05a3733b35e6679d60e2922ee77181c88362ed SHA512 3142f6b38a2f9208163baa4fb419946acd2cbc0fdc75029ac34bbe852d40b70b29b3ae89b07d0545f15d9c3ff74988a049d91a746911c3719716161cbf203887 DIST vscodium-1.84.0.23306-arm.tar.gz 110987487 BLAKE2B a89faaf60cb7be961759bdcff81bb4151c879bf89e4b6b51016fb2501ba3c961074d1a834b8172086d5f3b15e7e96822f5393446dc81b2032766eca83478ec7b SHA512 c1a14372a732a4062a07894cc094f33daa6381814f19ac444cb60e31cbeeee33b1aac413e391cc3bd3d4aade0474fd8d0a93319e64fe652781b905e2b20d04cf DIST vscodium-1.84.0.23306-arm64.tar.gz 122742053 BLAKE2B 5fdb61dd123ee369f082fb5129ae4164c84001ff825f9e1f88e5809c13fa9fa4dc0626f139447d4c4775c942a9473c0259a28f642af601e306d305a9724a2cec SHA512 385c7bed64131d6721435e27b9e5d858b7aa09edcaf08f2fcf71988370b042f42005180c707259e5705afe0c7cfb5e8d14034e43bb7e71f1ef3ef29039db5427 +DIST vscodium-1.84.1.23311-amd64.tar.gz 122366765 BLAKE2B 1f2b8eca81956b9e8672e03fdecc2d0095c76c1e0ea6c0d46cb35b18f96467e3d8a0957cb477dfe2b574f753cd73360e81dd0e52bf59136f124497fdf7627663 SHA512 e84b4b559c857f5db6b90acc87fbe3ef347d92e14e09b465efe300d5c35c7061b4e0828cba338554a1e51ee6340bd86a537dd231cb1cc34b9e67bf50a1d6d6dc +DIST vscodium-1.84.1.23311-arm.tar.gz 110993946 BLAKE2B 60fb606d9cd0f85b9bf6e47db2316c380807fdd68225f4d16f2e967c7c62d1e5c9b1699376ec3f93c08da949e383a88c42e2d8809a4b13c2603f13983b377cc4 SHA512 a74e54d6197feaf29ae382f12d8923bd428c846efec01700542cfb31e4383f3801f361f315da65a42a5c820a93e13bc7b95a7a64901ba0f04fb5b4a6b90f3827 +DIST vscodium-1.84.1.23311-arm64.tar.gz 122738742 BLAKE2B ed388f7c1fca30609e12b5da80dc37386d1d64f9a391d5dc8633e4380629881a61a00e89bf96389397efb795f346dd621c19880b1940a97a51f6afedeb457ddd SHA512 a49f4be0ffd1892c1000bb417c9cf7879f563df98f29e7edd6dab2ba20963beb2cee0e775c8fbb22d86f2117cd3a4a380388804c8df6981ec8d6c6d036ee2c6d EBUILD vscodium-1.83.1.23285.ebuild 2479 BLAKE2B bfd70a1560fa1f619d545a1379a37c1d858e7c0115f4553bfa2845c0e7ead1ac5b6beebb0a9f76e21ad11311d232716d1de3f08027380be8b2a26edfc0dae79a SHA512 0f6bf99b2f6654664b0c7e7a772bddfbdec430b9d122d0c52a7fc34cbab8fe3b3ec9559ecc058b98b2a7f32dbb816b469e6902bf6df5207162bf37b79f6470fe EBUILD vscodium-1.84.0.23306.ebuild 2479 BLAKE2B bfd70a1560fa1f619d545a1379a37c1d858e7c0115f4553bfa2845c0e7ead1ac5b6beebb0a9f76e21ad11311d232716d1de3f08027380be8b2a26edfc0dae79a SHA512 0f6bf99b2f6654664b0c7e7a772bddfbdec430b9d122d0c52a7fc34cbab8fe3b3ec9559ecc058b98b2a7f32dbb816b469e6902bf6df5207162bf37b79f6470fe +EBUILD vscodium-1.84.1.23311.ebuild 2478 BLAKE2B 4e71f84b90267acfca80c80e05faa82e912eff082d759847bfbe9f7ff587da2a0b2c2ccaa0c8b8f8fd57261bc063e8ac07d5e0fe465706bf9c79835e8d0909c4 SHA512 31bc55bb1e0e3febd4a41aeafa5a74358d8720c0aa1950b79493ba002fc11604f5422e83b125c21da5a3dcb8e285219bd520d461b9e531cf3f68322bf72f65c4 MISC metadata.xml 1302 BLAKE2B ff0c1f72c2394f21e13b89831493df562ca15114fa5006262f794d3f2580deaad01d7e01f87481dcc75cc5044c8b4950955dcc3dbecbc8cfc7a6ceafaf078fb6 SHA512 8ec965d8544c2ab31e3c2f2f3c879b084126880603681fef5e5158af1bc1f2f79351b68284f6a101d486893f968594e1537df1eedeacdebffdf51de7a38ccb25 diff --git a/app-editors/vscodium/vscodium-1.84.1.23311.ebuild b/app-editors/vscodium/vscodium-1.84.1.23311.ebuild new file mode 100644 index 000000000000..13fca65036bb --- /dev/null +++ b/app-editors/vscodium/vscodium-1.84.1.23311.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +# Usage: arch_src_uri <gentoo arch> <upstream arch> +arch_src_uri() { + echo "${1}? ( + https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-${2}-${PV}.tar.gz + -> ${P}-${1}.tar.gz + )" +} + +DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" +HOMEPAGE="https://vscodium.com/" +SRC_URI=" + $(arch_src_uri amd64 x64) + $(arch_src_uri arm armhf) + $(arch_src_uri arm64 arm64) +" +S="${WORKDIR}" + +LICENSE=" + Apache-2.0 + BSD + BSD-1 + BSD-2 + BSD-4 + CC-BY-4.0 + ISC + LGPL-2.1+ + MIT + MPL-2.0 + openssl + PYTHON + TextMate-bundle + Unlicense + UoI-NCSA + W3C +" +SLOT="0" +KEYWORDS="-* amd64 ~arm ~arm64" +IUSE="kerberos" +RESTRICT="strip bindist" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/libcanberra[gtk3] + media-libs/libglvnd + media-libs/mesa + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/zlib + sys-process/lsof + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libnotify + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/pango + x11-misc/xdg-utils + kerberos? ( app-crypt/mit-krb5 ) +" + +QA_PREBUILT="*" + +src_install() { + # Cleanup + rm "${S}/resources/app/LICENSE.txt" || die + + if ! use kerberos; then + rm -r "${S}/resources/app/node_modules.asar.unpacked/kerberos" || die + fi + + # Install + pax-mark m codium + mkdir -p "${ED}/opt/${PN}" || die + cp -r . "${ED}/opt/${PN}" || die + fperms 4711 /opt/${PN}/chrome-sandbox + + dosym -r "/opt/${PN}/bin/codium" "usr/bin/vscodium" + dosym -r "/opt/${PN}/bin/codium" "usr/bin/codium" + domenu "${FILESDIR}/vscodium.desktop" + domenu "${FILESDIR}/vscodium-url-handler.desktop" + domenu "${FILESDIR}/vscodium-wayland.desktop" + domenu "${FILESDIR}/vscodium-url-handler-wayland.desktop" + newicon "resources/app/resources/linux/code.png" "vscodium.png" +} + +pkg_postinst() { + xdg_pkg_postinst + elog "When compared to the regular VSCode, VSCodium has a few quirks" + elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md" + optfeature "keyring support inside vscode" "virtual/secret-service" +} |