media-sound/qpaeq: new package, add 16.1

Split qpaeq from media-sound/pulseaudio-daemon to own package.

Closes: https://bugs.gentoo.org/830841
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28782
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Igor V. Kovalenko
2022-12-24 15:02:38 +03:00
committed by Sam James
parent aaab7459af
commit 6bb66e860c
3 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 535706abcea2cae39834b23c8bdc37f71b0e633de2d8e43ea4425da97a850b57c2f980c318681cbc86cf1e746200609dad41f8b96ecf4568f86d94aa6831c9a1 SHA512 33b0b4292f05e0882f3ec822cf5720414bb34c523d80fe287b9740d6be219787c562e8024c9b0d9e2ee010771ca72c7ae4f27df1bbef9c9cb6bb6a23cbcc412f

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>igor.v.kovalenko@gmail.com</email>
<name>Igor V. Kovalenko</name>
</maintainer>
<maintainer type="person">
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
<maintainer type="person">
<email>leio@gentoo.org</email>
<name>Mart Raudsepp</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,60 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
MY_PV="${PV/_pre*}"
MY_P="pulseaudio-${MY_PV}"
PYTHON_COMPAT=( python3_{8..11} )
inherit python-single-r1
DESCRIPTION="Equalizer interface for equalizer sinks of PulseAudio (networked sound server)"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
if [[ ${PV} = 9999 ]]; then
inherit git-r3
EGIT_BRANCH="master"
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio"
else
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
dev-python/dbus-python[${PYTHON_USEDEP}]
')
>=media-sound/pulseaudio-daemon-16.1-r7[dbus,fftw]
!<media-sound/pulseaudio-daemon-16.1-r7
"
DEPEND=""
BDEPEND=""
S="${WORKDIR}/${MY_P}"
src_configure() {
:; # do nothing
}
src_install() {
python_doscript src/utils/qpaeq
}
pkg_postinst() {
elog "You will need to load some extra modules to make qpaeq work."
elog "You can do that by adding the following two lines in"
elog "/etc/pulse/default.pa and restarting pulseaudio:"
elog "load-module module-equalizer-sink"
elog "load-module module-dbus-protocol"
}