Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-05-25 02:31:49 +00:00
45 changed files with 486 additions and 53 deletions

View File

@@ -38,6 +38,7 @@ RDEPEND="
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libxkbcommon
x11-libs/libxkbfile
x11-libs/libXrandr
x11-libs/libXrender
@@ -72,6 +73,10 @@ src_install(){
fperms +x /opt/Pulsar/resources/app.asar.unpacked/node_modules/fuzzy-finder/node_modules/vscode-ripgrep/bin/rg
fperms +x /opt/Pulsar/resources/app.asar.unpacked/node_modules/whats-my-line/node_modules/dugite/git/bin/git
# Bug #906939
rm "${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins/python3
rmdir "${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins
doicon resources/pulsar.png
make_desktop_entry "/usr/bin/pulsar %F" "Pulsar" "pulsar" \
"GNOME;GTK;Utility;TextEditor;Development;" \

View File

@@ -1,14 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<maintainer type="person">
<email>quincyf467@protonmail.com</email>
<name>Quincy Fleming</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="lto">Enable Link Time Optimization (LTO)</flag>
</use>

View File

@@ -1,5 +1,5 @@
DIST anki-2.1.63-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13022324 BLAKE2B 524d44d0b6a5c233ebb3fa68c63ba736bbb81c43f8c85882782220948173a1472b9c1408727b8fd770682554c69e573cb589da123cf7854c8de305f67ed910fb SHA512 61a8ee5278be364cb130d33c9e7f14b2f36baf922e94eda284744d9bf537c5e708fa19c40b26161038a12353de34187deacc42c64e9aadaa5095128a02055536
DIST anki-bin-2.1.63.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.63.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.63.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.63-py3-none-any.whl.zip 6531126 BLAKE2B c256278447cd52544b2efe481712c6be9471787f4d8ab3bf6bac5323d3c5563dc4e2e5c82fec6099e5317b8485e16b7e3c89d5048004e55d7c306373769a38f9 SHA512 a4bf0acd942acab1ce90711c975673cf664f9bd1f2b154fd1fb9ecec54992a2c1ea0b5406b71f6f916d9f4aac2bf29a830b5fc531e67efe48e664d12839136cc
DIST anki-2.1.64-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13039104 BLAKE2B f53bd793d2fa977691519e0aedc43485e4bf58c62735d6e6f70ef168237fe69a24283868ae6bc069de3b2292f78481670355b7832ffacc286d0fe9daefeeb2f1 SHA512 112fea989e7321e10caa4c570784034463af760605d680ac9c8103c578ab5462881a5925ff6534785b368f8360966d34a15eea83b9638f802d9450232159315f
DIST anki-bin-2.1.64.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.64.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.64.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.64-py3-none-any.whl.zip 6539634 BLAKE2B 1843d766550c1be4f68522a9f0c79976848d6cec29a2e5b6303ba6af8f54ec8e0f4173b9c2585f0a84ea87e8d1f152056e56fe2c0251ab3882e90d357e4e284e SHA512 e0b7810a251c62719e57a2fbc543993244fffea9cb56beda77ed22e0339b305c12840a7aee6e3484e2dbf378bf4bf731d42fb139d67fd83ba7fcbf02932a6ec0

View File

@@ -6,7 +6,7 @@ EAPI=8
### A NOTE REGARDING PYTHON COMPATABILITY ###
# Anki-bin downloads a python 3.9 wheel. However the wheel used has only one native library _rsbridge.so
# that is not linked against libpython.
# The configuration with Python 3.10 was tested on a limited number of machines and is not guaranteed to work.
# The configuration with Python 3.{10,11} was tested on a limited number of machines and is not guaranteed to work.
PYTHON_COMPAT=( python3_{10..11} )
inherit desktop python-single-r1 pypi xdg
@@ -29,7 +29,8 @@ IUSE="qt6"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
QA_PREBUILT="usr/lib/*"
DEPEND="
RDEPEND="
$(python_gen_cond_dep '
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
@@ -60,8 +61,6 @@ qt6? (
>=dev-python/PyQt6-WebEngine-6.5.0[widgets,${PYTHON_USEDEP}]
')
)
"
RDEPEND="${DEPEND}
${PYTHON_DEPS}
!app-misc/anki
"

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_10 )
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1

View File

@@ -1,3 +1,2 @@
DIST dpp-10.0.22.tar.gz 13712205 BLAKE2B b935b763f87bfd1058e72f8d297fda136f532a03a5b9f3a6e3471f0ce64988c9615105fb1eb9b19192844cdaab9d332f355dfc22f8bcdbf977eec3eb5f0b8df3 SHA512 6c71673b47d559ef4f04b30cd72a3bd0a31b72ffe6d73dd17470a7e754eba75d21218ebd247702441db45549e5dcea9b200f3d435dd3a9af76fda90740ca4f1a
DIST dpp-10.0.23.tar.gz 13721815 BLAKE2B abbe6849025270554f8462dcbef6adefff412ee06216c19a730f236cd44c7e4da1c6b801f2b10a493df253626a4af9b8132aa155c7f585fe3de35eaa5c5cf4df SHA512 18bbb7d2c1385d179cac9ded31d1b11e8d24f172e7ffe2ba79071203e1e2f277657e21d660b18ee4b849bc093d350f4bc5401702400084b56c3ebd6f03ce28df
DIST dpp-890014-rework-compiler-flags.patch 6670 BLAKE2B f23ad8f7347841aa924b82b706fbdc5ff5ceac9e90e6c01c28f13117619235a057648e30cdb92d5e3401c228c7497e8804e894d2dfd5d3591e2860746acfcaa2 SHA512 c5777efab36187b59ac8c0d5177752c4f605e584b0f3f2435bf210f792879df0461d64332725e4c47e19f026b3b11eeb2d243425bab9f888cf239dafbedc3890
DIST dpp-10.0.24.tar.gz 13739463 BLAKE2B 0531d9d14b943302293aac62a3972a4628487332107b77ca6d09ae39ae8a9d1cfeceae1a656790cc8699932af9c5d46a0ae5bc26885a9c29cc970388cdb60f3f SHA512 2f1e5415c121d5f19d2abb1b389512ad22c3cac6779ed897403d430b2c4e62c758ab25d46a3fd02538add711073fadd616a690b4981f3782e46c18ff05d116dc

View File

@@ -9,7 +9,6 @@ DESCRIPTION="Lightweight C++ Discord bot library"
HOMEPAGE="https://dpp.dev/ https://github.com/brainboxdotcc/DPP"
SRC_URI="
https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://patch-diff.githubusercontent.com/raw/brainboxdotcc/DPP/pull/596.patch -> ${PN}-890014-rework-compiler-flags.patch
"
LICENSE="Apache-2.0"
@@ -28,25 +27,25 @@ RDEPEND="
media-libs/opus
)
"
DEPEND="${RDEPEND}"
DEPEND="
${RDEPEND}
dev-cpp/nlohmann_json
"
S="${WORKDIR}/DPP-${PV}"
DOCS=( "README.md" "SECURITY.md" )
PATCHES=(
# Backport of the compiler flag setting fixes, remove after 10.0.22, https://bugs.gentoo.org/890014
"${DISTDIR}/${PN}-890014-rework-compiler-flags.patch"
)
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=true
-DBUILD_VOICE_SUPPORT=$(usex voice)
-DBUILD_VOICE_SUPPORT="$(usex voice)"
-DRUN_LDCONFIG=false
# Tests require network access
-DDPP_BUILD_TEST=false
-DDPP_NO_VCPKG=true
-DDPP_USE_EXTERNAL_JSON=true
)
cmake_src_configure

View File

@@ -1 +1 @@
DIST guidata-2.3.0.tar.gz 520106 BLAKE2B 6f2997082bef75e6fe73b5ab757984ad8209ca4dc51a3e675ffb9d3670806659f59429d67ddf661e4efd741103be56301e503842512d5642593c2087721c2791 SHA512 f9d11d79f1adba0100d94c6a6db3301201eef890e1ab18523ffbab2d5cce98b7fbe858d87cb8193b152b9b9ef9e55773989a030ed1e349647d0b0a7edb3f034e
DIST guidata-2.3.1.tar.gz 504812 BLAKE2B 4b2e5e07ee76bbeb95a9a55a4cde1d409d2438fe5273a0f154d34e8beb9934f810b29a33ef508009e38c589d57402aef55d346b93856fc744e7a8236748f5e86 SHA512 7488ca8c761394dfd9d58a8ac3c96dc963adab6df278823fb1a7d9132febc16e275908034ef48381d696668add43f62438fab1ba22f70f5e08f33b14a81082c5

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_10 )
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1 pypi

View File

@@ -0,0 +1,44 @@
From 71f3455f73eedef78ccf79c17ed5adbb36d11eeb Mon Sep 17 00:00:00 2001
From: YiFei Zhu <zhuyifei1999@gmail.com>
Date: Mon, 22 May 2023 15:54:24 -0700
Subject: [PATCH] nodegraph: Fix refcount sanity assertion for Python 3.11
Python 3.11 created immortal objects whose initial refcount is
999999999, larger than 0xa000000. This breaks the assertin here.
Caught by https://bugs.gentoo.org/906937
Fortunately I don't seem to need to do a new release with this fix
because the wheels are built with -DNDEBUG.
---
src/heapy/nodegraph.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/heapy/nodegraph.c b/src/heapy/nodegraph.c
index 2fd9c83..765f5ee 100644
--- a/src/heapy/nodegraph.c
+++ b/src/heapy/nodegraph.c
@@ -148,8 +148,18 @@ NyNodeGraph_AddEdge(NyNodeGraphObject *ng, PyObject *src, PyObject *tgt)
ng->edges[ng->used_size-1].tgt == tgt)
return 0;
- assert(Py_REFCNT(src) < 0xa000000 && (Py_uintptr_t)Py_TYPE(src) > 0x1000);
- assert(Py_REFCNT(tgt) < 0xa000000 && (Py_uintptr_t)Py_TYPE(tgt) > 0x1000);
+#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION >= 11
+ /* Py >= 3.11 _PyObject_IMMORTAL_INIT sets initial refcount of 999999999 */
+ assert((Py_uintptr_t)Py_TYPE(src) > 0x1000 &&
+ (Py_REFCNT(src) < 0xa000000 ||
+ (Py_REFCNT(src) >= 999999999 && Py_REFCNT(src) < 999999999 + 0xa000000)));
+ assert((Py_uintptr_t)Py_TYPE(tgt) > 0x1000 &&
+ (Py_REFCNT(tgt) < 0xa000000 ||
+ (Py_REFCNT(tgt) >= 999999999 && Py_REFCNT(tgt) < 999999999 + 0xa000000)));
+#else
+ assert((Py_uintptr_t)Py_TYPE(src) > 0x1000 && Py_REFCNT(src) < 0xa000000);
+ assert((Py_uintptr_t)Py_TYPE(tgt) > 0x1000 && Py_REFCNT(tgt) < 0xa000000);
+#endif
if (ng->used_size >= ng->allo_size) {
Py_ssize_t allo = roundupsize(ng->used_size + 1);
--
2.40.1

View File

@@ -18,6 +18,10 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PATCHES=(
"${FILESDIR}"/guppy3-3.1.3-py311-refcount-assert.patch
)
python_test() {
cd "${T}" || die
"${EPYTHON}" "${S}"/guppy/heapy/test/test_all.py || die

View File

@@ -1 +1 @@
DIST jplephem-2.16.tar.gz 40918 BLAKE2B 90a14b424f4c48bb754bd4cca6a9e1d5e2a4cc51821234118889cc854c119c60b66c0157deae60f88b7368d8914124ec95ec1ac7646479cd79ee759515a1af09 SHA512 02bd3bac834726f1f41fbed9e3e7edc9ba3d00c394099248f9e1da48730c620d83880e24a3b29916becd7ced284efc7388ed98d5bf204a6fc53ec9e016ce0cf0
DIST jplephem-2.18.tar.gz 40886 BLAKE2B c6beb3cb2aec7d82023a253f9b5bafd989fbc7631b1b727322bf8f092509eeb25c6921d550c7bb5862be74d493a19ca29b3835f9a18efbd44509d4776ca660f6 SHA512 8f3117445f33de25d1f1eb5b5cfa0f67d92e62e7ac8d7a32f92690d12533ef8cd5498a62b5ee9cb7dac6f43c944879bbf10aa73950a749caa02d814f81b37fbf

View File

@@ -1,10 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python3_10 )
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1 pypi

View File

@@ -1 +1,2 @@
DIST mautrix-0.19.13.tar.gz 245169 BLAKE2B 036794b984f1979a63a1396a52dfd639dfcc33fcb9bf6b564b13d3e80fdbae69a8b5cea564751a5256fe91349a4014f703094aca6e0303550f90067fc0f8b9ea SHA512 f8cd545a1fa3f7825f97dfb11e5d3a3b9ef1b72e1a387ea23d14320be912eceda2c386db94b38a9971c6c1d50720fdabbd51feb899f8d5c029b8f2965623886e
DIST mautrix-0.19.14.tar.gz 244703 BLAKE2B 41c1bc32bca6f700283201ef52fa78a20b87665dbefbe9ad436dd6bb82d5446e744f6db041ba0ace33b13f8afcc8cf6e0e2f5478b6f41cac365320905e3fbe9e SHA512 7319716dd1b03f9677601002e08bf88ae870e283b32499fc38a9c77edf22f5702dbbded0e555de38a43d7b4d1b17bdd4e6579d79d6b22ece476057ebb1a2a62c

View File

@@ -0,0 +1,39 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="A Python 3 asyncio Matrix framework"
HOMEPAGE="https://github.com/mautrix/python/"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/olm[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/unpaddedbase64[${PYTHON_USEDEP}]
dev-python/yarl[${PYTHON_USEDEP}]
test? (
dev-python/aiosqlite[${PYTHON_USEDEP}]
dev-python/asyncpg[${PYTHON_USEDEP}]
<dev-python/sqlalchemy-2[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"
distutils_enable_tests pytest
pkg_postinst() {
optfeature "media transcoding" media-video/ffmpeg
}

View File

@@ -1 +1,2 @@
DIST minio-7.1.14.tar.gz 117073 BLAKE2B b2d7d5d0eea342d8d8c533899980ad36278e368f292094a93457aeea940900beabbfc215b7d549b2bceb96acccb53501344fbcc5b69262b8705965e3a26c7a08 SHA512 841032aa014454158150e7feb54f0b3d11e7d4fc5d4581322a109abdaa33291e82481f794121fcbdcb98049bfab964e7eb38886dbf3fe0d719813c373e0a94cf
DIST minio-7.1.15.tar.gz 115948 BLAKE2B e6bdd304d70c93c12b869e8d0f3a4347351e48f505766dc386a77f85ef6366559f48d1c007583e5c6845052b3bca65fe4964f70a9ad9f3b9146c0cef04eb1a83 SHA512 bb7ac5b1f1f70b0ff36e448097ebf0d9cbd964ddfe31dc452057c17396a85473fd98efedbbdbf81b9b8606bf2a3bab156f174052a2f4095062b18dd7cd5e6a5c

View File

@@ -0,0 +1,23 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="MinIO Client SDK for Python"
HOMEPAGE="https://github.com/minio/minio-py"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
"

View File

@@ -1,11 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_10)
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi

View File

@@ -1,10 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_10 pypy3 )
PYTHON_COMPAT=( python3_11 pypy3 )
inherit distutils-r1
DESCRIPTION="A set of pytest fixtures to test Flask applications "

View File

@@ -1 +1,2 @@
DIST pywebview-3.7.2.tar.gz 440069 BLAKE2B 72a7b53ee72570f3ef0dc2c490f484dca02581490213708b6c45bb487b990d41ca64d477853454549c6cad3543f6381109a2fc54182bb14a720872b1fa240ed9 SHA512 943ce75a29f19b04890e8ae8f3327968b35ba347c8abab9079cfac5e9f93edfa0fbc3999d77a68bb7885d5a7236dc12c75b3a23e1cfbf2fc9fe794089a936db9
DIST pywebview-4.1.tar.gz 30069532 BLAKE2B ca11bb04c4146204d379414fc6de0cd1e583c36feb126c859d8c8bb0e896bf5eb8de946943729e41d0c564c704d140baf765de2807aec0311348e97624c00f3a SHA512 5cca2912adda83043c86f4b1386c70583fa547424b10c19dc2bfc713407cd9001515844b820e2050962fe84373febfaab495f646c56ab1d48207b47f2c535208

View File

@@ -5,4 +5,7 @@
<email>gentoo@tastytea.de</email>
<name>tastytea</name>
</maintainer>
<upstream>
<remote-id type="github">r0x0r/pywebview</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,37 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="A lightweight cross-platform wrapper around a webview component"
HOMEPAGE="https://github.com/r0x0r/pywebview"
SRC_URI="https://github.com/r0x0r/pywebview/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gtk qt5"
REQUIRED_USE="|| ( gtk qt5 )"
RDEPEND="
dev-python/bottle
dev-python/cryptography
dev-python/proxy_tools
gtk? (
dev-python/pygobject[cairo,${PYTHON_USEDEP}]
net-libs/webkit-gtk
)
qt5? (
dev-python/pyside2[${PYTHON_USEDEP},webengine]
dev-python/QtPy[${PYTHON_USEDEP},webengine]
)
"
distutils_enable_tests pytest
RESTRICT="test" # FIXME: tests fail without message

View File

@@ -1,10 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_10 pypy3 )
PYTHON_COMPAT=( python3_{10..11} pypy3 )
inherit distutils-r1 pypi

View File

@@ -1 +1 @@
DIST tweepy-4.10.1.tar.gz 5898710 BLAKE2B da6e411f9021a6de65b4ef083784fc07b086ceefa9e86b35ddbc7843902bfacdca080f7d66a9a1567e8c566731b1ba2da6d7f090c7c7555122da947b1293254d SHA512 bcc22f871cdc016004707d00ef562dd8c75d1cd684d1077d7336970ce76565d698e46cbf6477be70d72f14fa5f6c4a93a37408c5b8993d115108419b96a60b53
DIST tweepy-4.14.0.tar.gz 5914530 BLAKE2B 64f5cfcd889e1726508c89f30b7e88a37eaf73b4d48e3571bfc5226ee52b33c36ea90821f45bbd06cb2e0e69699e3cd382d6a53641d6a31473629f8415d5fbaa SHA512 b4368c379b01cda05bac71cf188c31ad305ee6b1a66c76c6feb9622aa43b7875759763fce95be3ee12798f4948121501af788dc3161fada0d2f4a23bebfb0a1e

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_10 )
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1

View File

@@ -1 +1 @@
DIST types-requests-2.30.0.0.tar.gz 14922 BLAKE2B a682fd934221e6da2deec781d8cd1facf816636d9cc8395d29ae8bf3be958cf1d90420cb54f64f24f8562d6cb613e61100a211e1d627a7abcc82320a4b7bbaa1 SHA512 7ffa1dca0839a581c1ef47846b01f7861b92ec62e90e0fe17ff007de56366a259541653a8df1517d7dc3b46c8fabfbac362b164a21ceb7fb31ae3f6dcc7b605b
DIST types-requests-2.31.0.0.tar.gz 15131 BLAKE2B f4f8a2c981504742b103fe51867d4cfb2c1cb971b069bf451943780027bfdb986ecaf84aa2e51c04654b541b91efa98009d846c2b5a99b5889900c3e2a8ec617 SHA512 d6e043f873f41474182995251aeecf2975eb8255eee286d53c7772b174bbf013ecef3e6d78c05bb7af69fee1da2d4854ec01bf324dc8f5e78b0ca827526e43e7

View File

@@ -1,4 +1,4 @@
DIST bash-language-server-4.9.0-deps.tar.xz 2203152 BLAKE2B fd0aaa05e6fef5e2951ffe55626bca7df4d2609c39b5145daa3cf6100c9732287a33717065db411334cad9805f147acdd29470069b4c4a41ebf2018419809108 SHA512 3c6ff2ff44321adbd805aad749ff3eacc320d276add2f5d68eea6f68c95e26cfeeac8d319d5242514fb69b572fbab64327ab4134e736b5425ffd1ef8d1a0079a
DIST bash-language-server-4.9.0.tgz 190986 BLAKE2B 09b371d143815fc0b839c8c0d5b0e93592077b8cdd396b2f6e028e0feb133ab22fe59e4fd006324d8fb0b5b26816389528001d4210fc2b37d055cc4d8a24fab3 SHA512 acc6ff77935e156be2333b96e4348949643a7879463e7b7402b7ca3f4032934d1b510cdde469404c9d41510f14002606fe79fba54ebe25688b818030df618bdd
DIST bash-language-server-4.9.1-deps.tar.xz 2209120 BLAKE2B 514c8037d075aa7460ccf0332851957ceedb858b83ad677f715579bfb3238eafa472f586aba325f98b0621588ca11fdedc947c7bc2dd1321baedf1e1f733a23f SHA512 9c12990c17571bbccf3271769861fd66c77b15f0158680be2154adf194769de0f2fe1ef576d679723e5c15c4b4d792b403cbae6061b83ee6d079992fe0b100ad
DIST bash-language-server-4.9.1.tgz 191025 BLAKE2B b066db5a7358c904143ed1c81f1f93702e6db7b9b11c86f513fd515d3fc5a60c7d984a63321d5aa998326ccc625d89beaf76bbc3e3da686f43ecc74b581bb20f SHA512 d96d3d4225e0b861f98bdcaf5bab58776f039cb94b2297f415e51f37ccab603d0ed030e6eaac2faaeedb7ce9b190ed809d678227f118de5bfa6fe65cec541cd7
DIST bash-language-server-4.9.2-deps.tar.xz 2215872 BLAKE2B d0c5e67941d3637f34e1fd8492d53fd5142a439a859142cb111d6c205ce95f28ed96de9f09c32db3aa366740d214cb8641e6c67ad761e1562cdefb8805f53137 SHA512 bc51225d5f0ff0256fa62f228488b2c8410440c094d29869c62f28975e6b55d59257526cd0d0162ef19b7db9a8a9cbb83e5410c68256ff20d3965bcbccfb1793
DIST bash-language-server-4.9.2.tgz 191049 BLAKE2B 8a528d75da1f5bf64b1e4c6f2ad09a91129bb1e8837f6311522c4c2d3f02f9c3c24d36c325467127f45b78b6f2622deda0c845786dcc978006cdfcf95fee5f94 SHA512 59c85403759d51b82870b48975d6e61026e47c7c69ee13456c587bacb68f6ea56c2fde74e87658ba694e42ad5f70f1acb35893b2126d418c8fccdb0f5775d96a

2
dev-util/hut/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST hut-0.3.0-vendor.tar.xz 863500 BLAKE2B 2bf717be5d75ba7e0007049d320cca8350d9d7fa53e2408c5a5ea73ec20916844322c84292b23dd6dd97d925590942ded57daf598216a6d2376242050ef3a571 SHA512 b55a5a45619da43d435c4a59f3a9518c7e9509840cfe7583a270a9ef00342f2870c169cd14b097afc6ed8635740b73b2f149d5c3f20f8f964c70442ecb7bf763
DIST hut-0.3.0.tar.gz 116316 BLAKE2B 68400bfa7e7aa90ee4dfd5d9b2a8f6b4d09ef12103fab07b11abab3d9a99d777c11c8a7fde46228c33b73b65467cbe75db77800e428d17dbf21ba00564a2773b SHA512 41e84329b6d35df1abeca2a84352bd0bafaa7d05e7b36ff106d1c297e021dbc7beddd70c43ebfa02f48bad250469917879ee221a7983d132de8a56bc44e9a26b

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="CLI tool for sourcehut"
HOMEPAGE="https://sr.ht/~emersion/hut/"
SRC_URI="
https://git.sr.ht/~emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/apraga/hut-vendor/releases/download/v${PV}/hut-${PV}-vendor.tar.xz
"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND="app-text/scdoc"
src_compile() {
ego build
emake doc/hut.1 completions
}
src_install() {
dobin hut
emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}"
}

15
dev-util/hut/metadata.xml Normal file
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">
<email>alexis.praga@proton.me</email>
<name>Alexis Praga</name>
</maintainer>
<upstream>
<remote-id type="sourcehut">~emersion/hut</remote-id>
<remote-id type="github">apraga/hut-vendor</remote-id>
</upstream>
<longdescription lang="en">
Hut is a command-line tool to interact with sourcehut. It can manage git repositories, builds, publish to pages and pastes.
</longdescription>
</pkgmetadata>

View File

@@ -1,4 +1,4 @@
DIST yaml-language-server-1.11.0-deps.tar.xz 5658516 BLAKE2B a49058ae8e314bcec16750d1aea9213a2cfb5dc47e8f388d6b77ac27f75387a6fdc064fbae89e4600a3dd4a75b64c7cb036eb66e4df21b753b016d54c1f473e0 SHA512 d86b376b89cf33230b8ddb8d698c6de23f2eeac7c581e2a0442a1c5dcbe046a633a05ff091d58b0ea1c223e08cab272b777518e05ed91fbcb1984471fffebd5d
DIST yaml-language-server-1.11.0.tgz 548849 BLAKE2B 787cfd79014922d03a67d0618fb2bdad79dd3e02503edf61e1e7b623c3c10ee36a9d15b643c883046f4c81d36f11947f65f8dbd1cd9515d19513fc127a6ef77d SHA512 d5306584ad67312a438aade265f0320ce838c706a0a336409eaaf400ead91b952d78cb77cdb7e1395aa146e02e9d1219f2492d7c6323b0ac438cefaeb4600968
DIST yaml-language-server-1.12.0-deps.tar.xz 5119236 BLAKE2B 0e224565745ac61520ab3f76efaac3fe46fe8ec7a36ced2e492d1f97af34f82699b604801df601f122bcca4b439393741817a4267260b765029380c6c5079a2c SHA512 72aa7ab1c35b7cd65d14a535ca91f656a3d2e39b73539c1494681ed636f08f888d415b751d9952ba8eae3a802cdf001b71e92059806c20d2f512072122e602ba
DIST yaml-language-server-1.12.0.tgz 558972 BLAKE2B 1d7ec17dbf0e74bfff5bb68574fd60122876def6f869e1a2a9911e51414cca19fdb3af989b9ba7c8be439c2f2b96282fb9122231a2591dbd1d7e57f27a897ad8 SHA512 70441e1d5a921f4f9480d36f546aefdf1bbe3414ec7014a6392fef35f8bbaf924f4e1829de12145738e3d2fc5e5c58f9b303b19e9a1dd210fdf6d0a43c68a293
DIST yaml-language-server-1.13.0-deps.tar.xz 5460772 BLAKE2B 110680d5ce1459a90483f58ef28dbf82af5fa4cd5984044a294b9d1f8e40b74fa552011e29fa1a780bfc93243039eb57c2766682d84160bb77fe87e04c12b975 SHA512 17b167b372140845e52cfd41c49dec2610f2dfde76e60a74c5c03240aa4ce9aab4dc4d741d4942999614cebcca567f6a9bd52f8088b4b94f615ae6576a3a0337
DIST yaml-language-server-1.13.0.tgz 557876 BLAKE2B 2b51ba4a0ac4372efae5d788c06f3e4e2a545f8ea02e508e68c7457b8fb7d25f5f4446b56c39f93308b4aa56236204b75c525c549ed6eb98354ac76170070344 SHA512 0b37a456314e52489723ab60dc13ee4a4c44eb491e0d3e3ff8b8cf2d7c27b7880247369a58c0a34fdd8dc4e1efd5d7ab6c12c75a879c6b2e3cb6c7bf0ded7cd5

View File

@@ -15,7 +15,7 @@ S="${WORKDIR}"
# npm --cache ./npm-cache install $(portageq envvar DISTDIR)/${P}.tgz
# tar -caf ${P}-deps.tar.xz npm-cache
LICENSE="Apache-2.0 BSD-2 ISC MIT-with-advertising"
LICENSE="Apache-2.0 BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64"
@@ -38,5 +38,6 @@ src_install() {
--cache "${T}"/npm-cache \
install "${DISTDIR}"/${P}.tgz || die "npm install failed"
cd "${ED}"/usr/$(get_libdir)/node_modules/${PN} || die "cd failed"
einstalldocs
}

View File

@@ -1 +1,2 @@
DIST intiface-central-v2.3.0-linux-x64.zip 17157804 BLAKE2B 57176f65e6124a0d46dfe422c42a0b2d7077dc4cef7f59e099c5488c163005c0bbfde435c411e0763800cf43a17f08dbb8da4fbb3c7feec3e6114fe5fa6cc451 SHA512 3d6d351e7dccaf851d9fb955fcdfbb1ea5c9a609aeb2a527d08ada591a3772cd95b0c90fe730476c664e19587eb0f2f9aa2c63eb24fc4849c4e0b775d6207049
DIST intiface-central-v2.4.0-linux-x64.zip 17462271 BLAKE2B 80357a03496ec88f0e62b130fa8da39e5eb8826d8372221b8e954ca60231faed57c62fd18a346430f53399f4970bed007cf652456b75088bb4ff80bb1b4fd1d9 SHA512 8324c44ee16ce19acb958b77e6a256e640d21c2b9348284bdcaa0bd9b01ddb2c49c176ffbc929a9d116cb4506467234a5b82f33e81aae2b24132f47705487f67

View File

@@ -0,0 +1,51 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Buttplug frontend application"
HOMEPAGE="https://github.com/intiface/intiface-central"
SRC_URI="https://github.com/intiface/intiface-central/releases/download/v${PV}/intiface-central-v${PV}-linux-x64.zip"
S="${WORKDIR}/intiface-central-v${PV}-linux-x64"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
app-accessibility/at-spi2-core
media-gfx/graphite2
sys-apps/dbus
sys-apps/systemd-utils
x11-libs/gtk+:3[X]
|| (
dev-libs/openssl:0/1.1
dev-libs/openssl-compat:1.1.1
)
"
BDEPEND="app-arch/unzip"
QA_PREBUILT="
opt/${PN}/lib/*.so
opt/${PN}/intiface_central
"
src_install() {
insinto /opt/${PN}
doins -r .
fperms +x /opt/${PN}/intiface_central
cat << EOF > intiface_central
#!/bin/sh
cd /opt/${PN}
./intiface_central "\${@}"
EOF
dobin intiface_central
newicon --size 512 \
data/flutter_assets/assets/icons/intiface_central_icon.png ${PN}.png
make_desktop_entry intiface_central "Intiface Central" ${PN} "Utility"
}

View File

@@ -1 +1 @@
DIST mopidy-3.3.0.tar.gz 443949 BLAKE2B 433c9caef164b9c85ea220f0f1472cb3b78c7291618e46ed16497ec0734f57d6a8a2ea1218c79a6a60fde60179e59c4a4a9bde805ac84109a02935673132ab95 SHA512 9cad7d5013defb9f7edee17b48120286a0b3be568eba15c60fc5363f8ee2ab9041dd79574b2ce1a14a941f41f53101f588e0d0283ee01b82499bc6ffe001cee2
DIST mopidy-3.4.1.tar.gz 444928 BLAKE2B fb597bed6fe7b7e1d0fae0caab3f3f993a4720178382ff7c76d6f6ae9323710c04010ff66b41d6e45ca13ee20613b021296d7ef47b5af3a3aceff78b6c297f0c SHA512 cb3271f106303415b65e4b4248995235bd16a5b795f4575206d3fd08aceb5d2e2df4c323eb84df8e50cb3785d94a258633650ebc5a5916f3dcc66dfe69f249d6

View File

@@ -1,10 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_10 )
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1

View File

@@ -0,0 +1,50 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
SCM=""
if [ "${PV#9999}" != "${PV}" ] ; then
SCM="git-r3"
EGIT_REPO_URI="https://github.com/AviSynth/AviSynthPlus.git"
fi
inherit cmake-multilib ${SCM}
DESCRIPTION="A powerful nonlinear scripting language for video"
HOMEPAGE="https://github.com/AviSynth/AviSynthPlus"
if [ "${PV#9999}" != "${PV}" ] ; then
SRC_URI=""
else # TODO release
SRC_URI=""
fi
LICENSE="GPL-2"
SLOT="0"
if [ "${PV#9999}" = "${PV}" ] ; then
KEYWORDS="~amd64"
fi
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
PATCHES=(
"${FILESDIR}/avisynth+-9999-return-type-warning.patch"
)
MULTILIB_WRAPPED_HEADERS=(
/usr/include/avisynth/avs/arch.h
)
pkg_postinst() {
elog "Integration with some packages can be achieved by setting environment"
elog "variables and re-emerging the package:"
elog ""
elog "media-video/ffmpeg:"
elog " - add \"--enable-avisynth\" to EXTRA_FFMPEG_CONF"
elog ""
elog "media-libs/ffmpegsource:"
elog " - add \"--enable-avisynth\" to EXTRA_ECONF"
elog " - add \"-I/usr/include/avisynth\" to CXXFLAGS"
}

View File

@@ -0,0 +1,12 @@
--- avisynth+-9999/avs_core/core/parser/script.cpp.orig 2023-05-24 19:09:20.896164496 +0200
+++ avisynth+-9999/avs_core/core/parser/script.cpp 2023-05-24 19:11:50.755632346 +0200
@@ -1941,6 +1941,9 @@
return PROCESS_32_ON_32;
}
+#else
+ else
+ return PROCESS_UNKNOWN;
#endif
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>falbrechtskirchinger@gmail.com</email>
<name>Florian Albrechtskirchinger</name>
</maintainer>
<upstream>
<remote-id type="github">AviSynth/AviSynthPlus</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,4 +1,4 @@
DIST lagrange-1.15.8.tar.gz 9961734 BLAKE2B 764faef4a717de3219484bc7be03a5a42981b4946c9b36c2b97313500cff0e3f25d952393d1558f848ff898ab4e3bd9c12ee1b0c9ea7eaf1ab81d94910c61445 SHA512 d386bdbac133bc1dad73e0c5593875c234b567aba3706ef6c9b43d3aaa3761593beb20229182d1c00e941583d1ce81138d55941033df01112d4cc49b8ad8c9ee
DIST lagrange-1.15.8.tar.gz.sig 488 BLAKE2B 226bc957f7cd43356c41109d287ee68b35b5577738aba6a1fd1210c521233d5ce7c622c876737d34ebc532e1801f97721f1553368612cfcb659dde971901ed76 SHA512 c5736e4f16707e5c112634dbc003fdc7747d89d5fbcc69517b514b6037d570d8ff44e48d33a259e428705191e161e6bd13eb7553ac7c9b362a3e8852734eb7db
DIST lagrange-1.15.9.tar.gz 9987069 BLAKE2B dd43d49a31cd139e275410b59ff8476d2b3ec0aba7065153a07e104472a2249dfc6205f5a34638bdc11ca7872092c689bb4bafc7db762b10738611de7d6c7d9d SHA512 81f43676a1ea19310a2fd6541a9767147813a434a1156c51ac30def62d29d0ed48eb29cfef2dd70081913ba3db50bb29ef81ac54e7ee52d4ab8e0f1db4bee29e
DIST lagrange-1.15.9.tar.gz.sig 488 BLAKE2B ea12496bd75cb228465458e4b0e7798078f6c481a321b62c65e0ecd411fa184706fad0c52b9d9e12a4d2e1b5849fdf72a1d0a8fcc5c294fc135df56a696c7049 SHA512 f281a2d1864db1de1e2e208438686f5feeef409b43bd4ba12bbcbc5764cf095442bff7f13808773dacda850168fd6e45bc07ca7295a06b827cbf35c194312fb4
DIST lagrange-1.16.1.tar.gz 9997807 BLAKE2B 06320ccdabd0be264b98987a355c2880640dc1bb3721ad2813ad74f1300f713498e4101cac1ed3e7d63d2f937211e425060441acb7f3aae96b026c2073b69c6d SHA512 67f437c5f9e04f717a8aaec3542d37f58e057ec6ba9ebfa260a4cc19fd7727f0d7d06e6b4c56633bfed5d14755877fdd46be8756244876fb3f0ac66ad4fc2472
DIST lagrange-1.16.1.tar.gz.sig 488 BLAKE2B c8866d4c9aefde8430c163d749b6927241c785bd828b6d4232739d1f13f9a40f32c4f132dfea871a04cf47f43ad369f1dc0d64ec71f2e906f0b01cae92c94ecf SHA512 8a3aa1a00dc15d98111cc8283da3ea93f6badb30561423a07494fc14649d7018b35b8b36aa1628ba2ff02418475a69b264cf932582de852e9e5009196785d1be

View File

@@ -1 +1,2 @@
DIST nyxt-3.0.0.gh.tar.xz 16738792 BLAKE2B 04fcaffa852c3035142a6b48c853083e9b9516d3e7682988806a19b2dab54d0ac288a8e4464da779f8facefca2eec63f31be7f0906567540c5e3754a91642f15 SHA512 1411f9b18eb65de8efdf46e850d4d78c67c2b5ee3ffbf7e9b1c67f6fda2ed7ad154414dc9d842a1fd4cf78a3619d9da560327e658bb0735a117be50aca87f4e8
DIST nyxt-3_pre6.gh.tar.xz 16636300 BLAKE2B 06d4b480b4b898d1e66b77f154913c212893c859b221a2e99c26c719bfe93ef8c502ad7341f6b7b73c5fb09dfbb204c64545d14dc081f01a87b4c56dd3f468ec SHA512 1598c78eb61bc4af2a6145f16ae9d9b073d2dcecf3a0f300cdd98a3227cd49a887bdb270fb161f605c0d95aa59f2967b2462285a09841b8b0acbd34a3909f50a

View File

@@ -0,0 +1,100 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop optfeature xdg-utils
DESCRIPTION="Nyxt - the hacker's power-browser"
HOMEPAGE="https://nyxt.atlas.engineer/"
if [[ "${PV}" = *9999* ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/atlas-engineer/${PN}.git"
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/atlas-engineer/${PN}/releases/download/${PV}/nyxt-${PV}-source-with-submodules.tar.xz -> ${PF}.gh.tar.xz"
fi
# Portage replaces the nyxt binary with scbl when stripping
RESTRICT="mirror strip"
LICENSE="BSD CC-BY-SA-3.0"
SLOT="0"
IUSE="doc"
RDEPEND="
dev-libs/gobject-introspection
gnome-base/gsettings-desktop-schemas
media-libs/gst-plugins-bad
media-libs/gst-plugins-base
media-libs/gst-plugins-good
media-libs/gst-plugins-ugly
media-plugins/gst-plugins-libav
net-libs/glib-networking
net-libs/webkit-gtk:4.1
sys-libs/libfixposix
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-lisp/sbcl-2.0.0
"
src_unpack() {
default
# nyxt-3-source-with-submodules.tar.xz doesn't unpack in a subdirectory
# so we create it instead of working directly in ${WORKDIR}
if [[ "${PV}" != *9999* ]]
then
mkdir "${WORKDIR}/${P}" || die
mv "${WORKDIR}/assets" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/_build" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/build-scripts" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/documents" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/engineer.atlas.Nyxt.yaml" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/examples" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/INSTALL" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/libraries" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/licenses" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/makefile" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/nyxt.asd" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/README.org" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/source" "${WORKDIR}/${P}/" || die
mv "${WORKDIR}/tests" "${WORKDIR}/${P}/" || die
fi
}
src_compile() {
emake all
use doc && emake doc
}
src_install(){
dobin "${S}/nyxt"
if [ "$(use doc)" ]
then
docinto "/usr/share/doc/${P}"
dodoc "${S}/manual.html"
fi
newicon -s 512 "${S}/assets/nyxt_512x512.png" nyxt.png
domenu "${S}/assets/nyxt.desktop"
}
pkg_postinst() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
xdg_icon_cache_update
optfeature "for X11 clipboard support" "x11-misc/xclip"
optfeature "for spellchecking" "app-text/enchant"
}
pkg_postrm() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
xdg_icon_cache_update
}