summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
commit59d772d9463f8cf6a145a677bedbf377a0625aff (patch)
tree5a0e382968fd656a056c886e36cfb4491535b489 /app-editors
parent2a3e0d61b3d88306b6fae46756f9ba7d230222ae (diff)
gentoo auto-resync : 14:12:2024 - 02:02:07
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin14116 -> 14116 bytes
-rw-r--r--app-editors/vscode/Manifest4
-rw-r--r--app-editors/vscode/vscode-1.96.0.ebuild131
-rw-r--r--app-editors/vscodium/Manifest5
-rw-r--r--app-editors/vscodium/vscodium-1.96.0.24347.ebuild129
5 files changed, 269 insertions, 0 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index 033f2394d84c..a0bb88c4d342 100644
--- a/app-editors/Manifest.gz
+++ b/app-editors/Manifest.gz
Binary files differ
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest
index 19c4c0f19622..8404c3b18d4f 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -6,6 +6,10 @@ DIST vscode-1.95.2-arm64.tar.gz 144419300 BLAKE2B 2f0720344a72b529e1dff6d413e9e7
DIST vscode-1.95.3-amd64.tar.gz 148378619 BLAKE2B 2bb94b67e48583a3484e2c3af637f0a05b88340e862bdb3f318aa15cf22f78ac165f0769b3a56d7565763f0ce6aa31e793f54981b5b45029384f39c857fbbed9 SHA512 c20ff3e28c81070bc3919ad879e14ba898f14b2fa47bba5574144665f01c811bf3d93be72afbe314cba382faaae187f93c5c7f9bf60c488095fbb327115fba62
DIST vscode-1.95.3-arm.tar.gz 132455720 BLAKE2B 62fcf8f1708bca3f92e2e710b990b8a714f5386edda293e720fcbf1fba972664d9db259acedf045c79f091edb6e3fe29d6fd08ebeebb72c01ac0498737000216 SHA512 bc3dc9611eaaab8c65574417c4f98603a341928a45b52c182b3d0dcaa1cc74ef815a61bd47ace6de164de688e92bd9f17cb6c2b032f8af00010a360c223596f5
DIST vscode-1.95.3-arm64.tar.gz 144398988 BLAKE2B 2bae1b98e3bcb5c3bab388035b5b0b1137b7e7ff77eda6f6809eca424f1956845218fb2c5366d7ec24e71f7b1684935e12329f481168c977a3c0553b549e6f02 SHA512 bc3386abd90231c11d9a10b6bba62b627dadd4701fb06c7e20eb4e2b80284416c36532b023767daecb58ab3a70107151ca570b1d345d3a1415adaa7510a3bd0a
+DIST vscode-1.96.0-amd64.tar.gz 149448388 BLAKE2B ab54f0044d819a76acfb9f637a15c7118db30f5b1f84df622b8aa48aca7cbffa85115f187990c16105c8548ea1a1caa29f18fbb395f307710c8d273c6fd3a300 SHA512 9ac57fc51c42bd62aa3094be5f5184c194255af9a32b5454b66d648f7f315b2323717fce50637debd0d6ec5f9bb94ba9366b92eec6d06e952bb2c52a37dbc77a
+DIST vscode-1.96.0-arm.tar.gz 133515870 BLAKE2B addead61ed9dc147f28e3fd0f2bf49036d24bd0301a1fd6fc014743af72d0c3b10c8e1e515a31b50d030e2642eda325d02110fab245c3ec4635485aae8243f40 SHA512 8b110086e94b88093909724b14653394c91e6047560c4090c5e1e9c0d84dbe1525b9281c1e60fdb70675fb5588bc031028207f3f4d3ca11069c3e7bac51301ec
+DIST vscode-1.96.0-arm64.tar.gz 145446774 BLAKE2B 985a06ac1a3aae33b308dab803901ca468752a92474a9983a0c9e61d257c9e18d9d60114b7ed6dbd8d71d563695931863fcf1ef20872d2644c61a0b3bdc69257 SHA512 8c0a53506b4992ec4b3ed9655bee6cccea89a1b7e29dc9baca6af7656383b10562707f14820bfbe48bf74defcba294ecfe7751cac7063ede9082a1484d4fba0d
EBUILD vscode-1.95.2.ebuild 2968 BLAKE2B 9a43a2d1a227a0e666b3b4136c4f40b2ce0ee9dd5a8d65d0d61dc08764143e56e630e496a4e3a779811c4b805ba92d6202c0c1ef82a745fa192d1eb82c1b51db SHA512 1686fe5957b62af1cb8fc2f85970ae191b795d6e7caee8f8f5c8fd853a0ee91e7a000bd621dc198d635153e23fc9f2ed5b203934bacf249c113d2836eed85cf5
EBUILD vscode-1.95.3.ebuild 2968 BLAKE2B 9a43a2d1a227a0e666b3b4136c4f40b2ce0ee9dd5a8d65d0d61dc08764143e56e630e496a4e3a779811c4b805ba92d6202c0c1ef82a745fa192d1eb82c1b51db SHA512 1686fe5957b62af1cb8fc2f85970ae191b795d6e7caee8f8f5c8fd853a0ee91e7a000bd621dc198d635153e23fc9f2ed5b203934bacf249c113d2836eed85cf5
+EBUILD vscode-1.96.0.ebuild 2968 BLAKE2B 9a43a2d1a227a0e666b3b4136c4f40b2ce0ee9dd5a8d65d0d61dc08764143e56e630e496a4e3a779811c4b805ba92d6202c0c1ef82a745fa192d1eb82c1b51db SHA512 1686fe5957b62af1cb8fc2f85970ae191b795d6e7caee8f8f5c8fd853a0ee91e7a000bd621dc198d635153e23fc9f2ed5b203934bacf249c113d2836eed85cf5
MISC metadata.xml 1319 BLAKE2B 02076564e7b3b37433125cdcada4445311f03699bc7adb00f60af4f73f2fa9ebb90b805885198bd7cbdc54b779fa259d56c3142b30d595eaed278130081d8ca7 SHA512 d0922226274b1686ea14c8ca4e5835f6b30399bd71372bde4ac7e4eee4301ccca7fc32472d6ac0bd598b0459ebc33a59d346a21f5fa2d39cac4ed197682354e0
diff --git a/app-editors/vscode/vscode-1.96.0.ebuild b/app-editors/vscode/vscode-1.96.0.ebuild
new file mode 100644
index 000000000000..7757235fed73
--- /dev/null
+++ b/app-editors/vscode/vscode-1.96.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 22c7bdb5b0bf..b0b26adf42d8 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -7,6 +7,11 @@ DIST vscodium-1.95.3.24321-amd64.tar.gz 135715917 BLAKE2B e6510efb8a20895c873db0
DIST vscodium-1.95.3.24321-arm.tar.gz 121776506 BLAKE2B e836b8a8ade0df009a6db3c77adef681bfff28758a1acdc6b5654af9b6791bea50dc98a8dd5b1fe7fe603cb17d169d7b480e301b27f9d217183fbb3eff9f7072 SHA512 cabfde835c45308ab0bb7d427c546fb17c91c82236412aba88bccc1ffa5e5e05e92eead8679a58e4b5b8a3f457788d172cfcf3c4f92df9796c7ad7e03b25d03d
DIST vscodium-1.95.3.24321-arm64.tar.gz 133684443 BLAKE2B 32c3626ce0bb101b42b0c77a887a213d49feea7271cef075c0b3338686278f5762b4e8a4a3003e57822f021d90d89dadb32b2f755b76e2e95ce2463791a5d8da SHA512 a6fccc9421fcfc9a0d590d60a8f34297d8eabc9864e898cd1d3b3d6630928d053475f33df34542bab7e35279512ade8a31602b5f8db5ef8bea4dc8d6794e0a5e
DIST vscodium-1.95.3.24321-loong.tar.gz 140022221 BLAKE2B fccd8d6c13414346e1f0137623e6844c19241e32dbdaa81ddc0b233896c2f2563350b93c47a9472e93ab29bc8a626615c9a61235cf2692350f91484c4d7780d8 SHA512 a9fca909954eeacd7ad4ce5013532d1e79abcd5dbd6cfc9fab02230b9e0f2743f17cfe8029f0c210c2fd5fb2d01b9a5d3a593d8353a83c833d0f4d7e38ace5d8
+DIST vscodium-1.96.0.24347-amd64.tar.gz 136734771 BLAKE2B bd849a59b75a7ff0c8c18fe07ae66352b551df553b2bee60f9ad31ad7cadd8805d0112c2acde9b14ca22ab119f641e2f88feec4dabd687d9dda40b38c8709f94 SHA512 7e797c50399f6ae8aaec2586bd9b1c401a152cab7d10bd1b30684252351ef2f30764f1c9979992e1c86e4931b68a3205f29e475edbf48d897fc5feb7e8ec67bf
+DIST vscodium-1.96.0.24347-arm.tar.gz 122778879 BLAKE2B bf695c654718c63af5822fc7820a1e50e7031b0f375a5aeff73c30e9b7037de8c7e1410bc195d9a9a1b47b20f5589b414477766ee6fd250742b69c9d14272d13 SHA512 0a07e7fc457f373eaa45124641bb31d5f61495ec47741e145e172bcf08e916053b890c8208855832018f58d3e8a41c9535f8c9bf9391cbaa7b3a12c7e8ff55e2
+DIST vscodium-1.96.0.24347-arm64.tar.gz 134689376 BLAKE2B 8691d8c4694276e2b05bf09bb9f39b5bd6f458cee424d3ebbb0c9afe89287f6062861ef7e895623f9793f72825be3e7dbb1009b04c44351e424664bedd0ebe30 SHA512 6e628308913dc99f2d290d84abd429ef93ae2bbf6277c4d73556e91d2865b38a881f6fa84c25a1ac0070bf00c20eee565895a56a5dba395ef6cb74e3d8d3a13b
+DIST vscodium-1.96.0.24347-loong.tar.gz 142668160 BLAKE2B a149bc53a7c61de3db9dd106a26fa4bb1b40187932648d4f8051215f02d8283abadb2e8b9a3217f24a2c1ae690173a91239bfab746334a2d989b892b7b5f370a SHA512 10f161fe88395e9338e7025ffcc5500628f86082b844ab63763cd34309178daeea99e559c9a5bc37a5bdfdf7d0814aa4de832a4c87a2e251e33195b93f190ae1
EBUILD vscodium-1.95.2.24313.ebuild 2878 BLAKE2B e93ce0b7c2b4ae13e1284f4bb031395d8cb73bc95dc58c1d1a5822426cb2457f09d842de3a93586648c055ab0c91c1a5114022fe02de31cd4cce4f757b29c32e SHA512 8190033a336c207635544ca71dded994510e52e42ab6791a00914997635923ede10998fd8aaf645d3173e8b62687938de2411603069f917ba33ae84a4fe87037
EBUILD vscodium-1.95.3.24321-r1.ebuild 2915 BLAKE2B 5d523b4058e5fb230aa8e8c344a7c00165a64bf24fa67b46c9890adfe733aee6315dab4063e6177f0b934efc4f3995c6cd56874c7f0e78f83cf2567d20dbb3c4 SHA512 db9e3947b51dedcffc8da4294e3b49e2898e1b718b51677d857b803543aaeb54d34893e7ae240b6e7f12ef10c45001de18bd896a5801e3939e5f964a4ae6facf
+EBUILD vscodium-1.96.0.24347.ebuild 2915 BLAKE2B 5d523b4058e5fb230aa8e8c344a7c00165a64bf24fa67b46c9890adfe733aee6315dab4063e6177f0b934efc4f3995c6cd56874c7f0e78f83cf2567d20dbb3c4 SHA512 db9e3947b51dedcffc8da4294e3b49e2898e1b718b51677d857b803543aaeb54d34893e7ae240b6e7f12ef10c45001de18bd896a5801e3939e5f964a4ae6facf
MISC metadata.xml 1563 BLAKE2B 63d5132bcea2c419facf49b2d644bf1f58f44da333adb8270aedaaa289563ff5d116a0700df1306bdf1e7d2628f72959b8f18540486d3ce56bfe67adb925d8fe SHA512 ea75764cc70ac6a9452600a106de3784baaa9f84fa5b1021cea2be073636fb0fc8c6904a7db2a560ccb2bba491d76125e5996e0aac28ea11cd039ae16972e595
diff --git a/app-editors/vscodium/vscodium-1.96.0.24347.ebuild b/app-editors/vscodium/vscodium-1.96.0.24347.ebuild
new file mode 100644
index 000000000000..ed85db87f5f6
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.96.0.24347.ebuild
@@ -0,0 +1,129 @@
+# 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)
+ $(arch_src_uri loong loong64)
+"
+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 ~loong"
+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"
+}