summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-06 03:03:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-06 03:03:24 +0000
commit2ceda67569b0a59d190a0f6afe73c18336b54268 (patch)
treeb769c1b06703783b963015c2c528fd5a50d2046b /app-editors
parent564cd64dc5f2727c4df6aeb1bb51327503c84e78 (diff)
gentoo auto-resync : 06:11:2024 - 03:03:24
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin14131 -> 14130 bytes
-rw-r--r--app-editors/vscode/Manifest4
-rw-r--r--app-editors/vscode/vscode-1.95.1.ebuild131
-rw-r--r--app-editors/vscodium/Manifest4
-rw-r--r--app-editors/vscodium/vscodium-1.95.1.24307.ebuild128
5 files changed, 267 insertions, 0 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index 04d356bb6a97..da55953d3967 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 82fef22858f1..1b140f540575 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -3,5 +3,9 @@ AUX code.desktop 474 BLAKE2B b26771d7517bf3daba955562bed01d4da40c6cb351eee1d493a
DIST vscode-1.94.2-amd64.tar.gz 145188698 BLAKE2B 0ba98d4af28da95d2d19b5cbb27b18a6c6f82a73c585e57ef94868133f595050b4ab1e78eb25d02a40fcf187057467e88f421e4e22544e301c709d2b1d590e0f SHA512 41f02fe383a825c0e50dae1a5527c2e62e6d8b930f62667a4ad17479264325f3a23bbf196a8ed5121a18bb9b3e853b7c840a0e1490157dc74adaa654bc566062
DIST vscode-1.94.2-arm.tar.gz 129620768 BLAKE2B c31a0b60a8c0e6fcf6010846f29a1ed14804b20b5910d91e896e4f43f18ac26413f32f89546be1f5e68a4dcbcb24741369e8dd1f0d48436beb41e6b40c01da81 SHA512 37e541de5659b8a7097c54e5b7f6313a8e7f93691bbe640b302c1fc0c8588b8560c75e037d7a29df635bca47be791b29886c8171f5e15b0b76fc0e1069b68814
DIST vscode-1.94.2-arm64.tar.gz 141296756 BLAKE2B 160dbbeea65cd482c42e7d48c120c63167fe274ebfab2c458923930aa9f5b69c005bbddd7d66139084809b73ff7ce04defc9421b738ef608a8f11a7385ee14ea SHA512 bba6212737b30f43ee943d3ab8883d6c184fe6e2f66375cb893521d766a75fb139664ea18f4e91436fb7863c5a72534b02a2d6aff6953c09085b5b5eec506064
+DIST vscode-1.95.1-amd64.tar.gz 148382845 BLAKE2B af91c360425684b660ab165bd5d10084d393be0ed84769c0b4967cc575aa62d1c6478410adb0aa3467e66dd40750ba068c026d3d37923997e93300ef773d76ed SHA512 c48f070031e239b5140028e0af05208a5519a844513b5ca99f779fb62cb56f03342df5809f0cfbf6fdd940ddbfb7176acf6f3ecf041f7484aa02de0457e1555c
+DIST vscode-1.95.1-arm.tar.gz 132440825 BLAKE2B 99e79889dcb2d1131963a08258c6b1dc4519e08000dc707e0e19531fa015553efa7e49caeb7b813edaa59cf43186d979dff552bd0c2ff0559b09149666e66a15 SHA512 3e35c51b5127ce89743c465d4ffe61d8d5b6b52bea025cc09a55461289a1d8a22255a1f08151609177e7694c586cf918a0c562dd39051eb17aea02af60f33c87
+DIST vscode-1.95.1-arm64.tar.gz 144398553 BLAKE2B 54d9bcba210df773a10361c79329d2d7511d942a5eead4af619ee84f6d159ed3b694cbb5f9d340e25fc4d39cb40de1e9c17894b16b63b265903260d03ef7e655 SHA512 aec996bc4071eba11d19d2a17dc92e127569d99e08fa0c2f9f66e4d8c62529457dbc65b21180442fd58197a5ad534a21eb287286fa3ac317171009733e6db86f
EBUILD vscode-1.94.2.ebuild 2968 BLAKE2B 9a43a2d1a227a0e666b3b4136c4f40b2ce0ee9dd5a8d65d0d61dc08764143e56e630e496a4e3a779811c4b805ba92d6202c0c1ef82a745fa192d1eb82c1b51db SHA512 1686fe5957b62af1cb8fc2f85970ae191b795d6e7caee8f8f5c8fd853a0ee91e7a000bd621dc198d635153e23fc9f2ed5b203934bacf249c113d2836eed85cf5
+EBUILD vscode-1.95.1.ebuild 2969 BLAKE2B c4d0ef0c7167a555e4b935d43768ced466db5fbcc3c9929a67d8ce7b85c93366be6a02a8b9c5d30ad3d0312f563f6ead49ff9443a113bdeb99e3d896d79eb71b SHA512 d7193f18121c8cc9e83fc8404b75ef94b4856748c788d684cb8df467db3230da5008578e2de0a7987f350d27495a929a057c6aa034fc2f3abf3d40af24b2190c
MISC metadata.xml 1319 BLAKE2B 02076564e7b3b37433125cdcada4445311f03699bc7adb00f60af4f73f2fa9ebb90b805885198bd7cbdc54b779fa259d56c3142b30d595eaed278130081d8ca7 SHA512 d0922226274b1686ea14c8ca4e5835f6b30399bd71372bde4ac7e4eee4301ccca7fc32472d6ac0bd598b0459ebc33a59d346a21f5fa2d39cac4ed197682354e0
diff --git a/app-editors/vscode/vscode-1.95.1.ebuild b/app-editors/vscode/vscode-1.95.1.ebuild
new file mode 100644
index 000000000000..3d10ad08d715
--- /dev/null
+++ b/app-editors/vscode/vscode-1.95.1.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 548918b69433..07a7fb71ce83 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -6,6 +6,10 @@ DIST vscodium-1.94.1.24283-arm64.tar.gz 130400583 BLAKE2B 4991ab4c8e30326efa6966
DIST vscodium-1.94.2.24286-amd64.tar.gz 130462753 BLAKE2B aaa4491f2159b4f158174d73f41188d88efd99fe247a75d36b967950be8eb7d5095d4447477ad531dcfdd403ee71f2300a6636c4a269d5eb83f4b08cbcf78c16 SHA512 7c6c32582a688088aa7cbcd7dbbab1ee44325d4134b78aa1a7278ea4a4d903193a76923466d302aa9a89ef70b6869358d2acb1fcc07975a722edd43ccba91ae3
DIST vscodium-1.94.2.24286-arm.tar.gz 118804173 BLAKE2B 8e20f8b111141114c79077922f8292c636582a403fd0042c2050a34f7b79eadcb294526b885b326ca0d02b5bc98cd5c0a50edf9607424bdfa004112cc4aaa46e SHA512 af7aa92c4b7c1397bd6411f5b2edd86adb7bc48922108bd46c4ceab663d3c1262c25441e75651238bc999849ce589a8768413a293522c882e4a32d92a864d625
DIST vscodium-1.94.2.24286-arm64.tar.gz 130400501 BLAKE2B 3520c0ec2d3794ce6449c6dcab64a8dee95e09d0f6ae98a7510ef3bf534e1e4b862b00b27684e51c3eb6ad51ca82df1e49bef92d8bfa6e95bf70773e46631228 SHA512 dfb84f9946352beeba0b138d661a96f94d378cd50ba2a2eaf72400951314b95d1582032ba64f9c6ea95d706f9e3fcb453680ff35ab9579c64024e76d17df9edc
+DIST vscodium-1.95.1.24307-amd64.tar.gz 133761601 BLAKE2B 526e3f8a35f5fdcd80a11a1b4d08889fbc014b688ce81fd1ac0203ca5d148edf29d7447d4d041c1a5cb657ded6da89c75a82fcb8dc84ec5708805aac65ea05db SHA512 16d0f9a9e2e76c117d3ae663f9f4b90c0cb12984f92e88175f8c9bc8f529c92573a20cab0cd7015e3365954bb2022b59a6cfa76081eb4bce4de1420080306d42
+DIST vscodium-1.95.1.24307-arm.tar.gz 121749295 BLAKE2B deed0d74a429459c5c8561ca69039dac2dcb7c8211f563fd35ecd9443b6b6345d0f0a4c17e69d547267f822ce2f591644d1ee1bfdc93205d93878476087d697d SHA512 5f3cc30366270c857969b08268965c0f6411228f437df211172c1837af327cf16af2d5018b425a7f1309aef593a6e66b78a37c3d4b48f4ca57a08d4f8cfe95cb
+DIST vscodium-1.95.1.24307-arm64.tar.gz 133657550 BLAKE2B 860a76d9e4ba2d52f996f2b0ff38e4a02ac5055811a4773b733768cb9b4791e9e1d2aa7cd6832eed303772a855da7e41f2c4f12073647a56ffd0ebdeaf3c0e04 SHA512 da448f6fc6c8bdf86ad34e0c90b2d4b00887194bbe2256440777f33c9580622507600cd6c85b6682ccd9dc93eeda4805492770c7c32343112bd91d94b1406728
EBUILD vscodium-1.94.1.24283.ebuild 2877 BLAKE2B 0c9533a063f5ad61d06a64663e4007f7b29994a0680e2a33a2b169f53a5e7b0e90e3f4f70199ae80357376d40bca36ee25fd3a8bb967f93b63fab1107ce7e774 SHA512 3c0744ffbdd21e9ceaa4e56a70908639818ef490de80ec9c3fef9f6bf74314445408779912fc89361cfc641ab8da6fc428c186adf01532d64d16c59537728632
EBUILD vscodium-1.94.2.24286.ebuild 2877 BLAKE2B 0c9533a063f5ad61d06a64663e4007f7b29994a0680e2a33a2b169f53a5e7b0e90e3f4f70199ae80357376d40bca36ee25fd3a8bb967f93b63fab1107ce7e774 SHA512 3c0744ffbdd21e9ceaa4e56a70908639818ef490de80ec9c3fef9f6bf74314445408779912fc89361cfc641ab8da6fc428c186adf01532d64d16c59537728632
+EBUILD vscodium-1.95.1.24307.ebuild 2878 BLAKE2B e93ce0b7c2b4ae13e1284f4bb031395d8cb73bc95dc58c1d1a5822426cb2457f09d842de3a93586648c055ab0c91c1a5114022fe02de31cd4cce4f757b29c32e SHA512 8190033a336c207635544ca71dded994510e52e42ab6791a00914997635923ede10998fd8aaf645d3173e8b62687938de2411603069f917ba33ae84a4fe87037
MISC metadata.xml 1563 BLAKE2B 63d5132bcea2c419facf49b2d644bf1f58f44da333adb8270aedaaa289563ff5d116a0700df1306bdf1e7d2628f72959b8f18540486d3ce56bfe67adb925d8fe SHA512 ea75764cc70ac6a9452600a106de3784baaa9f84fa5b1021cea2be073636fb0fc8c6904a7db2a560ccb2bba491d76125e5996e0aac28ea11cd039ae16972e595
diff --git a/app-editors/vscodium/vscodium-1.95.1.24307.ebuild b/app-editors/vscodium/vscodium-1.95.1.24307.ebuild
new file mode 100644
index 000000000000..ea6d7f815b1c
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.95.1.24307.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"
+}