mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
Merge updates from master
This commit is contained in:
@@ -4,3 +4,6 @@ DIST vscode-1.90.1-arm64.tar.gz 140679137 BLAKE2B c9f683d2140819c309f078bbe1f5fd
|
||||
DIST vscode-1.90.2-amd64.tar.gz 143925020 BLAKE2B 726492e28b627bbdd685a3b5582500662de7e6124653fc6fc2b97fbe391e09ae9a486e695abf8da72ecd4ee4959672e178e977669d3e8c32d50f8c4f0884a926 SHA512 9c3b1f209eb69965ca707a861bd874a57ab1bbef70a696b64e11d51bf8ab7b82886ca2c21c279ac7b35b35dd33f38e72bbb4b7195087c4899bd1116771496065
|
||||
DIST vscode-1.90.2-arm.tar.gz 128863205 BLAKE2B 5bfe048eed062e68d911416c5c84b0a094aee036b03cbcddd223766f3891cebb17aa0446213f38c1df0ff2b4de7f27ddbe05a3e68fa7d949f5feda0e26fc7d6e SHA512 b5bf2f145d422dfa684eba5bba523bd16dc7ecb29cbddc06ab3091148e4f0ee296ee58a87fdcf47e80cdc3d188fff0ef8926c0e0305db3d1078a1ada8c9ecb67
|
||||
DIST vscode-1.90.2-arm64.tar.gz 140680835 BLAKE2B 6776979819c6743f7338a4a9e159c51fcbe1123b2f5150cdcdfdd0496b77c0e3a4cfaf17752b8c77bc2a6f37366c04fa6414c666811057eb6d0a0f5ff5f6a197 SHA512 40245db6e4035846f3bd90e38bc7686d8cb2c74c04caf2acae46f5bbfc51d0f1cbf032faf3c809dde5b286a94bb109821a35d79b797c99ccc19f27e2136e3668
|
||||
DIST vscode-1.91.0-amd64.tar.gz 142201249 BLAKE2B c4b18679418a3b3ddb4eb306563b5f684756702df2ae5164976f0a00b04246ecfb5582f64d53d29c3e54895b7503760fbf08568b956b329523ea90008c65f582 SHA512 273d0dbe74df45c7cec7a42edc4e5cc80fb83891e3754087e62815579dde47d86110649c3cfdf0edd699fd6430e17fd2a3746a50a664d8b1a2af68134e35f94a
|
||||
DIST vscode-1.91.0-arm.tar.gz 127164708 BLAKE2B fa5c01d7aaceb3268bdd08f84e2975e05ad93af6d64cb0d1b3ad2225ba9cf3861080c59c3f6f77f1dfd4f7aa6d9bb82c80018a69c1c8c4589cc312ee39846876 SHA512 d92fa2a368cdee1d38e709926ad5c67ff0e5b49ff233203f03f93ec500dfb278205f2d046731bac18886a11cf424e627e598729da53b15e04d2cc3b5bad7013c
|
||||
DIST vscode-1.91.0-arm64.tar.gz 138968980 BLAKE2B 591a068e0de00a5898c9f2c83aaae7d1e2596dd2df0c85cb5a27d785d7678285e3d31c52aef204404e6805b5ccbf3ceb2b85d3bb0a309be838a5773c21ffbaba SHA512 2ece6eff89a742379a3e7c242c58d0f6926430a1f3d45d08f319ff5c1151d7f7c6bf98ec9a6906f367b493e3208cb58e85ee6e05215fd0526c39d11c7d7704e9
|
||||
|
||||
@@ -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.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"
|
||||
|
||||
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"
|
||||
}
|
||||
@@ -13,7 +13,7 @@ SRC_URI="http://ftp.lyx.org/pub/lyx/devel/lyx-$(ver_cut 1-2)/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
KEYWORDS="amd64 ~arm64"
|
||||
IUSE="aspell cups dia dot enchant gnumeric html +hunspell +latex monolithic-build nls rcs rtf svg l10n_he"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="test"
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
DIST gentoo-bashcomp-20240511.tar.bz2 21695 BLAKE2B 886a80eafbb923b5ccb5c9e6e0749b66878003d99e0ddf8fc3d07c072fd23cb3277eb254c4687695459fe8401d427dee2779bc29f2a48ab1c6f2b4bfe7d4ef0d SHA512 3e5add581268e7911eb18d1958e4db3b549b2afc496231dcf537abe5409fdd4fa045c6f61538be6c2686888e20ad0d0b714ecf82639a9ae0ec6eecedc378b78d
|
||||
DIST gentoo-bashcomp-20240525.tar.bz2 23392 BLAKE2B 03da7f6a077382efaac9c9ddad2ef6bcf21704574378a400aeeb0ec2b88934c3aac10009912ad6f0d06ae410c42d6013acaf4629f3c6f46abb19b0d1e000c1d9 SHA512 5017f2e106e2b3f1335f1edbce7ede1fd918bd701a1082ec8cd71f1cedad9480109d82381d56587cb6da4dd04c210f9f51dbaaf8b2aa419abbc6fab73825226a
|
||||
DIST gentoo-bashcomp-20240625.tar.bz2 23794 BLAKE2B 567131238e24744a5083ad8ec484d4342b6891e95b999d11d809da769d8f2ad3536f7da769f0d291663b9c3be46fe67d261cbdcf59a0f846e4f08a66b4106571 SHA512 1b5476ba7cb1b7c2f1d51c03d592245718fb4c2c07ff5171aee1bfa0def2a2f0bbff7a38950d18e3646285e7432cedee0ee75eed1c6348946793f011de4ddcbf
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-bashcomp.git/"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install \
|
||||
completionsdir="$(get_bashcompdir)" \
|
||||
helpersdir="$(get_bashhelpersdir)" \
|
||||
compatdir="${EPREFIX}/etc/bash_completion.d"
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-bashcomp.git/"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install \
|
||||
completionsdir="$(get_bashcompdir)" \
|
||||
helpersdir="$(get_bashhelpersdir)" \
|
||||
compatdir="${EPREFIX}/etc/bash_completion.d"
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST zsh-completions-0.34.0.tar.gz 304543 BLAKE2B 75afed3059e889f92843099ad3eddae1f939a7d9a46d87a8048c5742b44699c2da13a9c2ea00ca2ea02898472199f064c420aac8943338e3b22189a7cc0d23b4 SHA512 643e967a77ab708c6316a9b43edd8b411f133aa4abe10bf69d3f5e545b2128423ad80d3509e7f9077b30cb8a83f60fe8d4355ed0a697dadffe1e1aaac6597c04
|
||||
DIST zsh-completions-0.35.0.tar.gz 329686 BLAKE2B 22b4dff55749852a41373a8d96b01963f47dc1fbee0f2ff2a21e5ec48e43b022967630dd3ad2dc74793efe1f3bf77d6783161b671730d2e726df913981a676da SHA512 d6ab46db72b311731abca41e82fded954a43a1e13b81deb7b0acf7d85402ef575c69ead66af97dc2c148a1e681f39e48cfcab53993207f2b786bfe20228587e6
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/zsh-users/zsh-completions.git"
|
||||
else
|
||||
SRC_URI="https://github.com/zsh-users/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Additional completion definitions for Zsh"
|
||||
HOMEPAGE="https://github.com/zsh-users/zsh-completions"
|
||||
|
||||
LICENSE="Apache-2.0 BSD MIT ZSH"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="app-shells/zsh"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins src/_*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you happen to compile your functions, you may need to delete"
|
||||
elog "~/.zcompdump{,.zwc} and recompile to make the new completions available"
|
||||
elog "to your shell."
|
||||
}
|
||||
Reference in New Issue
Block a user