diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-07 04:26:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-07 04:26:50 +0100 |
commit | 7ad61ca2bfc8f8da08d2fb3085e4333dcccb0a64 (patch) | |
tree | f7c41a49b46acf8ae70e84a70c452a7d121c5458 /app-editors | |
parent | d6106fb0c1ab8f79024ab6a9ac2062ddc85d4e07 (diff) |
gentoo auto-resync : 07:10:2024 - 04:26:50
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/Manifest.gz | bin | 14122 -> 14124 bytes | |||
-rw-r--r-- | app-editors/pluma/Manifest | 2 | ||||
-rw-r--r-- | app-editors/pluma/pluma-1.28.0.ebuild | 2 | ||||
-rw-r--r-- | app-editors/vscode/Manifest | 4 | ||||
-rw-r--r-- | app-editors/vscode/vscode-1.94.0.ebuild | 131 | ||||
-rw-r--r-- | app-editors/vscodium/Manifest | 4 | ||||
-rw-r--r-- | app-editors/vscodium/vscodium-1.93.1.24256.ebuild | 128 |
7 files changed, 269 insertions, 2 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz Binary files differindex 44c31c669615..ab2ff89dfde5 100644 --- a/app-editors/Manifest.gz +++ b/app-editors/Manifest.gz diff --git a/app-editors/pluma/Manifest b/app-editors/pluma/Manifest index aa25b0879f2a..88d7edcc60d1 100644 --- a/app-editors/pluma/Manifest +++ b/app-editors/pluma/Manifest @@ -1,3 +1,3 @@ DIST pluma-1.28.0.tar.xz 3866800 BLAKE2B 10813717b7d18a0836059a10deb67a61b00a73cf3d5b18f12a9e760b8b65053b3a82dc0ac9af898d9f2bb4d6998db536bcaef143024ae91f9035fe6e1ee72fea SHA512 8f21aabed46a70dfe8446ddf6db5cc4326782328d0b8dd3689c8b906cc8d4b746712c6b9decfa48ef028bdbb8a0b1c6a2ec43def23488ae55cfd59aafd5a691a -EBUILD pluma-1.28.0.ebuild 1919 BLAKE2B 9feb33d7d7955a210bcf858be5ddaeb1fe7641dc876bb3befbac4ab295d8102399e5d886b92f83d35cdae9f5bbea60b9a9ad5155012d460233853266653c759d SHA512 a7c7465fa942609358b7f16f2de7fd069fd8db24c14358552d1eafcc16e3c8e6d1bfa945b5e312252627b0c0130b91b73858fc7faae5ae5af2733ed9bf721d2a +EBUILD pluma-1.28.0.ebuild 1927 BLAKE2B 45d5a7b287a27c4e5d4a1ada6e4eade8be7b3f14d4240f0ff93cce259f270eca725bc91a07c482194ff9a189d4cbc4a6dd28712e3166c191e0e43a2bf2fdc049 SHA512 04fe68157b89d7084e6db28f0709cd6effd7fceebc4ef74a6758ad73e39d5e3351694e5872f26064a3d7ea289f56e73c3d340ec7436887d686d1bf9178d67ac9 MISC metadata.xml 484 BLAKE2B b56cf90cac089107c10a1750c7ec2399fdcf0ac7045fa95b4dda8ce222caddec044c8a61c3e176c828afaeab252e1dcd725f9615ed64113f12215d26899a4ef9 SHA512 75c0d1717f4cd093897ff25ca49caa6266fa99c5ba4db1fd959622147b5ff8d5edf159d22be83a175c2dae2722fd04e191995694a6032bba6990410ab53b0067 diff --git a/app-editors/pluma/pluma-1.28.0.ebuild b/app-editors/pluma/pluma-1.28.0.ebuild index 3a565a4157e2..5caef9fe4158 100644 --- a/app-editors/pluma/pluma-1.28.0.ebuild +++ b/app-editors/pluma/pluma-1.28.0.ebuild @@ -50,7 +50,7 @@ DEPEND="${COMMON_DEPEND} dev-util/gtk-doc dev-build/gtk-doc-am >=dev-build/libtool-2.2.6:2 - >=mate-base/mate-desktop-1.28.0[introspection?] + >=mate-base/mate-desktop-$(ver_cut 1-2)[introspection?] >=sys-devel/gettext-0.19.8 virtual/pkgconfig " diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index 660015c9a52d..d611ed6c0a33 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -9,7 +9,11 @@ DIST vscode-1.93.0-arm64.tar.gz 142237085 BLAKE2B 517d4cc79cab13e6feed478c65b0fe DIST vscode-1.93.1-amd64.tar.gz 145338512 BLAKE2B 695efd4382aeab3c9aded7954146b35f9340ce17f9410f215461b9bb42ed0d1e82d32352f01a6d48d94876504d3ba559d8ded021fb24980da60750dd3eb956df SHA512 1fb697549f685c820154375426320addd716921a6bae859263dfec9aeabdd74f74826f300c65d78c99fec1a110cebfe031bf439811a56f16ec41fda3fdc98611 DIST vscode-1.93.1-arm.tar.gz 130274818 BLAKE2B 781d9a7784dd936a81f9407189dd1608b6778baec0c691f2337e3c3f1605578d09335a437de3b5d423b0df86b5f8256bb922ab5b7496df53b47e53788ccf9881 SHA512 e909d8126ee0013dc21c2eb97cca2cae3f4e823ff7b6342b544669d2c7b66a407ac3b56e68015130f6a807e64187bab88010e16037eb13dd27354069c2abffa9 DIST vscode-1.93.1-arm64.tar.gz 142212394 BLAKE2B 41c749fcfff253dcf9295429129c9487cc95b12f9c58f85c2864e5fbd65efd1b1818a438c9eb4132f6413ae83bca4ea27036510845eed446123a1e071fba4d39 SHA512 069339d4623a64d3de39241b9490b8ecda581728c78e343bff4749d06ec22311cb952243d485ea1c91aa16a46f74c66c06e7a8425b1063a9436b9161401812a3 +DIST vscode-1.94.0-amd64.tar.gz 144889379 BLAKE2B 17fbd71f998cdc9b88ace561189da209e519184a2f8e59eb030b3b4b1c92eebb1ac8b66e5eb523a158f889d8e5762a7b94b66241768e389a794b453a3d6e3322 SHA512 f9cc1d72a08d3368db102b30e54c7301ebd0cbc1e94ecc15473ba74e426ce87ff3a8b3d896d200be1a1cac892b546b684dc70afa85994a6d7a341a8bff8f8232 +DIST vscode-1.94.0-arm.tar.gz 129429788 BLAKE2B 0101dd7fa96054436150c1920e52fe79242c2d8c3fcfe636928ce1e235394a76ed473edaf687af4f1fe8707fae652ab7504279bcaca0362db151add22e9d2ec2 SHA512 822b5a72dfc48c7fe76c81aabc22da30a341680038bca0c56295b62941ff46fb8ffa61f6aacaf73aa92c103fcf204ed3c029a3074a0841064dbb6610b82da2d9 +DIST vscode-1.94.0-arm64.tar.gz 141176632 BLAKE2B 24983ff03439f74597375abf763ea194337abf7e68a43b74748ed22b47a873483cf63b73159554530278fdcefc6dbac949e3b8450dba1502784568a25f87f15b SHA512 00b98be5070e0d03f418fe18fa3e7fbceb6afc12d2c5cd90956131b23773681f1fe99b7e11c096ce238d4b29c2669047081f7112298d7965ea11f853e4b5ad6b EBUILD vscode-1.92.2.ebuild 2982 BLAKE2B 175a5d79855fe951a3163721e93c1d1191bff705bae0d91470c9a6dde57707d93b76b91f7d9abc0361c60078f28e2474c1fba5c5d822f63e9ef14e7ed70a46dd SHA512 04a2899ee7c793346c0c0d6802e5b8134efcfbc41041c0f7d8cceb6d312351f9a6bea0a24c5954542b37a2b388448417e431eb603afc2edc87ed330a5d65ab76 EBUILD vscode-1.93.0.ebuild 2982 BLAKE2B 175a5d79855fe951a3163721e93c1d1191bff705bae0d91470c9a6dde57707d93b76b91f7d9abc0361c60078f28e2474c1fba5c5d822f63e9ef14e7ed70a46dd SHA512 04a2899ee7c793346c0c0d6802e5b8134efcfbc41041c0f7d8cceb6d312351f9a6bea0a24c5954542b37a2b388448417e431eb603afc2edc87ed330a5d65ab76 EBUILD vscode-1.93.1.ebuild 2983 BLAKE2B e53625a2ad075ce53eecea1e1eaa4ec9719b6267c02484d82396248e4c618fc80e6b9c6e4ffd7bc785c18933f6a8af8ac2669a25156f0e2d802f0b10ce4e54e4 SHA512 1e135c7d868bcbd0f52b588451fc8877e7b6eec3ef04424de6bee3e41deeb61cd000e68829b988b55a8c6bfe889f65bdba0831dc0c6e6dcb615484edf08e4363 +EBUILD vscode-1.94.0.ebuild 2968 BLAKE2B 9a43a2d1a227a0e666b3b4136c4f40b2ce0ee9dd5a8d65d0d61dc08764143e56e630e496a4e3a779811c4b805ba92d6202c0c1ef82a745fa192d1eb82c1b51db SHA512 1686fe5957b62af1cb8fc2f85970ae191b795d6e7caee8f8f5c8fd853a0ee91e7a000bd621dc198d635153e23fc9f2ed5b203934bacf249c113d2836eed85cf5 MISC metadata.xml 1319 BLAKE2B 02076564e7b3b37433125cdcada4445311f03699bc7adb00f60af4f73f2fa9ebb90b805885198bd7cbdc54b779fa259d56c3142b30d595eaed278130081d8ca7 SHA512 d0922226274b1686ea14c8ca4e5835f6b30399bd71372bde4ac7e4eee4301ccca7fc32472d6ac0bd598b0459ebc33a59d346a21f5fa2d39cac4ed197682354e0 diff --git a/app-editors/vscode/vscode-1.94.0.ebuild b/app-editors/vscode/vscode-1.94.0.ebuild new file mode 100644 index 000000000000..7757235fed73 --- /dev/null +++ b/app-editors/vscode/vscode-1.94.0.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2024 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="egl kerberos wayland" +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/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/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/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" + + local EXEC_EXTRA_FLAGS=() + if use wayland; then + EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" ) + fi + if use egl; then + EXEC_EXTRA_FLAGS+=( "--use-gl=egl" ) + fi + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/code-url-handler.desktop" \ + > "${T}/code-url-handler.desktop" || die + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/code.desktop" \ + > "${T}/code.desktop" || die + + domenu "${T}/code.desktop" + domenu "${T}/code-url-handler.desktop" + newicon "resources/app/resources/linux/code.png" "vscode.png" +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "desktop notifications" x11-libs/libnotify + optfeature "keyring support inside vscode" "virtual/secret-service" +} diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 2704bead20b8..fefb71ca3f43 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -3,5 +3,9 @@ AUX vscodium.desktop 519 BLAKE2B 9bb65cb1b0618deba7db401f314f00611970eb34a82988f DIST vscodium-1.92.2.24228-amd64.tar.gz 130843357 BLAKE2B 3510141a3b86163a5d0fafbc3dd4d68f03d81c3d8bb2f7a6341bffdafe8690baeecd136c177561832356d1fab44bc1b173edb9b48fea2e486ae13ffa440e3dde SHA512 fe21d65de84e5b2e99fa463c198fe47bc10e254ebac6f5e24c42c0de0e5e5e086c83541cddc295a5bcc3b1698afb8d1e06cb96bcc3c7d555cda8e84cfbca1f26 DIST vscodium-1.92.2.24228-arm.tar.gz 119300483 BLAKE2B ab542195ac209dc68dc5fe9b63b9892495df146675268bb2e3c559ffb9ada1bd05f97b6907be50ca356358c72906cdfd6449ae86ebf5a4ce391aae165260ef51 SHA512 0930206931dfdd38c4ce53699b395d2bfb439e9a8579b5429c6c9594910aafe82a35d1fcfcecaf0132325a179b96abf9d73c88866789978da24325a1cd0bb31b DIST vscodium-1.92.2.24228-arm64.tar.gz 130895581 BLAKE2B a6b205ba449a34c7ba695a12dbbc8ef3a4b1f6dfe2dd6dc0c2285af549cc7750de7d7aa044ea1354c325deae995d49e808e02a0d2a4001b7764c233d49245d09 SHA512 fe0b6c5a3269fc12f91251035a5c8162861e2301e67bbf49895a2a58ecc542b376ac95e673dadb04b1f7e1849f18e8d8821f95e819e7fb7d9c66674be460de73 +DIST vscodium-1.93.1.24256-amd64.tar.gz 131547349 BLAKE2B a1061b739e51e55c6570171f85982cadab7474e44ef797ea77f4fb7278d2b5360446369e4342969aae55840766978afbdbb4c73c2794a8a470242c4254b7c916 SHA512 5a7bc33613e5dc1f53c91b907a15544af6d57897bcf9a9493ed477496e8a30eea587f36c65403ded809b866ec2853014b9fb3cb3ed0ab51736390e008f00fbb5 +DIST vscodium-1.93.1.24256-arm.tar.gz 119891939 BLAKE2B fde94eb14c87a52079866aaf8b0d9326417f59706ef6ce1e2ebace42952d9773a87b0c1ab8fded9936401ec5d6547027f25c21a47c8beb83b8bf050965944170 SHA512 55c642834551f88be9a6c50e5f98e206043670725ad166fb9f5f9ca11559b01cdd6e0433d72c66c2ec5b10b5390ff2d7d17a68369c2d53d022f6673e7ecb4893 +DIST vscodium-1.93.1.24256-arm64.tar.gz 131494186 BLAKE2B 62715b6aa8f42dd76b8d3daad7a2bbb0d61612a631e0f34e1db309d4cdad41c4dcbe3dc2eb429a12bcebeb0dc71e437dd566910c3e10d536abadc9522b2e48e8 SHA512 468815c0e5c27ad397da5c6c99aa1a37a22ec3072d35fbd3e0d67a79233688a01104f43db69833f88bf8124b1532766eaac2cee61ffd70450780d5641206de87 EBUILD vscodium-1.92.2.24228.ebuild 2877 BLAKE2B 0c9533a063f5ad61d06a64663e4007f7b29994a0680e2a33a2b169f53a5e7b0e90e3f4f70199ae80357376d40bca36ee25fd3a8bb967f93b63fab1107ce7e774 SHA512 3c0744ffbdd21e9ceaa4e56a70908639818ef490de80ec9c3fef9f6bf74314445408779912fc89361cfc641ab8da6fc428c186adf01532d64d16c59537728632 +EBUILD vscodium-1.93.1.24256.ebuild 2877 BLAKE2B 0c9533a063f5ad61d06a64663e4007f7b29994a0680e2a33a2b169f53a5e7b0e90e3f4f70199ae80357376d40bca36ee25fd3a8bb967f93b63fab1107ce7e774 SHA512 3c0744ffbdd21e9ceaa4e56a70908639818ef490de80ec9c3fef9f6bf74314445408779912fc89361cfc641ab8da6fc428c186adf01532d64d16c59537728632 MISC metadata.xml 1563 BLAKE2B 63d5132bcea2c419facf49b2d644bf1f58f44da333adb8270aedaaa289563ff5d116a0700df1306bdf1e7d2628f72959b8f18540486d3ce56bfe67adb925d8fe SHA512 ea75764cc70ac6a9452600a106de3784baaa9f84fa5b1021cea2be073636fb0fc8c6904a7db2a560ccb2bba491d76125e5996e0aac28ea11cd039ae16972e595 diff --git a/app-editors/vscodium/vscodium-1.93.1.24256.ebuild b/app-editors/vscodium/vscodium-1.93.1.24256.ebuild new file mode 100644 index 000000000000..4bf914823a45 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.93.1.24256.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2024 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="egl kerberos wayland" +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/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/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 license file - it exists only in amd64 tarball + rm -f "${S}/resources/app/LICENSE.txt" || die + + if ! use kerberos; then + rm -rf "${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" + + local EXEC_EXTRA_FLAGS=() + if use wayland; then + EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" ) + fi + if use egl; then + EXEC_EXTRA_FLAGS+=( "--use-gl=egl" ) + fi + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/vscodium-url-handler.desktop" \ + > "${T}/vscodium-url-handler.desktop" || die + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/vscodium.desktop" \ + > "${T}/vscodium.desktop" || die + + domenu "${T}/vscodium.desktop" + domenu "${T}/vscodium-url-handler.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/index.md" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "keyring support inside vscode" "virtual/secret-service" +} |