mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
app-editors/vscodium: drop 1.108.10359
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
DIST vscodium-1.108.10359-amd64.tar.gz 157924340 BLAKE2B 31f399cc8fa8e4455267a456ae553b21800f506b8d5b4bd57a2ac7110530c7ed55cbe5e971c86575f9ea5717474c981f8b52efabe22c6de298134960b56cc801 SHA512 2d6ec0ab46467e1a2549f8007007d250e693b459811b3c89eca0914a57efe5719bb640707dc85c3c9518903305204933c863a946105ac00c222561d044a8c589
|
||||
DIST vscodium-1.108.10359-arm64.tar.gz 155460970 BLAKE2B dc25d7acc7a65200e3d6a456e5bf11ac0dd1fbadb85434ccca4ca8aae6a2f4dfe20d3049b016ee6c4095f958fea4444d1768e9ad0bec0ce606da39873a2f811c SHA512 4599444873d051bec73137ce9b8319cc4c51188a1f2d3777fde9d5c47a817a6c4940477502b5c86756130399f70fc2fe8ae8347ff466a9e3391647949c16c828
|
||||
DIST vscodium-1.108.10359-loong.tar.gz 155831716 BLAKE2B 154d7a4ae40cbbf16249d1604a331f34fec3303881823e2514d213b07ad11ded3cac18d244076e40a76d35dd30493af5458a3f348230e43359f574447e79c82d SHA512 dc482c8fd1ea81fa900212d9d7f8fa74cafe46494a30df31f70c58c7990259aea94a7566cbd3ab691d2c7f67feef97d4fb590e5d122361e475c89013849e794e
|
||||
DIST vscodium-1.109.51242-amd64.tar.gz 161828025 BLAKE2B d1d12cd68cfde7aa51ed3a46139bf8840001f7f918da19a3be4f1a541d94aec85ffd03bab4deaddf80ce0eb73dc0d183103a68a14e19a33993cc66d27562e1cc SHA512 bdbb463bd53477f132271610f3b75c6c3dbcda93e16fdbe496cc4106c1295f7c83ce17e555afd9b2c572b4878152331af098bbfd3769c6450e943a0dbaf15830
|
||||
DIST vscodium-1.109.51242-arm64.tar.gz 159312167 BLAKE2B e73d41535e096cd5d31cecbc8ba6a472baae9c5701882505523e47c9004a3eb0f49e1579364f47bfbe0d20e701ffd247bea4c3c598b0c09afdbe2e8563e9b0d4 SHA512 dd153a2edcfb5b2bc35246124f1ff946f7ca83c504fcbb1bf657aa2f200db0eb941fa6278489d8268588a3e3a0c4b78ac527a6051c7587dd1cc0a376becc4cd9
|
||||
DIST vscodium-1.109.51242-loong.tar.gz 159711121 BLAKE2B 57f6dded2165d3d6563840f46a3aa6624f305e5d6c8e7fa6d0f830e91db8c0c412b2934c074dc42a0f5f1ec46a333aff37987a460ad416b86fa19f6caec24ab1 SHA512 e5c41fc4080c46225121ccfa3ac546d587c5210f5d337be52fe83f822be77ac05ce210d8ad71d755fff0ee75f0bfcc93796e8100a510b24363e4fe89dbe660ef
|
||||
|
||||
@@ -1,156 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
|
||||
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
|
||||
sv sw ta te th tr uk ur vi zh-CN zh-TW"
|
||||
|
||||
inherit chromium-2 desktop optfeature pax-utils shell-completion xdg
|
||||
|
||||
# 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 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 ~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
|
||||
virtual/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_prepare() {
|
||||
default
|
||||
pushd "locales" > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
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}/codium-url-handler.desktop" \
|
||||
> "${T}/codium-url-handler.desktop" || die
|
||||
|
||||
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
|
||||
"${FILESDIR}/codium.desktop" \
|
||||
> "${T}/codium.desktop" || die
|
||||
|
||||
domenu "${T}/codium.desktop"
|
||||
domenu "${T}/codium-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscodium.png"
|
||||
|
||||
# Install metainfo
|
||||
insinto /usr/share/metainfo
|
||||
doins "${FILESDIR}/codium.appdata.xml"
|
||||
|
||||
# Install MIME type definitions
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}/codium-workspace.xml"
|
||||
|
||||
# Install completions
|
||||
newbashcomp resources/completions/bash/codium codium
|
||||
newzshcomp resources/completions/zsh/_codium _codium
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user