Various updates

This commit is contained in:
layman 2023-01-11 13:59:35 +01:00
parent 41fa3c7dc8
commit b76693b8d6
7 changed files with 240 additions and 2 deletions

View File

@ -2,4 +2,6 @@ AUX kikit 205 BLAKE2B 35fc0aedeb0295b5bce775b1239a61f9aade6719194045caa8b9d0c0ad
AUX kikit-info 207 BLAKE2B 7fe87332597c79e911ba231de7198810b169f88335766d5adaa1a53b535efaf739466cdff5b9d4b8873b862290dbaa5b98431add5eefd24fda7398089cb21461 SHA512 15720d4ea4ee1a259519d5b94509eff3c36830e63654525074afc01daf646396f57b88bab1c2bc18adae322c7d963f604268772e5f931b9b79e54064bb384c90 AUX kikit-info 207 BLAKE2B 7fe87332597c79e911ba231de7198810b169f88335766d5adaa1a53b535efaf739466cdff5b9d4b8873b862290dbaa5b98431add5eefd24fda7398089cb21461 SHA512 15720d4ea4ee1a259519d5b94509eff3c36830e63654525074afc01daf646396f57b88bab1c2bc18adae322c7d963f604268772e5f931b9b79e54064bb384c90
AUX kikit-plugin 209 BLAKE2B ec92753c891f310f4f4f8a9fc245220565ea5f7fea41c12b6dcd9a276a9f3dc599fbb0db1902fbd84382bdf17d18d90584184ba407c2c8b7ec2533a687a8a530 SHA512 3283843e09272bbebfaae0cb3545c5a107ae24720c4817a03b47e4415f65b2733dd79af0551fc79db548116da452ee9decebbecf97776d9c3546ff99fed6c126 AUX kikit-plugin 209 BLAKE2B ec92753c891f310f4f4f8a9fc245220565ea5f7fea41c12b6dcd9a276a9f3dc599fbb0db1902fbd84382bdf17d18d90584184ba407c2c8b7ec2533a687a8a530 SHA512 3283843e09272bbebfaae0cb3545c5a107ae24720c4817a03b47e4415f65b2733dd79af0551fc79db548116da452ee9decebbecf97776d9c3546ff99fed6c126
AUX kikit_plugin.py 106 BLAKE2B dfc9e818c59d5b59a6a31d8394b8cb00a3839450f1563ea2124d84935276b26125e9dd078f8e6cdc0f057d9865358cc11694188f3c0fea58e2829dd39c5d881d SHA512 ff8907d3f044384261ad1340c5c234edf5a3cd8cce1bb97753aee3fb6c85c19d0ac0ad187fda5bfc88a850d5812a07fc41f0f8e62cdb8f68aad59974d00a94e0 AUX kikit_plugin.py 106 BLAKE2B dfc9e818c59d5b59a6a31d8394b8cb00a3839450f1563ea2124d84935276b26125e9dd078f8e6cdc0f057d9865358cc11694188f3c0fea58e2829dd39c5d881d SHA512 ff8907d3f044384261ad1340c5c234edf5a3cd8cce1bb97753aee3fb6c85c19d0ac0ad187fda5bfc88a850d5812a07fc41f0f8e62cdb8f68aad59974d00a94e0
DIST kikit-1.1.0.tar.gz 229899 BLAKE2B cbf2d0b35a8ad41b3e605435a6d887c2d07c4aaea2a33a4ed9c3f8b4c9b1ebc3a543ab85283c11fedc28ffe88e6e12a132e05145b0a3e65779aab334354e8701 SHA512 65639b09ebb3ba087621045261fe7db4eef1b5cb851891ae5ef0254cbc096663d2151028a2ea8a5c747f065edfe52d36debdce13894ac02ee41a3d6b2e004e45
EBUILD kikit-1.1.0.ebuild 1599 BLAKE2B 99391c81442d9494e88e8cf2f8a043d6321e6f91f6b1359082c6e6424d3be27b4a44f5165e5061dba779afdee32de6793bac1249f5f39c7a633fc222deb489be SHA512 9606a1eb6333daf028e5c8f699a0866b516dfc76cdc88012072af255c418748de9161f652a4cad5b487b18a4b4dc0fa8110e83988fb3dd573d70506b6274a7c7
EBUILD kikit-9999.ebuild 1554 BLAKE2B 74db7b6c7cb96a8fa53221fbbd861aae69cd22fe9de1515e204fe8a0dc127e0aab01258f6c5260ceeb0ca2e96eecc8e62a25bb4c62ce2f89d5f8d17d1e9795bb SHA512 d61dc94f2daf38054325cd632b8bf3d1e0718324959a9066cdc08939be5463d5c00f5e0dc363f7a750cd31f333b83868be02a1ddb822943056c84431aa711f18 EBUILD kikit-9999.ebuild 1554 BLAKE2B 74db7b6c7cb96a8fa53221fbbd861aae69cd22fe9de1515e204fe8a0dc127e0aab01258f6c5260ceeb0ca2e96eecc8e62a25bb4c62ce2f89d5f8d17d1e9795bb SHA512 d61dc94f2daf38054325cd632b8bf3d1e0718324959a9066cdc08939be5463d5c00f5e0dc363f7a750cd31f333b83868be02a1ddb822943056c84431aa711f18

View File

@ -0,0 +1,67 @@
## Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit python-single-r1
MY_PN="KiKit"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="KiKit is a Python library and CLI tool to automate several tasks in a standard KiCAD workflow"
HOMEPAGE="https://github.com/yaqwsx/KiKit"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/yaqwsx/${MY_PN}.git"
KEYWORDS=""
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="$(python_gen_cond_dep '
dev-python/click[${PYTHON_USEDEP}]
>=dev-python/commentjson-0.9.0[${PYTHON_USEDEP}]
dev-python/markdown2[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pcbdraw[${PYTHON_SINGLE_USEDEP}]
dev-python/pcbnewtransition[${PYTHON_SINGLE_USEDEP}]
dev-python/pybars3[${PYTHON_USEDEP}]
>=dev-python/shapely-1.7[${PYTHON_USEDEP}]
>=dev-python/solidpython-1.1.2[${PYTHON_USEDEP}]
sci-electronics/kicad[${PYTHON_SINGLE_USEDEP}]
')
"
DEPEND="${RDEPEND}
$(python_gen_cond_dep '
dev-python/versioneer[${PYTHON_USEDEP}]
')
"
src_compile() {
true
}
src_install() {
python_domodule ${PN}
python_doscript ${FILESDIR}/kikit{,-info,-plugin}
insinto /usr/share/kicad/scripting
doins ${FILESDIR}/kikit_plugin.py
dodoc LICENCE README.md
if [[ ${PV} == "9999" ]] ; then
dodoc -r doc
dodoc -r scripts
fi
}

View File

@ -1,5 +1,5 @@
AUX claws-mail-3.15.0-old_profile_segfault.patch 2758 BLAKE2B 64b98598814de6ac03894a7750a1da40edda7b8468c32b87f74c83f1fd6027c51d1804a95570909525630b7aff6f1eac81c1d8ad55f87538f32f03bac85aad83 SHA512 3ef1a001b6817d42b626754160aeb971263cca066294d9683403079d08eadbe86a9661ff6dbc8f3034c10db12d6d8b99a74f22f315b03fcf6e8ee581ca44583b AUX claws-mail-3.15.0-old_profile_segfault.patch 2758 BLAKE2B 64b98598814de6ac03894a7750a1da40edda7b8468c32b87f74c83f1fd6027c51d1804a95570909525630b7aff6f1eac81c1d8ad55f87538f32f03bac85aad83 SHA512 3ef1a001b6817d42b626754160aeb971263cca066294d9683403079d08eadbe86a9661ff6dbc8f3034c10db12d6d8b99a74f22f315b03fcf6e8ee581ca44583b
AUX claws-mail-3.17.4-libetpan_pkgconfig.patch 4483 BLAKE2B b28520c658214e9f6ad4bd0d48835e29f8b37aa7b3915add2d71b8ee7dc3366c38db1de9272dfe8e48588cebf748e6c844f04bc721fe577f66288b849e5c7054 SHA512 39e70ba2edfad857d4c042db0fa38ac806cf188d1cf7642b92d0115e162349919df7b98ade49da822fb1b299c5ef06d221b5c600e218ed33e0e8a48c3635d0a2 AUX claws-mail-3.17.4-libetpan_pkgconfig.patch 4483 BLAKE2B b28520c658214e9f6ad4bd0d48835e29f8b37aa7b3915add2d71b8ee7dc3366c38db1de9272dfe8e48588cebf748e6c844f04bc721fe577f66288b849e5c7054 SHA512 39e70ba2edfad857d4c042db0fa38ac806cf188d1cf7642b92d0115e162349919df7b98ade49da822fb1b299c5ef06d221b5c600e218ed33e0e8a48c3635d0a2
AUX claws-mail-3.17.5-enchant-2_default.patch 1284 BLAKE2B 076c2aa8c121e656a0b15f341b6a4b13a114348faba4bb0f298306379b26374c45719702949a5e64f35f718bd656366838ea6b867c7b18fef588f37d7d99cd9f SHA512 ac7ae41be0bc8303974c9f675ab9a0d3e6b5fbae8d569d0b87dfe2e2f72c22f3cefb64796107e393a392b8be1aa7c8d93319cd06cf57ac7517067091ff69da05 AUX claws-mail-3.17.5-enchant-2_default.patch 1284 BLAKE2B 076c2aa8c121e656a0b15f341b6a4b13a114348faba4bb0f298306379b26374c45719702949a5e64f35f718bd656366838ea6b867c7b18fef588f37d7d99cd9f SHA512 ac7ae41be0bc8303974c9f675ab9a0d3e6b5fbae8d569d0b87dfe2e2f72c22f3cefb64796107e393a392b8be1aa7c8d93319cd06cf57ac7517067091ff69da05
EBUILD claws-mail-9999.ebuild 5703 BLAKE2B 438e8b2193afbe73da5691886a5972d43adcc4beccdc71e8f1f0d214b30fa6ce3070df16b8f04c9056d58cd851a27473bc4113e0034ec786b6502e99b7ea082c SHA512 e1bd1d85dc38cea40df96065488d5756b07d3c9c59787ffcd963d07ec8dd397c8bd569d7d01cb1daa37acdf489ef8d5ab996ee3b8db5b194b85a0d9e1f4561f0 EBUILD claws-mail-9999.ebuild 5705 BLAKE2B c454da6739ab329ebf4c92bae0ed03f16f443a81905d9bf55a9c685119f41d82bb396270cf4565f318be498655b29d8180f349d01215e7c8b39aa73a88cbfd0c SHA512 322b808005153d7e2a0a10b8d12e13f88570eb98ba944d8224b3e7d8de579dd536987dc7ac62264f260ba6a1ad24ee28970aefb90d7472bfe540c7acb839fd22
MISC metadata.xml 1661 BLAKE2B ce48032773773b29728b3a6a177c43572e4c6df0f50df4e17935df77a317f1107527a82fd576765fca018edd73bb31e165029258e49640ed84ff9061f6f1a53f SHA512 5e297601a56a53db9e2463da1e785b0d8e7a358b9df68689c1a3da4efc5d3ffccc92af7ee2202d67e4c6226b298bb562fa0f590fd36a425749e21b1c15516076 MISC metadata.xml 1661 BLAKE2B ce48032773773b29728b3a6a177c43572e4c6df0f50df4e17935df77a317f1107527a82fd576765fca018edd73bb31e165029258e49640ed84ff9061f6f1a53f SHA512 5e297601a56a53db9e2463da1e785b0d8e7a358b9df68689c1a3da4efc5d3ffccc92af7ee2202d67e4c6226b298bb562fa0f590fd36a425749e21b1c15516076

View File

@ -13,7 +13,7 @@ HOMEPAGE="https://www.claws-mail.org/"
if [[ "${PV}" == *9999 ]] ; then if [[ "${PV}" == *9999 ]] ; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git" EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git"
EGIT_BRANCH="gtk3" EGIT_BRANCH="master"
else else
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz" SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"

View File

@ -0,0 +1,3 @@
DIST discord-0.0.22.tar.gz 77553233 BLAKE2B c0c9a5a9b088a3f619f498c345f46f5e43712c353f723427a1ffd95a2a66817e8d5e5298a8290d88df807251cc156db0e26ec1403ed4b3cba241b624d436346b SHA512 96c8486577bee7ae165bf96aab50c0733d83a2d9435357d9a4d9a3e9f3225ae6a7bf46e1a7d8b419ecc7ab4e270755332621a4f786ddb89a842379f5da40b271
EBUILD discord-bin-0.0.22.ebuild 3815 BLAKE2B f80d35014beec420549387e8816846018e76c405208eca94b00321488c08e40e5d77c2023a7eef9964a2de947233be48633cebe62c134b960c347ce8e2edf005 SHA512 ea6e13c461190262108c9e2c974b1dd6da814bdb198791996d94aa821b31054c0fb42b80d0aa68e18da98b9901e82bdab5da7c219c46c1c0a9a7bb1dbdef898e
MISC metadata.xml 521 BLAKE2B d35802fb6784e2029bd0478c24ec5d4c43f7183c4c94c3aea0c7c3e172855d1f4fe1ee5e163b7d5d1b41d2cdcf9bc5b9ecc56e4556e2ab8ffdc5503f19f0ee87 SHA512 3d0e4099b7881affc0a6e6cc6bb13d68a83df833db8def22d60d441f27ad576f88651f6f4133b82146e9e346cc646c2d347c517ec5e90d01118e1a1f9d2bdfa1

View File

@ -0,0 +1,151 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN/-bin/}"
MY_PV="${PV/-r*/}"
CHROMIUM_LANGS="
am ar bg bn ca cs da de el en-GB en-US 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 vi zh-CN zh-TW
"
inherit chromium-2 desktop linux-info optfeature unpacker xdg
DESCRIPTION="All-in-one voice and text chat for gamers"
HOMEPAGE="https://discordapp.com"
SRC_URI="https://dl.discordapp.net/apps/linux/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="amd64"
RESTRICT="bindist mirror strip test"
IUSE="+seccomp system-ffmpeg"
RDEPEND="
|| (
>=app-accessibility/at-spi2-core-2.46.0:2
( app-accessibility/at-spi2-atk dev-libs/atk )
)
app-crypt/libsecret
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/fontconfig
media-libs/mesa[gbm(+)]
net-print/cups
sys-apps/dbus
sys-apps/util-linux
sys-libs/glibc
x11-libs/cairo
x11-libs/libdrm
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/libxshmfence
x11-libs/pango
system-ffmpeg? ( media-video/ffmpeg[chromium] )
"
DESTDIR="/opt/${MY_PN}"
QA_PREBUILT="
${DESTDIR#/}/${MY_PN^}
${DESTDIR#/}/chrome-sandbox
${DESTDIR#/}/libffmpeg.so
${DESTDIR#/}/libvk_swiftshader.so
${DESTDIR#/}/libvulkan.so
${DESTDIR#/}/libEGL.so
${DESTDIR#/}/libGLESv2.so
${DESTDIR#/}/libVkICD_mock_icd.so
${DESTDIR#/}/swiftshader/libEGL.so
${DESTDIR#/}/swiftshader/libGLESv2.so
${DESTDIR#/}/swiftshader/libvk_swiftshader.so
"
CONFIG_CHECK="~USER_NS"
S="${WORKDIR}/${MY_PN^}"
src_unpack() {
unpack ${MY_PN}-${MY_PV}.tar.gz
}
src_configure() {
default
chromium_suid_sandbox_check_kernel_config
}
src_prepare() {
default
# remove post-install script
rm postinst.sh || die "the removal of the unneeded post-install script failed"
# cleanup languages
pushd "locales/" >/dev/null || die "location change for language cleanup failed"
chromium_remove_language_paks
popd >/dev/null || die "location reset for language cleanup failed"
# fix .desktop exec location
sed -i "/Exec/s:/usr/share/discord/Discord:${DESTDIR}/${MY_PN^}:" \
"${MY_PN}.desktop" ||
die "fixing of exec location on .desktop failed"
# USE seccomp
if ! use seccomp; then
sed -i '/Exec/s/Discord/Discord --disable-seccomp-filter-sandbox/' \
"${MY_PN}.desktop" ||
die "sed failed for seccomp"
fi
# USE system-ffmpeg
if use system-ffmpeg; then
rm libffmpeg.so || die
elog "Using system ffmpeg. This is experimental and may lead to crashes."
fi
}
src_install() {
doicon -s 256 "${MY_PN}.png"
# install .desktop file
domenu "${MY_PN}.desktop"
exeinto "${DESTDIR}"
doexe "${MY_PN^}" chrome-sandbox libEGL.so libGLESv2.so libvk_swiftshader.so
if use system-ffmpeg; then
dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "${DESTDIR}/libffmpeg.so" || die
else
doexe libffmpeg.so
fi
insinto "${DESTDIR}"
doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin
insopts -m0755
doins -r locales resources swiftshader
# Chrome-sandbox requires the setuid bit to be specifically set.
# see https://github.com/electron/electron/issues/17972
fowners root "${DESTDIR}/chrome-sandbox"
fperms 4711 "${DESTDIR}/chrome-sandbox"
dosym "${DESTDIR}/${MY_PN^}" "/usr/bin/${MY_PN}"
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "sound support" \
media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire
optfeature "system tray support" dev-libs/libappindicator
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>ran.dall@icloud.com</email>
<name>Randall T. Vasquez</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="system-ffmpeg">Use the system-wide <pkg>media-video/ffmpeg</pkg> instead of bundled</flag>
</use>
</pkgmetadata>