diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-04 17:43:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-04 17:43:01 +0000 |
commit | d0fafa709f2b77dc0e70c99118520000965e4b5a (patch) | |
tree | 170df5ff9fe071343b879da18acce63ee3a1c001 /media-sound | |
parent | 56a597689e7509193b0924a635d2022f21b1a3e4 (diff) |
gentoo auto-resync : 04:03:2024 - 17:43:01
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/Manifest.gz | bin | 57713 -> 57717 bytes | |||
-rw-r--r-- | media-sound/abcmidi/Manifest | 4 | ||||
-rw-r--r-- | media-sound/abcmidi/abcmidi-2024.03.02.ebuild (renamed from media-sound/abcmidi/abcmidi-2024.02.25.ebuild) | 0 | ||||
-rw-r--r-- | media-sound/pulseaudio-daemon/Manifest | 2 | ||||
-rw-r--r-- | media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild | 393 | ||||
-rw-r--r-- | media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild | 384 | ||||
-rw-r--r-- | media-sound/qsynth/Manifest | 2 | ||||
-rw-r--r-- | media-sound/qsynth/qsynth-0.9.12.ebuild | 72 | ||||
-rw-r--r-- | media-sound/quodlibet/Manifest | 1 | ||||
-rw-r--r-- | media-sound/quodlibet/quodlibet-4.6.0.ebuild | 58 |
10 files changed, 2 insertions, 914 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz Binary files differindex d54d027ca8fc..f948ac94477d 100644 --- a/media-sound/Manifest.gz +++ b/media-sound/Manifest.gz diff --git a/media-sound/abcmidi/Manifest b/media-sound/abcmidi/Manifest index 64fc31b941c1..ff84edb68630 100644 --- a/media-sound/abcmidi/Manifest +++ b/media-sound/abcmidi/Manifest @@ -1,5 +1,5 @@ DIST abcMIDI-2024.01.04.zip 628571 BLAKE2B 2919a0ef33352d2151a97fa003274b9ca8a9b5c047f37e54c29315957377547d4ee59a7846560439640885cc3ec1d1f6ed4d9021577037193557b2176dacfe48 SHA512 9570e802f5b63cb4baa8cb5b8a8a0a892e0305c87aeaad639d331f73f5da080d94bfd7e3c0b222efeb1caaf01839cef8c1764be42cbfe4c9308d56f12f5d8888 -DIST abcMIDI-2024.02.25.zip 631917 BLAKE2B 4ada3d3c353ee5185437090772944c6b8d0038ed47b725539ad437cc9a0650eac4cabb541a721c56db412d069b5e592b10f3f320d51afca7a035859bad34e924 SHA512 75f40ebed6787ec454d2056e19c21cab75697c8f45015a2c6e93fa87e004b5f62c719830521c6f64a23deca1fadd415d6944f1f07d5dde38fc720f574b7c4327 +DIST abcMIDI-2024.03.02.zip 632599 BLAKE2B 69e72fd6d0d0fcbd81e9d37207ff2c974cd3c158996e797d3d83ac54ae8b8af81b9f5e7f5bbc84e04bdd3123585b4c79f84681914268399ac967b4bc9204d312 SHA512 1501f9e90b81d5533ce84b0d0a4a7a0b7a7409484c17fdbbc08311125d6ac489cc8b2d7261b0e7692369a0f04903a5c8126df3f9f4e2bc66ac54d74b4e485572 EBUILD abcmidi-2024.01.04.ebuild 676 BLAKE2B 1ddcccdffac7d10fce6d7cc9f52de04102c91965c819d12b14f6104a3d01b6c5cf7cafc4df92de50347b365f34378f5b4e35b71b8cca0d00b99ae95772345c0b SHA512 11c8351db43a2581bc5da4f287af633b9b4902e89548266827e15ac3802706dcb18e2a1df451c6532aa1594e531ae627555ed19821354152faf9f33f065aec34 -EBUILD abcmidi-2024.02.25.ebuild 678 BLAKE2B 1f8eccea9c89094128a0a5c6a1f0ad58f3d91ded8ddf8792a232b352b105ba34e9d237f5eb869b1c0e5daed0fdebd07216b5ea1b44f336977096e93db06e700f SHA512 eadb130c315ae5561e82be18ad1a0a49c50e49094df85a0e0f5095ebf99d943e5bb84ea46c8728202266fe90e1fd1e3a3a36665b6ba4838108ecb1f92e72e92d +EBUILD abcmidi-2024.03.02.ebuild 678 BLAKE2B 1f8eccea9c89094128a0a5c6a1f0ad58f3d91ded8ddf8792a232b352b105ba34e9d237f5eb869b1c0e5daed0fdebd07216b5ea1b44f336977096e93db06e700f SHA512 eadb130c315ae5561e82be18ad1a0a49c50e49094df85a0e0f5095ebf99d943e5bb84ea46c8728202266fe90e1fd1e3a3a36665b6ba4838108ecb1f92e72e92d MISC metadata.xml 327 BLAKE2B d92d9b40b1c1af1a4ba5cea8b956a098066ae7cc9eab2cb31a0dfbcc37400558f5f35a6ce04a7541ecbea7578906f688d2931c1f62751e5a2d7bb7b80e97cd2f SHA512 170ca99684768ef2d5b0e8a26e6ca64468b3134847ffe53f6a1efb623bfe77a6c09dfd67df553a306af045a47bc69f0d41ceadf508cce7f75f3c2a7614d2d725 diff --git a/media-sound/abcmidi/abcmidi-2024.02.25.ebuild b/media-sound/abcmidi/abcmidi-2024.03.02.ebuild index 4d3aaf502473..4d3aaf502473 100644 --- a/media-sound/abcmidi/abcmidi-2024.02.25.ebuild +++ b/media-sound/abcmidi/abcmidi-2024.03.02.ebuild diff --git a/media-sound/pulseaudio-daemon/Manifest b/media-sound/pulseaudio-daemon/Manifest index 72f34d2ab793..fb51c6cf5ff5 100644 --- a/media-sound/pulseaudio-daemon/Manifest +++ b/media-sound/pulseaudio-daemon/Manifest @@ -18,8 +18,6 @@ DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 535706abcea2cae39834b23c8bdc37f71b0e DIST pulseaudio-16.99.1.tar.xz 1565020 BLAKE2B 02aad918e2b76dcf250bd55e03460206c7781cd1b43aa2efe46b25258626892e07f478b9966fa5027c9ae0a370145f5204dba05d2f5dfbfd3ba956225ccb3cad SHA512 1a3347e4c892ba0e321d39184f8bd52cfd16f59e66e52a753d6f706dfbf3f170f87b7ff27c0a6cdf3e462e6dd531ecde6829d48a374d0be2622688fb85abaac2 DIST pulseaudio-17.0.tar.xz 1566556 BLAKE2B 781ece3d507916aa681d3b0132689730a621b4d92e45f86570e4d2fdebc4c0025ebe7f7a05046545f9b26caca513e8975f12498fa314524bc67eacaea72842fa SHA512 be0aec46204d9c9188a796fbe41b4cf6f0f5e6b16fa08ce359b8f0f51253f0ade364b89448bbf5faa2af7e59deb6c72194734c3233944250dcfd4f31968a5e97 EBUILD pulseaudio-daemon-16.1-r7.ebuild 12099 BLAKE2B a1e3430f66ca84c8ac2a0f2e02c49edcf28123c1ca035112f3ea8cbbd35d244429e95f815e08415f264ed2ee4b771c66af8fde8289675575f7163d405bcd7ed8 SHA512 68cec44975c3628df8b26c0a920dbc551521a3f10201bf9b7283fdbd44bc5dc4fc4bb6ca7c6285db398ee44abf9fc1a4b2e0bfcdaf7228952e39569dc5c5f87c -EBUILD pulseaudio-daemon-16.1-r8.ebuild 12500 BLAKE2B 1c11b983eac8f96526dec72be8de4aa083c0ef96455d1aacde646f1c3cabd97d05e510b2d726e3ce7d604a45f3bece67422dd2c518fa3376fb33e9fcc3e73078 SHA512 2f8d902f8461a5a06010369b35da7c844dd86ad0ef8125c98be56d2ea4dd43601c268e9059485c955f6e20b76833a311f96f5fc166a4be05c71c58b80c5ea1d2 EBUILD pulseaudio-daemon-16.99.1.ebuild 11929 BLAKE2B 71413a062f7af27f4fd3c4c454cee25c7255f35fefca5ec22c8762c672f6bb69f212e0cf5cc7a5ef69f935ba612dcfa6e238595af2bbfc8097d09878f2faa114 SHA512 0b1ba00da3ce3b2dfb72b42d01874e5b726d7c7784e3568ea24fcda46165295c01b0219d8de8d60e9449d9ebf7b1e56408373d6f5d0ba2a1e1581883a3cbb56e EBUILD pulseaudio-daemon-17.0-r1.ebuild 11965 BLAKE2B 3792497b9006c8353656606f2a49d948184473cac3cca58e1f72ceed020b92ef913e70ae940674ea62bcbc339d103f668eb0f2c58b4117dd43a9ea7ac0304a2b SHA512 95f90fb9f94217a0ab4040941974369cd67c907784056f20d7b0e3d980eb74257ef76f9e1ed144b5c177d5bbd436431624dad21915b811df691126569a83e5d7 -EBUILD pulseaudio-daemon-17.0.ebuild 11882 BLAKE2B 4da2cd17d33f608b1fb962d087d1b3e9cf49932fd3aee4835e86e63900cea564f4c235fcd03f61934ff58a02b2b5e2636dfdeb3576d98682ab5ed0fa6524b20c SHA512 3b610472c77a613fa84b48c7505e674952e18ce55834dcd893426079866be13df45da61bab20ae7fa13cb676355349ccc03d0f27496a1a51e0f1b32594347f80 MISC metadata.xml 3606 BLAKE2B 7dad35e67bd2c8a2e0b077d61eb0d3c4551df4da192d8552e63f0f63db4028e463d68ddc2c45c8de93c19a53ac82e32b6a9ae276faf05b32eba8a3d3062bf3a3 SHA512 f681c32f4c3f75745db62c38a8b2624edd0e44685ce2ef3ca0b7cbb9952cab862f9344854179772977cfe7fe6fea7b2103441f459b9553355dd6c5bdb2bbe5a7 diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild deleted file mode 100644 index ae6c88877e41..000000000000 --- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild +++ /dev/null @@ -1,393 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -MY_PV="${PV/_pre*}" -MY_P="pulseaudio-${MY_PV}" -inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev - -DESCRIPTION="Daemon component 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 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -S="${WORKDIR}/${MY_P}" - -# libpulse-simple and libpulse link to libpulse-core; this is daemon's -# library and can link to gdbm and other GPL-only libraries. In this -# cases, we have a fully GPL-2 package. Leaving the rest of the -# GPL-forcing USE flags for those who use them. -LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )" - -SLOT="0" - -# +alsa-plugin as discussed in bug #519530 -# TODO: Find out why webrtc-aec is + prefixed - there's already the always available speexdsp-aec -# NOTE: The current ebuild sets +X almost certainly just for the pulseaudio.desktop file -IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw +gdbm +glib gstreamer jack ldac lirc -ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev valgrind +webrtc-aec +X zeroconf" - -RESTRICT="!test? ( test )" - -# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac -# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they belong under !daemon () -# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users deal with them at once -REQUIRED_USE=" - ?? ( elogind systemd ) - alsa-plugin? ( alsa ) - aptx? ( bluetooth ) - bluetooth? ( dbus ) - equalizer? ( dbus ) - ldac? ( bluetooth ) - ofono-headset? ( bluetooth ) - udev? ( || ( alsa oss ) ) - zeroconf? ( dbus ) -" - -# NOTE: -# - libpcre needed in some cases, bug #472228 -# - media-libs/speexdsp is providing echo canceller implementation and used in resampler -# TODO: libatomic_ops is only needed on some architectures and conditions, and then at runtime too -gstreamer_deps=" - media-libs/gst-plugins-base - >=media-libs/gstreamer-1.14 -" -COMMON_DEPEND=" - ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?] - >=media-libs/libpulse-16.1-r3 - dev-libs/libatomic_ops - >=media-libs/libsndfile-1.0.20 - >=media-libs/speexdsp-1.2 - alsa? ( >=media-libs/alsa-lib-1.0.24 ) - aptx? ( ${gstreamer_deps} ) - asyncns? ( >=net-libs/libasyncns-0.1 ) - bluetooth? ( - >=net-wireless/bluez-5 - media-libs/sbc - ) - dev-libs/libltdl - sys-kernel/linux-headers - >=sys-libs/libcap-2.22-r2 - dbus? ( >=sys-apps/dbus-1.4.12 ) - elibc_mingw? ( dev-libs/libpcre:3 ) - elogind? ( sys-auth/elogind ) - equalizer? ( - sci-libs/fftw:3.0= - ) - fftw? ( - sci-libs/fftw:3.0= - ) - gdbm? ( sys-libs/gdbm:= ) - glib? ( >=dev-libs/glib-2.28.0:2 ) - gstreamer? ( - ${gstreamer_deps} - >=dev-libs/glib-2.26.0:2 - ) - jack? ( virtual/jack ) - ldac? ( ${gstreamer_deps} ) - lirc? ( app-misc/lirc ) - ofono-headset? ( >=net-misc/ofono-1.13 ) - orc? ( >=dev-lang/orc-0.4.15 ) - selinux? ( sec-policy/selinux-pulseaudio ) - sox? ( >=media-libs/soxr-0.1.1 ) - ssl? ( dev-libs/openssl:= ) - systemd? ( sys-apps/systemd:= ) - tcpd? ( sys-apps/tcp-wrappers ) - udev? ( >=virtual/udev-143[hwdb(+)] ) - valgrind? ( dev-debug/valgrind ) - webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 ) - X? ( - >=x11-libs/libxcb-1.6 - x11-libs/libICE - x11-libs/libSM - >=x11-libs/libX11-1.4.0 - >=x11-libs/libXtst-1.0.99.2 - ) - zeroconf? ( >=net-dns/avahi-0.6.12[dbus] ) -" - -# pulseaudio ships a bundle xmltoman, which uses XML::Parser -DEPEND=" - ${COMMON_DEPEND} - test? ( >=dev-libs/check-0.9.10 ) - X? ( x11-base/xorg-proto ) -" - -# alsa-utils dep is for the alsasound init.d script (see bug 155707); TODO: read it -# NOTE: Only system-wide needs acct-group/audio unless elogind/systemd is not used -RDEPEND=" - ${COMMON_DEPEND} - system-wide? ( - alsa? ( media-sound/alsa-utils ) - acct-user/pulse - acct-group/audio - acct-group/pulse-access - ) - bluetooth? ( - ldac? ( media-plugins/gst-plugins-ldac ) - aptx? ( media-plugins/gst-plugins-openaptx ) - ) - !media-video/pipewire[sound-server(+)] -" -unset gstreamer_deps - -# This is a PDEPEND to avoid a circular dep -PDEPEND=" - alsa? ( alsa-plugin? ( >=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio] ) ) -" - -BDEPEND=" - dev-lang/perl - dev-perl/XML-Parser - sys-devel/gettext - sys-devel/m4 - virtual/libiconv - virtual/libintl - virtual/pkgconfig - orc? ( >=dev-lang/orc-0.4.15 ) - system-wide? ( dev-util/unifdef ) -" - -DOCS=( NEWS README ) - -# patches merged upstream, to be removed with 16.2 or later bump -PATCHES=( - "${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch - "${FILESDIR}"/pulseaudio-16.1-module-combine-sink-load-crash.patch - "${FILESDIR}"/pulseaudio-16.1-module-combine-sink-unload-crash.patch - "${FILESDIR}"/pulseaudio-16.1-move-qpaeq-to-daemon.patch - # alignment fix changes internal abi, added requirement matching >=media-libs/libpulse-16.1-r3 - "${FILESDIR}"/pulseaudio-16.1-fix-memblock-alignment.patch - "${FILESDIR}"/pulseaudio-16.1-add-more-standard-samplerates.patch - "${FILESDIR}"/pulseaudio-16.1-fix-resampler-oversized-memblock.patch - "${FILESDIR}"/pulseaudio-16.1-fix-uac2-broken-avoid-resampling.patch -) - -src_prepare() { - default - - gnome2_environment_reset -} - -src_configure() { - local enable_bluez5_gstreamer="disabled" - if use aptx || use ldac ; then - enable_bluez5_gstreamer="enabled" - fi - - local enable_fftw="disabled" - if use equalizer || use fftw ; then - enable_fftw="enabled" - fi - - local emesonargs=( - --localstatedir="${EPREFIX}"/var - - -Ddaemon=true - -Dclient=false - -Ddoxygen=false - -Dgcov=false - -Dman=true - # tests involve random modules, so just do them for the native # TODO: tests should run always - $(meson_use test tests) - -Ddatabase=$(usex gdbm gdbm simple) # tdb is also an option but no one cares about it - -Dstream-restore-clear-old-devices=true - -Drunning-from-build-tree=false - - # Paths - -Dmodlibexecdir="${EPREFIX}/usr/$(get_libdir)/pulseaudio/modules" # Was $(get_libdir)/${P} - -Dsystemduserunitdir=$(systemd_get_userunitdir) - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - -Dbashcompletiondir="$(get_bashcompdir)" # Alternatively DEPEND on app-shells/bash-completion for pkg-config to provide the value - - # Optional features - $(meson_feature alsa) - $(meson_feature asyncns) - $(meson_feature zeroconf avahi) - $(meson_feature bluetooth bluez5) - -Dbluez5-gstreamer=${enable_bluez5_gstreamer} - $(meson_use bluetooth bluez5-native-headset) - $(meson_use ofono-headset bluez5-ofono-headset) - -Dconsolekit=disabled - $(meson_feature dbus) - $(meson_feature elogind) - -Dfftw=${enable_fftw} - $(meson_feature glib) # WARNING: toggling this likely changes ABI - $(meson_feature glib gsettings) # Supposedly correct? - $(meson_feature gstreamer) - -Dgtk=disabled - -Dhal-compat=false - -Dipv6=true - $(meson_feature jack) - $(meson_feature lirc) - $(meson_feature ssl openssl) - $(meson_feature orc) - $(meson_feature oss oss-output) - -Dsamplerate=disabled # Matches upstream - $(meson_feature sox soxr) - -Dspeex=enabled - $(meson_feature systemd) - $(meson_feature tcpd tcpwrap) - $(meson_feature udev) - $(meson_feature valgrind) - $(meson_feature X x11) - - # Echo cancellation - -Dadrian-aec=false # Not packaged? - $(meson_feature webrtc-aec) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - # qpaeq moved to media-sound/qpaeq - if [[ -f "${ED}"/usr/bin/qpaeq ]]; then - rm "${ED}"/usr/bin/qpaeq || die - fi - - # Upstream installs 'pactl' if client is built, with all symlinks except for - # 'pulseaudio', 'pacmd' and 'pasuspender' which are installed if server is built. - # This trips QA warning, workaround: - # - install missing aliases in media-libs/libpulse (client build) - # - remove corresponding symlinks in media-sound/pulseaudio-daemonclient (server build) - rm "${D}/$(get_bashcompdir)"/pulseaudio || die - rm "${D}/$(get_bashcompdir)"/pacmd || die - rm "${D}/$(get_bashcompdir)"/pasuspender || die - - # Daemon configuration scripts will try to load snippets from corresponding '.d' dirs. - # Install these dirs to silence a warning if they are missing. - keepdir /etc/pulse/default.pa.d - keepdir /etc/pulse/system.pa.d - - if use system-wide; then - newconfd "${FILESDIR}"/pulseaudio.conf.d pulseaudio - - use_define() { - local define=${2:-$(echo ${1} | tr '[:lower:]' '[:upper:]')} - - use "${1}" && echo "-D${define}" || echo "-U${define}" - } - - unifdef -x 1 \ - $(use_define zeroconf AVAHI) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - $(use_define udev) \ - "${FILESDIR}"/pulseaudio.init.d-5 \ - > "${T}"/pulseaudio \ - || die - - doinitd "${T}"/pulseaudio - - systemd_dounit "${FILESDIR}"/pulseaudio.service - - # We need /var/run/pulse, bug 442852 - newtmpfiles "${FILESDIR}"/pulseaudio.tmpfiles pulseaudio.conf - else - # Prevent warnings when system-wide is not used, bug 447694 - if use dbus; then - rm "${ED}"/etc/dbus-1/system.d/pulseaudio-system.conf || die - fi - fi - - if use zeroconf; then - sed -i \ - -e '/module-zeroconf-publish/s:^#::' \ - "${ED}/etc/pulse/default.pa" \ - || die - fi - - # Only enable autospawning pulseaudio daemon on systems without systemd - if ! use systemd; then - insinto /etc/pulse/client.conf.d - newins "${FILESDIR}/enable-autospawn.conf" "enable-autospawn.conf" - fi - - find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die -} - -pkg_postinst() { - gnome2_schemas_update - - use udev && udev_reload - - if use system-wide; then - tmpfiles_process "pulseaudio.conf" - - elog "You have enabled the 'system-wide' USE flag for pulseaudio." - elog "This mode should only be used on headless servers, embedded systems," - elog "or thin clients. It will usually require manual configuration, and is" - elog "incompatible with many expected pulseaudio features." - elog "On normal desktop systems, system-wide mode is STRONGLY DISCOURAGED." - elog "" - elog "For more information, see" - elog " https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/" - elog " https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/" - elog " https://wiki.gentoo.org/wiki/PulseAudio#Headless_server" - elog "" - fi - - if use bluetooth; then - elog "You have enabled bluetooth USE flag for pulseaudio. Daemon will now handle" - elog "bluetooth Headset (HSP HS and HSP AG) and Handsfree (HFP HF) profiles using" - elog "native headset backend by default. This can be selectively disabled" - elog "via runtime configuration arguments to module-bluetooth-discover" - elog "in /etc/pulse/default.pa" - elog "To disable HFP HF append enable_native_hfp_hf=false" - elog "To disable HSP HS append enable_native_hsp_hs=false" - elog "To disable HSP AG append headset=auto or headset=ofono" - elog "(note this does NOT require enabling USE ofono)" - elog "" - fi - - if use ofono-headset; then - elog "You have enabled both native and ofono headset profiles. The runtime decision" - elog "which to use is done via the 'headset' argument of module-bluetooth-discover." - elog "" - fi - - if use gstreamer; then - elog "GStreamer-based RTP implementation modile enabled." - elog "To use OPUS payload install media-plugins/gst-plugins-opus" - elog "and add enable_opus=1 argument to module-rtp-send" - elog "" - fi - - if use systemd; then - elog "Pulseaudio autospawn by client library is no longer enabled when systemd is available." - elog "It's recommended to start pulseaudio via its systemd user units:" - elog "" - elog " systemctl --user enable pulseaudio.service pulseaudio.socket" - elog "" - elog "Root user can change system default configuration for all users:" - elog "" - elog " systemctl --global enable pulseaudio.service pulseaudio.socket" - elog "" - elog "If you would like to enable autospawn by client library, edit autospawn flag in /etc/pulse/client.conf like this:" - elog "" - elog " autospawn = yes" - elog "" - elog "The change from autospawn to user units will take effect after restarting." - elog "" - fi - - optfeature_header "PulseAudio can be enhanced by installing the following:" - use equalizer && optfeature "qpaeq script for equalizer GUI" media-sound/qpaeq - use dbus && optfeature "restricted realtime capabilities via D-Bus" sys-auth/rtkit -} - -pkg_postrm() { - gnome2_schemas_update - use udev && udev_reload -} diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild deleted file mode 100644 index 23ef8d0517b1..000000000000 --- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild +++ /dev/null @@ -1,384 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -MY_PV="${PV/_pre*}" -MY_P="pulseaudio-${MY_PV}" -inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev - -DESCRIPTION="Daemon component 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 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -S="${WORKDIR}/${MY_P}" - -# libpulse-simple and libpulse link to libpulse-core; this is daemon's -# library and can link to gdbm and other GPL-only libraries. In this -# cases, we have a fully GPL-2 package. Leaving the rest of the -# GPL-forcing USE flags for those who use them. -LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )" - -SLOT="0" - -# +alsa-plugin as discussed in bug #519530 -# TODO: Find out why webrtc-aec is + prefixed - there's already the always available speexdsp-aec -# NOTE: The current ebuild sets +X almost certainly just for the pulseaudio.desktop file -IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw +gdbm +glib gstreamer jack ldac lirc -ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev valgrind +webrtc-aec +X zeroconf" - -RESTRICT="!test? ( test )" - -# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac -# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they belong under !daemon () -# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users deal with them at once -REQUIRED_USE=" - ?? ( elogind systemd ) - alsa-plugin? ( alsa ) - aptx? ( bluetooth ) - bluetooth? ( dbus ) - equalizer? ( dbus ) - ldac? ( bluetooth ) - ofono-headset? ( bluetooth ) - udev? ( || ( alsa oss ) ) - zeroconf? ( dbus ) -" - -# NOTE: -# - libpcre needed in some cases, bug #472228 -# - media-libs/speexdsp is providing echo canceller implementation and used in resampler -# TODO: libatomic_ops is only needed on some architectures and conditions, and then at runtime too -gstreamer_deps=" - media-libs/gst-plugins-base - >=media-libs/gstreamer-1.14 -" -COMMON_DEPEND=" - ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?] - >=media-libs/libpulse-16.99.1 - dev-libs/libatomic_ops - >=media-libs/libsndfile-1.0.20 - >=media-libs/speexdsp-1.2 - alsa? ( >=media-libs/alsa-lib-1.0.24 ) - aptx? ( ${gstreamer_deps} ) - asyncns? ( >=net-libs/libasyncns-0.1 ) - bluetooth? ( - >=net-wireless/bluez-5 - media-libs/sbc - ) - dev-libs/libltdl - sys-kernel/linux-headers - >=sys-libs/libcap-2.22-r2 - dbus? ( >=sys-apps/dbus-1.4.12 ) - elibc_mingw? ( dev-libs/libpcre:3 ) - elogind? ( sys-auth/elogind ) - equalizer? ( - sci-libs/fftw:3.0= - ) - fftw? ( - sci-libs/fftw:3.0= - ) - gdbm? ( sys-libs/gdbm:= ) - glib? ( >=dev-libs/glib-2.28.0:2 ) - gstreamer? ( - ${gstreamer_deps} - >=dev-libs/glib-2.26.0:2 - ) - jack? ( virtual/jack ) - ldac? ( ${gstreamer_deps} ) - lirc? ( app-misc/lirc ) - ofono-headset? ( >=net-misc/ofono-1.13 ) - orc? ( >=dev-lang/orc-0.4.15 ) - selinux? ( sec-policy/selinux-pulseaudio ) - sox? ( >=media-libs/soxr-0.1.1 ) - ssl? ( dev-libs/openssl:= ) - systemd? ( sys-apps/systemd:= ) - tcpd? ( sys-apps/tcp-wrappers ) - udev? ( >=virtual/udev-143[hwdb(+)] ) - valgrind? ( dev-debug/valgrind ) - webrtc-aec? ( >=media-libs/webrtc-audio-processing-1.3:1 ) - X? ( - >=x11-libs/libxcb-1.6 - x11-libs/libICE - x11-libs/libSM - >=x11-libs/libX11-1.4.0 - >=x11-libs/libXtst-1.0.99.2 - ) - zeroconf? ( >=net-dns/avahi-0.6.12[dbus] ) -" - -# pulseaudio ships a bundle xmltoman, which uses XML::Parser -DEPEND=" - ${COMMON_DEPEND} - test? ( >=dev-libs/check-0.9.10 ) - X? ( x11-base/xorg-proto ) -" - -# alsa-utils dep is for the alsasound init.d script (see bug 155707); TODO: read it -# NOTE: Only system-wide needs acct-group/audio unless elogind/systemd is not used -RDEPEND=" - ${COMMON_DEPEND} - system-wide? ( - alsa? ( media-sound/alsa-utils ) - acct-user/pulse - acct-group/audio - acct-group/pulse-access - ) - bluetooth? ( - ldac? ( media-plugins/gst-plugins-ldac ) - aptx? ( media-plugins/gst-plugins-openaptx ) - ) - !media-video/pipewire[sound-server(+)] -" -unset gstreamer_deps - -# This is a PDEPEND to avoid a circular dep -PDEPEND=" - alsa? ( alsa-plugin? ( >=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio] ) ) -" - -BDEPEND=" - dev-lang/perl - dev-perl/XML-Parser - sys-devel/gettext - sys-devel/m4 - virtual/libiconv - virtual/libintl - virtual/pkgconfig - orc? ( >=dev-lang/orc-0.4.15 ) - system-wide? ( dev-util/unifdef ) -" - -DOCS=( NEWS README ) - -# patches merged upstream, to be removed with 17.1 or later bump -PATCHES=( -) - -src_prepare() { - default - - gnome2_environment_reset -} - -src_configure() { - local enable_bluez5_gstreamer="disabled" - if use aptx || use ldac ; then - enable_bluez5_gstreamer="enabled" - fi - - local enable_fftw="disabled" - if use equalizer || use fftw ; then - enable_fftw="enabled" - fi - - local emesonargs=( - --localstatedir="${EPREFIX}"/var - - -Ddaemon=true - -Dclient=false - -Ddoxygen=false - -Dgcov=false - -Dman=true - # tests involve random modules, so just do them for the native # TODO: tests should run always - $(meson_use test tests) - -Ddatabase=$(usex gdbm gdbm simple) # tdb is also an option but no one cares about it - -Dstream-restore-clear-old-devices=true - -Drunning-from-build-tree=false - - # Paths - -Dmodlibexecdir="${EPREFIX}/usr/$(get_libdir)/pulseaudio/modules" # Was $(get_libdir)/${P} - -Dsystemduserunitdir=$(systemd_get_userunitdir) - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - -Dbashcompletiondir="$(get_bashcompdir)" # Alternatively DEPEND on app-shells/bash-completion for pkg-config to provide the value - - # Optional features - $(meson_feature alsa) - $(meson_feature asyncns) - $(meson_feature zeroconf avahi) - $(meson_feature bluetooth bluez5) - -Dbluez5-gstreamer=${enable_bluez5_gstreamer} - $(meson_use bluetooth bluez5-native-headset) - $(meson_use ofono-headset bluez5-ofono-headset) - -Dconsolekit=disabled - $(meson_feature dbus) - $(meson_feature elogind) - -Dfftw=${enable_fftw} - $(meson_feature glib) # WARNING: toggling this likely changes ABI - $(meson_feature glib gsettings) # Supposedly correct? - $(meson_feature gstreamer) - -Dgtk=disabled - -Dhal-compat=false - -Dipv6=true - $(meson_feature jack) - $(meson_feature lirc) - $(meson_feature ssl openssl) - $(meson_feature orc) - $(meson_feature oss oss-output) - -Dsamplerate=disabled # Matches upstream - $(meson_feature sox soxr) - -Dspeex=enabled - $(meson_feature systemd) - $(meson_feature tcpd tcpwrap) - $(meson_feature udev) - $(meson_feature valgrind) - $(meson_feature X x11) - - # Echo cancellation - -Dadrian-aec=false # Not packaged? - $(meson_feature webrtc-aec) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - # qpaeq moved to media-sound/qpaeq - if [[ -f "${ED}"/usr/bin/qpaeq ]]; then - rm "${ED}"/usr/bin/qpaeq || die - fi - - # Upstream installs 'pactl' if client is built, with all symlinks except for - # 'pulseaudio', 'pacmd' and 'pasuspender' which are installed if server is built. - # This trips QA warning, workaround: - # - install missing aliases in media-libs/libpulse (client build) - # - remove corresponding symlinks in media-sound/pulseaudio-daemonclient (server build) - rm "${D}/$(get_bashcompdir)"/pulseaudio || die - rm "${D}/$(get_bashcompdir)"/pacmd || die - rm "${D}/$(get_bashcompdir)"/pasuspender || die - - # Daemon configuration scripts will try to load snippets from corresponding '.d' dirs. - # Install these dirs to silence a warning if they are missing. - keepdir /etc/pulse/default.pa.d - keepdir /etc/pulse/system.pa.d - - if use system-wide; then - newconfd "${FILESDIR}"/pulseaudio.conf.d pulseaudio - - use_define() { - local define=${2:-$(echo ${1} | tr '[:lower:]' '[:upper:]')} - - use "${1}" && echo "-D${define}" || echo "-U${define}" - } - - unifdef -x 1 \ - $(use_define zeroconf AVAHI) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - $(use_define udev) \ - "${FILESDIR}"/pulseaudio.init.d-5 \ - > "${T}"/pulseaudio \ - || die - - doinitd "${T}"/pulseaudio - - systemd_dounit "${FILESDIR}"/pulseaudio.service - - # We need /var/run/pulse, bug 442852 - newtmpfiles "${FILESDIR}"/pulseaudio.tmpfiles pulseaudio.conf - else - # Prevent warnings when system-wide is not used, bug 447694 - if use dbus; then - rm "${ED}"/usr/share/dbus-1/system.d/pulseaudio-system.conf || die - fi - fi - - if use zeroconf; then - sed -i \ - -e '/module-zeroconf-publish/s:^#::' \ - "${ED}/etc/pulse/default.pa" \ - || die - fi - - # Only enable autospawning pulseaudio daemon on systems without systemd - if ! use systemd; then - insinto /etc/pulse/client.conf.d - newins "${FILESDIR}/enable-autospawn.conf" "enable-autospawn.conf" - fi - - find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die -} - -pkg_postinst() { - gnome2_schemas_update - - use udev && udev_reload - - if use system-wide; then - tmpfiles_process "pulseaudio.conf" - - elog "You have enabled the 'system-wide' USE flag for pulseaudio." - elog "This mode should only be used on headless servers, embedded systems," - elog "or thin clients. It will usually require manual configuration, and is" - elog "incompatible with many expected pulseaudio features." - elog "On normal desktop systems, system-wide mode is STRONGLY DISCOURAGED." - elog "" - elog "For more information, see" - elog " https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/" - elog " https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/" - elog " https://wiki.gentoo.org/wiki/PulseAudio#Headless_server" - elog "" - fi - - if use bluetooth; then - elog "You have enabled bluetooth USE flag for pulseaudio. Daemon will now handle" - elog "bluetooth Headset (HSP HS and HSP AG) and Handsfree (HFP HF) profiles using" - elog "native headset backend by default. This can be selectively disabled" - elog "via runtime configuration arguments to module-bluetooth-discover" - elog "in /etc/pulse/default.pa" - elog "To disable HFP HF append enable_native_hfp_hf=false" - elog "To disable HSP HS append enable_native_hsp_hs=false" - elog "To disable HSP AG append headset=auto or headset=ofono" - elog "(note this does NOT require enabling USE ofono)" - elog "" - fi - - if use ofono-headset; then - elog "You have enabled both native and ofono headset profiles. The runtime decision" - elog "which to use is done via the 'headset' argument of module-bluetooth-discover." - elog "" - fi - - if use gstreamer; then - elog "GStreamer-based RTP implementation modile enabled." - elog "To use OPUS payload install media-plugins/gst-plugins-opus" - elog "and add enable_opus=1 argument to module-rtp-send" - elog "" - fi - - if use systemd; then - elog "Pulseaudio autospawn by client library is no longer enabled when systemd is available." - elog "It's recommended to start pulseaudio via its systemd user units:" - elog "" - elog " systemctl --user enable pulseaudio.service pulseaudio.socket" - elog "" - elog "Root user can change system default configuration for all users:" - elog "" - elog " systemctl --global enable pulseaudio.service pulseaudio.socket" - elog "" - elog "If you would like to enable autospawn by client library, edit autospawn flag in /etc/pulse/client.conf like this:" - elog "" - elog " autospawn = yes" - elog "" - elog "The change from autospawn to user units will take effect after restarting." - elog "" - fi - - optfeature_header "PulseAudio can be enhanced by installing the following:" - use equalizer && optfeature "qpaeq script for equalizer GUI" media-sound/qpaeq - use dbus && optfeature "restricted realtime capabilities via D-Bus" sys-auth/rtkit -} - -pkg_postrm() { - gnome2_schemas_update - use udev && udev_reload -} diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index d2c92e0791e4..4dcb363cd9f4 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,6 +1,4 @@ -DIST qsynth-0.9.12.tar.gz 333588 BLAKE2B 778edbb60535aea55f3d82074e8723b37fef6fa01975403211317753f790e14baf9f59db294f68e3d067a2142b450878cfaf412ad22480744936a2eee1d654d1 SHA512 44017d24c09714d174c774083462f7dc263f2abc7aaf7d2cda0f4987b007210a33dcfb35d47eacd5682859e5299f75e26e47fd2f73458eb2a05a36c27d5889f0 DIST qsynth-0.9.13.tar.gz 333132 BLAKE2B 2d0a388e59f244052b1c3f7e16bda40b3de314d2e8b9316b6f471dcc4869299b56f6234c5cecae2a8105c366d601a28cdb0d5c5ebb0bb9e7eee352d62b5af3d0 SHA512 8249438429191a2beb381af9f6fc6bc0d88711c2590379bfa10c558464c562f28453dacec8edbe1afdc590ee437530cefac211b272553cf8acc266706894f17c -EBUILD qsynth-0.9.12.ebuild 1433 BLAKE2B cac4a796d53643b31eb8603ddcf71aca7370d505fcd47292941e6e29d95f5fc9a7853a50a96d0fcdc2868190d120d10b12ab474203d9eec5fa689e87a1da691f SHA512 e51eb23c60665cce64c5dad45ba5d56fb145b2fba4b9b4f73edc03167519d5a852abc9bf844f8fdfa2ee23b52e0064f3f1752f016063d17111de0eb01ce230a1 EBUILD qsynth-0.9.13.ebuild 1433 BLAKE2B 13df834156f20539c5715bcee87578a66ca0e2513639b59dbe37ef95dbfee06d0d23ad25b8e2a09fb34c1353cdc8844ac248f8b3f149d24c4beda544aa69ea50 SHA512 5f95c58ee3ac0ec9719e92fb2f0cef04a4c38f2dd5b0064e819a4b7dacfbfc1c583afa4578792cdb413aa6d03ce06ce139f5bad7021a0090f3de56f9a516d997 EBUILD qsynth-9999.ebuild 1437 BLAKE2B 2e3d53ab8b02fd4942e275bb3304282921c8c8e0f90897731ed7348d711fde579f40ecdd93e8d5f390521bcb4eabaa8ee537356968ded0bb6f707df69706d362 SHA512 cc1e36a7c57a47de01dcd2266604f22358df7bdf8967e85541c438238de53471e9d3b301d005ba9020f74b5dcf404e4c7fc2e524c80a59e0a57bc1b0e4419ff6 MISC metadata.xml 763 BLAKE2B 871d9e5edd0dcd434d496c2d40f997717d424502a5d7072264886477eaaf4bf460e32746bc899a124d97f5cadf116c0cdd198d017ebd4e9cbd769ba2af8a8512 SHA512 147e494f3b468283759a06d361d286e211e95cabbfc6daef67c406e5f19a9eb04ec611f41273ddb0c712dd1fd9afa3a71922bd9cfe749c388ab61d550dc86def diff --git a/media-sound/qsynth/qsynth-0.9.12.ebuild b/media-sound/qsynth/qsynth-0.9.12.ebuild deleted file mode 100644 index 5928b0e9f74b..000000000000 --- a/media-sound/qsynth/qsynth-0.9.12.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop xdg - -DESCRIPTION="Qt application to control FluidSynth" -HOMEPAGE="https://qsynth.sourceforge.io/" - -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://git.code.sf.net/p/qsynth/code" - inherit git-r3 -else - SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz" - KEYWORDS="amd64 ppc ppc64 x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="+alsa debug jack pulseaudio qt6" - -REQUIRED_USE="|| ( alsa jack pulseaudio )" - -BDEPEND=" - qt6? ( dev-qt/qttools:6[linguist] ) - !qt6? ( dev-qt/linguist-tools:5 ) -" -DEPEND=" - qt6? ( - dev-qt/qtbase:6[gui,network,widgets] - dev-qt/qtsvg:6 - ) - !qt6? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - ) - media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?] -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DCONFIG_DEBUG=$(usex debug 1 0) - -DCONFIG_QT6=$(usex qt6 1 0) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # The desktop file is invalid, and we also change the command - # depending on useflags - rm "${D}/usr/share/applications/org.rncbc.qsynth.desktop" || die - - local cmd - if use jack; then - cmd="qsynth" - elif use pulseaudio; then - cmd="qsynth -a pulseaudio" - elif use alsa; then - cmd="qsynth -a alsa" - else - cmd="qsynth -a oss" - fi - - make_desktop_entry "${cmd}" Qsynth org.rncbc.qsynth -} diff --git a/media-sound/quodlibet/Manifest b/media-sound/quodlibet/Manifest index f913b7b1faa3..7fffc6e9678f 100644 --- a/media-sound/quodlibet/Manifest +++ b/media-sound/quodlibet/Manifest @@ -1,4 +1,3 @@ DIST quodlibet-4.6.0.tar.gz 5719390 BLAKE2B 3b5d43c2fc1e5c3dabdf17c1d35f42762f9db4849a2e99e69a261bc72d5af6f0edac56a1f0e888989a839a4fa905209384b1e37a624676e1c52ca7a5d33ce53c SHA512 eb3bae6eaa2b976bce11ded1a521dc3f2a0a83358ae53215d3f5bce82447f721e7fef2e05b5d1ba87ac984c176e52d7915c4d40b529394d8616d846b78a2af8c EBUILD quodlibet-4.6.0-r1.ebuild 1509 BLAKE2B 48b3944555c6e82b3d2a26519ca6306899a790bee01c9db0e5f5da5c466b9175b6eb3712908d5dcf33d4d2b5ff3fc0040f13e86b2f6c79a70925b90e4d0a567c SHA512 821bc52a4d83e409b94c0932f9374260216281c11685da19bb267af7b9eda9d69aff6e6602add705fec356afd17af7958a455a48a9f11b75aace5f2065c46b29 -EBUILD quodlibet-4.6.0.ebuild 1509 BLAKE2B c0518332d5f0dc361717187a0ee8a5b392827b88736ffbdabb78b690b082418dbd52a8cc908ad3dc9d39c1c2ae59a55284aabe16cfbbf8ef51e24e10f4a829f5 SHA512 f5f8c6c71aa2ce6419f655b7099069a92fe6d698f464f7284c65f419bd19b94d2830a84864434db6c4d54b6ea737f6fb6cb2e9542e8f559ed4ae44f01e99fe3a MISC metadata.xml 907 BLAKE2B 079086ba811d0c9051e0593684b0b99cf434bb29c9f47a98cb5e158861757fc012238c741274acb06115a53459fa9f321c854e434fe1e8f920309825030b188e SHA512 b4e243593854233160621d731447cfac3d2e4c1e732f975cdc45ff1c44cffeef648abaefe8b5b7c34b68af4aed4fced0d77c3d5a5d468620aa223d61977c2122 diff --git a/media-sound/quodlibet/quodlibet-4.6.0.ebuild b/media-sound/quodlibet/quodlibet-4.6.0.ebuild deleted file mode 100644 index d952c04fc4a7..000000000000 --- a/media-sound/quodlibet/quodlibet-4.6.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 xdg - -DESCRIPTION="audio library tagger, manager, and player for GTK+" -HOMEPAGE="https://quodlibet.readthedocs.io/" -SRC_URI="https://github.com/${PN}/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="+dbus gstreamer +udev" - -RDEPEND="dev-libs/keybinder:3[introspection] - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - media-libs/mutagen[${PYTHON_USEDEP}] - net-libs/libsoup:2.4[introspection] - x11-libs/gtk+[introspection] - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - media-libs/gst-plugins-good:1.0 - media-plugins/gst-plugins-meta:1.0 - ) - !gstreamer? ( media-libs/xine-lib ) - dbus? ( - app-misc/media-player-info - dev-python/dbus-python[${PYTHON_USEDEP}] - ) - udev? ( virtual/udev )" -DEPEND="dev-util/intltool" - -S="${WORKDIR}/${PN}-release-${PV}" - -src_prepare() { - local qlconfig=quodlibet/config.py - - if ! use gstreamer; then - sed -i -e '/backend/s:gstbe:xinebe:' ${qlconfig} || die - fi - - sed -i -e '/gst_pipeline/s:"":"alsasink":' ${qlconfig} || die - - distutils-r1_src_prepare -} - -src_install() { - distutils-r1_src_install - dodoc README.rst - - # fix location of desktop file - mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die "Failed to fix desktop file location" -} |