mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
Merge updates from master
This commit is contained in:
1
app-crypt/reop/Manifest
Normal file
1
app-crypt/reop/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST reop-2.1.1.tgz 32533 BLAKE2B 48d6182f4f6a629f8b32c8144205abd7c719a5586a83914d4d4c574cde3f3b5d32c637bc7cd7c568b9da6164a65d331b38fb96491ac7ff2a2dab7023f8b8b885 SHA512 ce145cfb7c2347c4df4b6a25f28dab22d6bd0b3cf27d9fcb42b81d969634b122b706aff01c1c3108557d5778981dd8a025ac29d1aa2dfe9e77902ed24daa8ef1
|
||||
8
app-crypt/reop/metadata.xml
Normal file
8
app-crypt/reop/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
28
app-crypt/reop/reop-2.1.1.ebuild
Normal file
28
app-crypt/reop/reop-2.1.1.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="reasonable expectation of privacy"
|
||||
HOMEPAGE="https://flak.tedunangst.com/post/reop"
|
||||
SRC_URI="https://flak.tedunangst.com/files/reop-2.1.1.tgz"
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-libs/libsodium:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake CC="${CC:-cc}" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd ./tests || die
|
||||
source test.sh || die
|
||||
cd .. || die
|
||||
}
|
||||
src_install() {
|
||||
dobin reop
|
||||
doman reop.1
|
||||
}
|
||||
@@ -30,7 +30,6 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-lib-path.patch
|
||||
)
|
||||
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DTF_BUILD_TESTS=$(usex test ON OFF)
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST httpcore-0.7.0.tar.gz 27932 BLAKE2B f3258a9f83a37bcf62422c6f6c5a911712afa1038378ef64aeda45c9b3e700d0e809e3526f2bc33633ce4dc827465d99298597a8b26b6cb13696f9663fcd5a87 SHA512 f5419ebbe6ff42e782bea127ca778de1d42637a15e0152d69e6b58ca7e3687d560a4b132781390a853595ec7d18a0fa567d5b752debbb7be7f5cc822a5eac3fd
|
||||
DIST httpcore-0.9.0.tar.gz 35349 BLAKE2B 8d543a9b8c0298a0c558ae0045dec82bdf3267acd1d683339a70fb5b8807a5c4600963a9b6c2634081f0d2c8a85015124d3ebdc58250f8a8e67c40d5a3a93d10 SHA512 b4369b8d9581521f68842431513c836ca6b2e08da54342fb7530f68e8e3bb906868858943243945c7591da175f760fcc291d2cba50b1cdb939f34bca962c80fc
|
||||
|
||||
48
dev-python/httpcore/httpcore-0.9.0.ebuild
Normal file
48
dev-python/httpcore/httpcore-0.9.0.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
DOCBUILDER="mkdocs"
|
||||
DOCDEPEND="dev-python/mkdocs-material"
|
||||
AUTODOC=1
|
||||
|
||||
inherit distutils-r1 docs
|
||||
|
||||
DESCRIPTION="A minimal HTTP client"
|
||||
HOMEPAGE="
|
||||
https://github.com/encode/httpcore
|
||||
https://pypi.org/project/httpcore
|
||||
"
|
||||
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Temporary failure in name resolution
|
||||
# requires masked mitmproxy
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/h11[${PYTHON_USEDEP}]
|
||||
dev-python/hyper-h2[${PYTHON_USEDEP}]
|
||||
dev-python/sniffio[${PYTHON_USEDEP}]
|
||||
dev-python/trio[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/autoflake[${PYTHON_USEDEP}]
|
||||
dev-python/black[${PYTHON_USEDEP}]
|
||||
dev-python/isort[${PYTHON_USEDEP}]
|
||||
dev-python/mypy[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-trio[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,3 +1,4 @@
|
||||
DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
|
||||
DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08 SHA512 fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883
|
||||
DIST httpx-0.13.1.tar.gz 176011 BLAKE2B 9bbb8296a3acc6268a6d9cd577825543620ed9b2f577c7ee906f6d95bf3cec206b708b3d16eb9cc2f83d7a2eee32ec6bfced9ce3edb634689a61861d70753ab5 SHA512 f6647f1eaf406da93cf82de13e82a7b8f82af8101d939a33aeab40f17a4595875e2019f4c4591c45702cae99d861b50f4a60dcae4c7feb6ac28f0fde8eae8a87
|
||||
DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e SHA512 171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a
|
||||
|
||||
56
dev-python/httpx/httpx-0.13.1.ebuild
Normal file
56
dev-python/httpx/httpx-0.13.1.ebuild
Normal file
@@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
DOCBUILDER="mkdocs"
|
||||
DOCDEPEND="dev-python/mkdocs-material"
|
||||
AUTODOC=1
|
||||
|
||||
inherit distutils-r1 docs
|
||||
|
||||
DESCRIPTION="A next generation HTTP client for Python"
|
||||
HOMEPAGE="
|
||||
https://www.python-httpx.org
|
||||
https://github.com/encode/httpx
|
||||
https://pypi.org/project/httpx
|
||||
"
|
||||
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
dev-python/hstspreload[${PYTHON_USEDEP}]
|
||||
dev-python/httpcore[${PYTHON_USEDEP}]
|
||||
dev-python/hyper-h2[${PYTHON_USEDEP}]
|
||||
dev-python/h11[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3986[${PYTHON_USEDEP}]
|
||||
dev-python/sniffio[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/brotlipy[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/isort[${PYTHON_USEDEP}]
|
||||
dev-python/mypy[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/trio[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
dev-python/uvicorn[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# do not depend on pytest-cov
|
||||
sed -i -e '/addopts/d' setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST pytest-trio-0.5.2.tar.gz 35372 BLAKE2B 158e59d81fab6b56e37e92e28f8fdabb5d330dfc57b7774dcde4156165e3f5336647c9382268b50a5f70806449107ab2c7ec6d1a34f6bc773825b4fbb50b03a1 SHA512 0ab0bcfd3b1ef4859a49fa9d5dacbc698882f4f95ee113f241b49d8a7f000dbae1d982a13a87e18f96d51af1278b20298dd1af8d2ab1f563e91e74f7232f46a5
|
||||
DIST pytest-trio-0.6.0.tar.gz 37835 BLAKE2B 4158cfc81fc6db3aa9f049127f6550de4ac55fd881c4e35b67bdcfe0492470dce6ee5df9077962b46b6233f942fcc944b41cd185897ddb83824ad1a31abb846e SHA512 662719e67f5d71f73b2e5389592812b79b296b7fdd8ff6f491961bd5444958e829c46a3bd79f08e9b8b8638125c48edd459f599acc2e071fc0cf8013525a3739
|
||||
|
||||
67
dev-python/pytest-trio/pytest-trio-0.6.0.ebuild
Normal file
67
dev-python/pytest-trio/pytest-trio-0.6.0.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="This is a pytest plugin to help you test projects that use Trio"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-trio/pytest-trio
|
||||
https://pypi.org/project/pytest-trio
|
||||
"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# lots of different errors
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
|
||||
dev-python/outcome[${PYTHON_USEDEP}]
|
||||
>=dev-python/trio-0.15[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-trio[${PYTHON_USEDEP}]
|
||||
!~dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/pytest-3.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-4.3[${PYTHON_USEDEP}]
|
||||
dev-python/trio-asyncio[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/source \
|
||||
">=dev-python/attrs-17.4.0" \
|
||||
">=dev-python/sphinx-1.6.1" \
|
||||
dev-python/sphinx_rtd_theme \
|
||||
dev-python/sphinxcontrib-trio
|
||||
|
||||
python_prepare_all() {
|
||||
#fix for https://github.com/python-trio/pytest-trio/issues/90
|
||||
# AttributeError("module 'pytest' has no attribute 'RemovedInPytest4Warning'",)
|
||||
rm pytest_trio/_tests/conftest.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# has to be run in source dir
|
||||
#even upstream doesn't know how to run their tests
|
||||
#https://github.com/python-trio/pytest-trio/issues/84
|
||||
#"Our CI is still passing AFAIK"
|
||||
|
||||
PYTHONPATH="${S}"
|
||||
cd "${S}" || die
|
||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST trio-0.14.0.tar.gz 451593 BLAKE2B 05b19fb17fb046c17c196d6fec003b731a0beb2c976e0d289665fbdf28c1ab8556404c21a9b3c72623b7d293a74438d4d43a368367838247d9e17e0f6d4ec47e SHA512 dcc640315c5f9a558c00be97ffc011bbb6d2a2137f4f07845698bdec5e2c0949ffb23f6ec49410e618d49156b42a5423b82f5c1f271c1cced7886d3f94c2cd9e
|
||||
DIST trio-0.15.1.tar.gz 457493 BLAKE2B 9123510032f8e59b67bde778c1270d0fd18771806120866741f4e03f6e3f354ad34d06d75b23f38d53fa43e0832cc51060049b81a35be14b4ce043e32672b77d SHA512 48ff7e00e67ad11d09faf643275982e893ee7d533396dd9fe2558d38390693acf9e023fddbc8b00b7d12090154c0610fa71e65d003e110cfbb47b3f0eb3e8469
|
||||
|
||||
63
dev-python/trio/trio-0.15.1.ebuild
Normal file
63
dev-python/trio/trio-0.15.1.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1 linux-info
|
||||
|
||||
DESCRIPTION="Python library for async concurrency and I/O"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-trio/trio
|
||||
https://pypi.org/project/trio
|
||||
"
|
||||
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/async_generator[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/outcome[${PYTHON_USEDEP}]
|
||||
dev-python/sniffio[${PYTHON_USEDEP}]
|
||||
dev-python/sortedcontainers[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/immutables-0.6[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/jedi[${PYTHON_USEDEP}]
|
||||
dev-python/pylint[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
dev-python/yapf[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/source \
|
||||
">=dev-python/immutables-0.6" \
|
||||
dev-python/sphinxcontrib-trio \
|
||||
dev-python/sphinx_rtd_theme \
|
||||
dev-python/towncrier
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests require IPv6
|
||||
if ! linux_config_exists || ! linux_chkconfig_present IPV6; then
|
||||
sed -i -e "/for family in/s/, AF_INET6//" \
|
||||
-e "/test_getaddrinfo/i@pytest.mark.skip(reason='no IPv6')" \
|
||||
trio/tests/test_socket.py || die "sed failed for test_socket.py"
|
||||
fi
|
||||
|
||||
# these tests require internet access
|
||||
rm trio/tests/test_ssl.py || die
|
||||
rm trio/tests/test_highlevel_ssl_helpers.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST ATLauncher-3.3.4.8.jar 10794525 BLAKE2B 5757c87450ffb4dbd558b58bdea5c3d841e02d12ae8bc35dd94a22a014421ea8143da97b34daaa07d3f8d7606072eadf7a02be41e5a2cf80ccda202233bd94ed SHA512 227ed12080f2546c431432eeda808029399a75f54941f7bd9cf71055157a16944e37e43f89a3aec75df1f02e0c837d41c5c3cbd41d2836ca4adaf2c8b6192540
|
||||
DIST ATLauncher-3.3.5.0.jar 10796668 BLAKE2B 588f4163bcfb8f146db6443f11594ef7978c63e3de3e2b9b02b1ad4f2860974be939be89cb6ca9de58a1faf300ac4581ae4207c3f67cd8125e06a4c5a1ad1074 SHA512 31cc2ff2c153cbf5f5367b7e87dc13e8faad6a6b494f58b44764b4ef1f07b3b394e5cd10b28220916342a7b32b180d74c40831f9ae6178379b90da91ec08c26a
|
||||
DIST ATLauncher.ico 370070 BLAKE2B 992e5df968054884c21f136b8f16f2b14e8d321b2196ebc07f7a59621223ca79b896f63b21dba864f61f238ca1864039a410d8089127714163092f65d0ca7f27 SHA512 353f6dd68475778cc8e97a773e800fe532df2f6d28d5babc751cfb5ed7ef24ef6246f76d26e3e25706e458741d604bb8fa8e79cb8904900284f0f7b0f9488bfb
|
||||
|
||||
1
media-sound/scream/Manifest
Normal file
1
media-sound/scream/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST scream-3.5.tar.gz 995382 BLAKE2B 96e5d0d0fe49a215ec78cb02be45fab700af90dd6ccce2e5f44f39aa3544046cf5b650ed0efadd7173ca01c382fc38f644bd237c4447695df024f03da6c1beb7 SHA512 39c61521160cc7d42a7934df42928b0198b85606fd5feb2c28a3ccb80714243398041aaa7dfef71d037570ecd30d8c790271589716643a87bda96478c14690d0
|
||||
11
media-sound/scream/metadata.xml
Normal file
11
media-sound/scream/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alexey+gentoo@asokolov.org</email>
|
||||
<name>Alexey Sokolov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">duncanthrax/scream</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
41
media-sound/scream/scream-3.5.ebuild
Normal file
41
media-sound/scream/scream-3.5.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Plays sound received from network or from a QEMU Windows VM"
|
||||
HOMEPAGE="https://github.com/duncanthrax/scream"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/duncanthrax/scream.git"}
|
||||
else
|
||||
SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
S="${S}/Receivers/unix"
|
||||
|
||||
LICENSE="Ms-PL"
|
||||
SLOT="0"
|
||||
IUSE="alsa pulseaudio"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DALSA_ENABLE=$(usex alsa)
|
||||
-DPULSEAUDIO_ENABLE=$(usex pulseaudio)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
41
media-sound/scream/scream-9999.ebuild
Normal file
41
media-sound/scream/scream-9999.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Plays sound received from network or from a QEMU Windows VM"
|
||||
HOMEPAGE="https://github.com/duncanthrax/scream"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/duncanthrax/scream.git"}
|
||||
else
|
||||
SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
S="${S}/Receivers/unix"
|
||||
|
||||
LICENSE="Ms-PL"
|
||||
SLOT="0"
|
||||
IUSE="alsa pulseaudio"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DALSA_ENABLE=$(usex alsa)
|
||||
-DPULSEAUDIO_ENABLE=$(usex pulseaudio)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user