diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-22 06:41:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-22 06:41:43 +0000 |
commit | aaeed2da8906f11cba80355688015d74b01cc604 (patch) | |
tree | 5d714c0600fd3f185c0ddb96eef8dd41a5f3ec5e /media-sound/qpaeq/qpaeq-16.1.ebuild | |
parent | 23b767af73549eeb4dd3069e09d0f2fcb88669a8 (diff) |
gentoo auto-resync : 22:03:2023 - 06:41:43
Diffstat (limited to 'media-sound/qpaeq/qpaeq-16.1.ebuild')
-rw-r--r-- | media-sound/qpaeq/qpaeq-16.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/media-sound/qpaeq/qpaeq-16.1.ebuild b/media-sound/qpaeq/qpaeq-16.1.ebuild new file mode 100644 index 000000000000..97481050e852 --- /dev/null +++ b/media-sound/qpaeq/qpaeq-16.1.ebuild @@ -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" +} |