summaryrefslogtreecommitdiff
path: root/media-sound
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/Manifest.gzbin57261 -> 57280 bytes
-rw-r--r--media-sound/alacenc/Manifest2
-rw-r--r--media-sound/alacenc/alacenc-0.4.0.ebuild2
-rw-r--r--media-sound/flacon/Manifest2
-rw-r--r--media-sound/flacon/flacon-11.3.0.ebuild2
-rw-r--r--media-sound/gsm/Manifest3
-rw-r--r--media-sound/gsm/files/gsm-1.0.13-shared.patch159
-rw-r--r--media-sound/gsm/gsm-1.0.13-r1.ebuild58
-rw-r--r--media-sound/ncspot/Manifest4
-rw-r--r--media-sound/ncspot/ncspot-1.2.0-r1.ebuild5
-rw-r--r--media-sound/ncspot/ncspot-1.2.1-r1.ebuild5
-rw-r--r--media-sound/pulseaudio-daemon/Manifest9
-rw-r--r--media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch76
-rw-r--r--media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch26
-rw-r--r--media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch22
-rw-r--r--media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch36
-rw-r--r--media-sound/pulseaudio-daemon/files/pulseaudio-16.99.1-bump-c++17.patch23
-rw-r--r--media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild387
-rw-r--r--media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild385
-rw-r--r--media-sound/sidplayfp/Manifest2
-rw-r--r--media-sound/sidplayfp/sidplayfp-2.9.0.ebuild51
-rw-r--r--media-sound/sndio/Manifest5
-rw-r--r--media-sound/sndio/sndio-1.10.0.ebuild (renamed from media-sound/sndio/sndio-1.8.0.ebuild)20
-rw-r--r--media-sound/sndio/sndio-9999.ebuild16
-rw-r--r--media-sound/sox/Manifest2
-rw-r--r--media-sound/sox/sox-14.4.2_p20210509-r3.ebuild116
26 files changed, 155 insertions, 1263 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz
index fc2c031ca807..9c021cd55a5e 100644
--- a/media-sound/Manifest.gz
+++ b/media-sound/Manifest.gz
Binary files differ
diff --git a/media-sound/alacenc/Manifest b/media-sound/alacenc/Manifest
index f1119ad34a83..603e18bd7732 100644
--- a/media-sound/alacenc/Manifest
+++ b/media-sound/alacenc/Manifest
@@ -1,4 +1,4 @@
AUX alacenc-0.4.0-musl.patch 916 BLAKE2B 38236f9c93714d2593e7ef44b377930875ec67f07b0d5588cb8b212dd92ff1352de6b436c5f436ca29ce4c3ca12e4c6485a7b465f1364253649e7a5d49f6a10c SHA512 026265747bb719ef5a69850f8e4b1f1dcaa77d304164ec2fce4a358c1ac6f8f242d437a7911c44e762a37bd84d6a45f5aac55b24578646ae3ac749de9745ead8
DIST alacenc-0.4.0.tar.gz 114463 BLAKE2B 6682a77d1df90f22969bbdf82b3ad273cac8855f245ff533b90e81a02952c9dc3f9f14f4e7ec23059ebe7ba9e3a7fff51f009dbe7ee945fca5a9a04d1f2fb8c9 SHA512 2a95725b6aa4ef3f42b2c8d379cd8a83dbf46d69faa0bd6a03bec4d0b56665b3d0716c76e9c7183096a0761d36a282a559f2e5c70f0a9aa1a9808587db004727
-EBUILD alacenc-0.4.0.ebuild 515 BLAKE2B d804e93b86c1ccb7a564a33f1770ed365e22d4fa7dd5413763eb80bc6787f39579c4792d99ab0d8e95f888c42a7db2b423c9927108bae56d6bb7fa5ec9f9a005 SHA512 4b8e9624a0d31462625ce141b9342d9eba0489d4eab820d2068f32f77aa625c0b093063899c384a8a688491862748f06b544e80a6f87ce42ad3e41b5e5da820e
+EBUILD alacenc-0.4.0.ebuild 514 BLAKE2B 0f92f19ee88c5e0403b4e52240b9d4d9b0c8a2e225869e5d4b8d84708b57a25bb3889c8106f19ca144372c2834f5f7ad95fbab22679ed37c661c5456364cf9bc SHA512 2693995d27839f145cc683aae786283f3820419772c8aa3d247cc9194d0e5c6bc6ecfdc8a3f40acdf03ab09d315f24d026838abf211b3372105fa9245d397957
MISC metadata.xml 484 BLAKE2B 9138178a4dfd1c575b245205b22bc174c1c70aaffef1233d00888c01f67772dbe82dcfe9db702b1427cd2ca643eea84fb5a59c201ebb26185d93f45b47c50dc2 SHA512 66a583fbc6b1c4651d1eacbbe682cc33ea5cc91b61f5ed70ce981551eb2ff4b184e5f49af86f751c1e670e2e163f2b8544f8bb58161e98c85c0f23c43c1b7a36
diff --git a/media-sound/alacenc/alacenc-0.4.0.ebuild b/media-sound/alacenc/alacenc-0.4.0.ebuild
index a18ef84e118d..47966966a5d9 100644
--- a/media-sound/alacenc/alacenc-0.4.0.ebuild
+++ b/media-sound/alacenc/alacenc-0.4.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/flacon/alacenc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
BDEPEND="virtual/pkgconfig"
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest
index 50d66b460313..15faee32817d 100644
--- a/media-sound/flacon/Manifest
+++ b/media-sound/flacon/Manifest
@@ -3,5 +3,5 @@ AUX flacon-9.0.0-no-man-compress.patch 1425 BLAKE2B 9f21a5b8a8b2ec0986b0d5902b15
DIST flacon-10.0.0.tar.gz 3802889 BLAKE2B e99be9ad2da98e84455426df853bb38cecb91a6c66cb3f532459637adee97078fb034d3c5b5cc905b74756adbf6c11276f589d450c1506fba2dace264efe8b9c SHA512 55744b3ef46f298e8082ab172b8e0b5ad428ec3c965ae69befe7f9abb4e87417cf2373385240000471c92391d243ef3b33f25ae565c8e9497021d3b619a5ac1a
DIST flacon-11.3.0.tar.gz 4081613 BLAKE2B 791628fe40f49548d65b2a49f259d4ffaf42ba97f9674649669ceded7073fb805f277fefca1d3fffaae86438f9d7cff443dccbb6c8bef5e40f0eb60554c11db9 SHA512 e4b4f3876f4f647dafa21118c13482678c2766dce94b650142d7b2b21897d6e8f1f85601877b388c7f8554d5e57778de9a6db82ae38c1f089e7c2f88b1c497b8
EBUILD flacon-10.0.0-r1.ebuild 1975 BLAKE2B afc43cd1707b5de23f7e767db5471e82ab0a2ef09ce000a3573a80f0e479053e5de528a86abea6f4832a628e66c6f2f11507cc944bf9b33fb7c9745073800396 SHA512 0738a2bcb6067b26a54d7ff47a85a37107ce438176a022b14db1607d1bbf53ff10c15c417a643c7fde29cfe6dd62f904075afc060264390b04a4444a95b61d9a
-EBUILD flacon-11.3.0.ebuild 2303 BLAKE2B 46075754d76c41a91c29e77c9ae030e01a273f040dc733a17f6acdee87f4adb5c8e535201aa5a5148b0143dac2a4fd3e03c3992daa8e09cc65feb75f0ee96c5f SHA512 dd25b0fc7792f91516e3f5c674c66cf1b8d47d8e547b34d0b93da682ce4d039dd3b920acb68c7450266a8637d3dec1394131000c06732657c76f5310c51ade86
+EBUILD flacon-11.3.0.ebuild 2302 BLAKE2B 50032c758fff515d7e85e0390eaa30757fd7d2b2b1e9d133549c7d10d2e3ea32276212465c3dfad5caf96601fb25c7af98f6d1edd40a96474b8ea81bc342a626 SHA512 a83a224c00374abedc952150240bda78a73f42a7e198051fb3260edf2e0fdac5a6cc04046b3dfa935a3377e8d59fe6cac47306ab344759d2f55c83b2fa428b87
MISC metadata.xml 483 BLAKE2B 795d557d1298374afb1a7b7e944258091e5a1a33cbba44ffb89d2b41545a13bc079ea406012351256e9aa3be08aa0277adb6757e68ac5d55e3fd636bce5efca9 SHA512 3d744c253befad102285251d40d891aef8ddab615f095a717951706fd64ac12f4fc7191d1b5ce0c4e9c3870eec5b427fcf5158771349a4a8c5219f7b797386ac
diff --git a/media-sound/flacon/flacon-11.3.0.ebuild b/media-sound/flacon/flacon-11.3.0.ebuild
index 5ac03f87c718..d1599e889657 100644
--- a/media-sound/flacon/flacon-11.3.0.ebuild
+++ b/media-sound/flacon/flacon-11.3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/flacon/flacon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="test"
BDEPEND="
diff --git a/media-sound/gsm/Manifest b/media-sound/gsm/Manifest
index 13307b272ac5..5a0efe76d7ea 100644
--- a/media-sound/gsm/Manifest
+++ b/media-sound/gsm/Manifest
@@ -1,10 +1,7 @@
AUX gsm-1.0.12-64bit.patch 591 BLAKE2B f72688a27c9e52bd3e0b40018f2e035da4284c40e27cc0bb39b7ce0df361840304ee06d3d321ee39209e3dc7bb6424d64490b3174c5d24b3cd1cbe1ccde2787d SHA512 33b559da974d89487f41e24fe9fee4ac4df6383e27835f710f50deaca76c5077fc24b20fe4d306f1b8c2ca6f3e9cf99c5934796e3795354dee63061e305d4c72
AUX gsm-1.0.12-memcpy.patch 301 BLAKE2B 887d9dd0c9220284f1ef69bad73e5e311994fb020bc06742cd931fead416937ae25d0e3364432be5c4cc408c57fad80bb524fddf7db75bf53e70158da4a8f089 SHA512 922999a35a5d8f646ebe61d7b7aacadbd75848a5446462a8173e040f7d4b0748c55196c1be0653752f076a01d7eb07e5bfce3fe23b81a38f1ee9f97d61cd6200
-AUX gsm-1.0.13-shared.patch 3750 BLAKE2B 62fda4c22ab90ab5c77211b9c6966eb8286e6c938f5c4b883b3b6efb6e787a0a84f2f5f9b5f124cf10d4ab3055c3c0e6f8ffb81998654720dd621353fe7b80c9 SHA512 b18273436158dc410e7c40a9a290d365f8bf89977663f35f38d783d46d858163cf0b6f73e88e57d928eafc5de7489643ac7194f72fc7a604ef7cba95e8bf6285
AUX gsm-1.0.22-makefile.patch 4777 BLAKE2B e42ae0e6004aa2aaaf26b9a4911681d3ba20e29bff885bbd64334549e57e264a80d2052c8c9938592a62fce17d23b124bb657056ab19485a76c1349a87a143d8 SHA512 c130621500c11364a35b2565c1ba68c2d872efca4ee1a2f55651fcb864d06d152c9b49e7a4751e718f28d8a1416572829e285cb96791442f2f83eb36a781b0cc
-DIST gsm-1.0.13.tar.gz 65318 BLAKE2B 22bb79e3afd9a2e99041693288342b55969207223486200d4aebc61908930040b6b766a9bf673ec6b484eeb95833684c79f34c95d32da17cfb4c36d025004858 SHA512 0d0cf9e1e81e64cd84f588c1e4f0cb74b849d45e41fdebf860f63588084c73c7c5198bfe73a6c976bda5735ee516661d3db00afbb5cc5886a7ee3a7b31d673aa
DIST gsm-1.0.22.tar.gz 66583 BLAKE2B 4c654997e2dd91bc5cee406bd664426f86479bfa8624abb0d7ec164eaebe83c3f534b5ee16952b302500630a6f53df26bbb2287f7a329c8878ae48e61fb770ab SHA512 f4284f096ed4d606ddece5c1b28edb63feacc26a0b664f1350c040dbf50113d27bedfd9896bf1620cb4fc3a6c8f6a5244955a6c625ded833dcee607c63c97dd2
DIST libgsm_1.0.22-1.debian.tar.xz 10516 BLAKE2B 8839082ec446c3eb9dde5d1348806ac5015557257b0c1d319945c36080277b40b25f4903013c5242115467a73e425731661ad4882cf35bba51a90e4f44f284ae SHA512 21929f790d7c821e03113baf3e0690e8cb4b8b3c9015ca6fa05593dba9c4fb000ad41546826bc623c69b19689e81092afe0f7e266b22f9db35e8c735516c9de4
-EBUILD gsm-1.0.13-r1.ebuild 1612 BLAKE2B aea11eaf78f7be6ee6bf2181c9d21bbbe10192ba30d172e82453781d908ab951cb1144ab974e41f32a356ac9946f85fc419f46e035b3b17d414d55bd44b83c33 SHA512 c6314b380a859608316eb2a57ca6cc6ac257d8001f39ffb5ad19ef08415698b9688fdd298f7a4770fec77ac4eb976ceb8d7f83de4a96df0598158fe1c0dad7d3
EBUILD gsm-1.0.22_p1.ebuild 1869 BLAKE2B e8147324172cae5aa1777173f10af8fa134885210ba5fc25a307f941dc929b64f1667eb7a1b8d518919aa18d4709617adc98193fa40d74a032e8ee418255690e SHA512 b1ede1cd23e41f1e24ab1b84cc34b0313edac83b6a544f7ac1f2b07c23b224af73cd41371f17a971012ed238397e0c13c2cfe4c371ad6174591deeb0aa7d9ae8
MISC metadata.xml 250 BLAKE2B 3e6dae5d5f3b3ac412806dd8615a1975c7ea8a64bfd72ad54f2c93a9b24c19c620ac3e8b26e1f6cadec899443e138ee4fb7a82ecb83c784d0c03ee91854d8622 SHA512 2bfce2cf73aefce6dda06ea351cb93b2990b9543f48be1ae5406a5a5acf2c34faed1eb2ce715eb689eb50a9a1add5576b39232eb818c233f5a5589e16032aca8
diff --git a/media-sound/gsm/files/gsm-1.0.13-shared.patch b/media-sound/gsm/files/gsm-1.0.13-shared.patch
deleted file mode 100644
index ba178092c2f0..000000000000
--- a/media-sound/gsm/files/gsm-1.0.13-shared.patch
+++ /dev/null
@@ -1,159 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -96,16 +96,14 @@
- # Other tools
-
- SHELL = /bin/sh
--LN = ln
-+LN = ln -s
- BASENAME = basename
--AR = ar
- ARFLAGS = cr
- RMFLAGS =
- FIND = find
- COMPRESS = compress
- COMPRESSFLAGS =
- # RANLIB = true
--RANLIB = ranlib
-
- #
- # You shouldn't have to configure below this line if you're porting.
-@@ -140,6 +138,7 @@
- # Targets
-
- LIBGSM = $(LIB)/libgsm.a
-+LIBGSMSO= $(LIB)/libgsm.so
-
- TOAST = $(BIN)/toast
- UNTOAST = $(BIN)/untoast
-@@ -203,24 +202,43 @@
-
- # Object files
-
--GSM_OBJECTS = $(SRC)/add.o \
-- $(SRC)/code.o \
-- $(SRC)/debug.o \
-- $(SRC)/decode.o \
-- $(SRC)/long_term.o \
-- $(SRC)/lpc.o \
-- $(SRC)/preprocess.o \
-- $(SRC)/rpe.o \
-- $(SRC)/gsm_destroy.o \
-- $(SRC)/gsm_decode.o \
-- $(SRC)/gsm_encode.o \
-- $(SRC)/gsm_explode.o \
-- $(SRC)/gsm_implode.o \
-- $(SRC)/gsm_create.o \
-- $(SRC)/gsm_print.o \
-- $(SRC)/gsm_option.o \
-- $(SRC)/short_term.o \
-- $(SRC)/table.o
-+STATIC_GSM_OBJECTS = $(SRC)/add.o \
-+ $(SRC)/code.o \
-+ $(SRC)/debug.o \
-+ $(SRC)/decode.o \
-+ $(SRC)/long_term.o \
-+ $(SRC)/lpc.o \
-+ $(SRC)/preprocess.o \
-+ $(SRC)/rpe.o \
-+ $(SRC)/gsm_destroy.o \
-+ $(SRC)/gsm_decode.o \
-+ $(SRC)/gsm_encode.o \
-+ $(SRC)/gsm_explode.o \
-+ $(SRC)/gsm_implode.o \
-+ $(SRC)/gsm_create.o \
-+ $(SRC)/gsm_print.o \
-+ $(SRC)/gsm_option.o \
-+ $(SRC)/short_term.o \
-+ $(SRC)/table.o
-+
-+SHARED_GSM_OBJECTS = $(SRC)/add.lo \
-+ $(SRC)/code.lo \
-+ $(SRC)/debug.lo \
-+ $(SRC)/decode.lo \
-+ $(SRC)/long_term.lo \
-+ $(SRC)/lpc.lo \
-+ $(SRC)/preprocess.lo \
-+ $(SRC)/rpe.lo \
-+ $(SRC)/gsm_destroy.lo \
-+ $(SRC)/gsm_decode.lo \
-+ $(SRC)/gsm_encode.lo \
-+ $(SRC)/gsm_explode.lo \
-+ $(SRC)/gsm_implode.lo \
-+ $(SRC)/gsm_create.lo \
-+ $(SRC)/gsm_print.lo \
-+ $(SRC)/gsm_option.lo \
-+ $(SRC)/short_term.lo \
-+ $(SRC)/table.lo
-
- TOAST_OBJECTS = $(SRC)/toast.o \
- $(SRC)/toast_lin.o \
-@@ -228,7 +246,7 @@
- $(SRC)/toast_alaw.o \
- $(SRC)/toast_audio.o
-
--OBJECTS = $(GSM_OBJECTS) $(TOAST_OBJECTS)
-+OBJECTS = $(STATIC_GSM_OBJECTS) $(SHARED_GSM_OBJECTS) $(TOAST_OBJECTS)
-
- # Manuals
-
-@@ -277,9 +295,12 @@
- $(CC) $(CFLAGS) $?
- @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
-
-+%.lo: %.c
-+ $(CC) $(CFLAGS) -fPIC -c $< -o $@
-+
- # Target rules
-
--all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST)
-+all: $(LIBGSM) $(LIBGSMSO) $(TOAST) $(TCAT) $(UNTOAST)
- @-echo $(ROOT): Done.
-
- tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
-@@ -299,24 +320,29 @@
-
- # The basic API: libgsm
-
--$(LIBGSM): $(LIB) $(GSM_OBJECTS)
-+$(LIBGSMSO): $(LIB) $(SHARED_GSM_OBJECTS)
-+ $(LD) $(LFLAGS) -o $@.1.0.13 -shared -Xlinker -soname -Xlinker libgsm.so.1 $(SHARED_GSM_OBJECTS) -lc
-+ ln -fs libgsm.so.1.0.13 lib/libgsm.so.1
-+ ln -fs libgsm.so.1.0.13 lib/libgsm.so
-+
-+$(LIBGSM): $(LIB) $(STATIC_GSM_OBJECTS)
- -rm $(RMFLAGS) $(LIBGSM)
-- $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
-+ $(AR) $(ARFLAGS) $(LIBGSM) $(STATIC_GSM_OBJECTS)
- $(RANLIB) $(LIBGSM)
-
-
- # Toast, Untoast and Tcat -- the compress-like frontends to gsm.
-
- $(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
-- $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
-+ $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSMSO) $(LDLIB)
-
- $(UNTOAST): $(BIN) $(TOAST)
- -rm $(RMFLAGS) $(UNTOAST)
-- $(LN) $(TOAST) $(UNTOAST)
-+ $(LN) toast $(UNTOAST)
-
- $(TCAT): $(BIN) $(TOAST)
- -rm $(RMFLAGS) $(TCAT)
-- $(LN) $(TOAST) $(TCAT)
-+ $(LN) toast $(TCAT)
-
-
- # The local bin and lib directories
-@@ -426,7 +452,9 @@
-
- clean: semi-clean
- -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
-- $(TOAST) $(TCAT) $(UNTOAST) \
-+ $(LIBGSMSO) $(LIB)/libgsm.so.1.0.13 \
-+ $(LIB)libgsm.so.1 \
-+ $(TOAST) $(TCAT) $(UNTOAST) \
- $(ROOT)/gsm-1.0.tar.Z
-
-
diff --git a/media-sound/gsm/gsm-1.0.13-r1.ebuild b/media-sound/gsm/gsm-1.0.13-r1.ebuild
deleted file mode 100644
index e4001b50419d..000000000000
--- a/media-sound/gsm/gsm-1.0.13-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic multilib-minimal toolchain-funcs
-
-DESCRIPTION="Lossy speech compression library and tool"
-HOMEPAGE="https://packages.qa.debian.org/libg/libgsm.html"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-
-LICENSE="gsm"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-S="${WORKDIR}/${PN}-$(ver_rs 2 '-pl' )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-shared.patch
- "${FILESDIR}"/${PN}-1.0.12-memcpy.patch
- "${FILESDIR}"/${PN}-1.0.12-64bit.patch
-)
-
-DOCS=( ChangeLog MACHINES MANIFEST README )
-
-src_prepare() {
- default
- sed -e 's/\$(GSM_INSTALL_LIB)\/libgsm.a //g' -i Makefile || die
-
- multilib_copy_sources
-}
-
-src_configure() {
- # From upstream Makefile. Define this if your host multiplies
- # floats faster than integers, e.g. on a SPARCstation.
- use sparc && append-flags -DUSE_FLOAT_MUL -DFAST
-}
-
-multilib_src_compile() {
- emake -j1 CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" \
- LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)"
-}
-
-multilib_src_install() {
- dodir /usr/bin /usr/$(get_libdir) /usr/include/gsm /usr/share/man/man{1,3}
-
- emake -j1 INSTALL_ROOT="${ED}"/usr \
- LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" \
- GSM_INSTALL_LIB="${ED}"/usr/$(get_libdir) \
- GSM_INSTALL_INC="${ED}"/usr/include/gsm \
- GSM_INSTALL_MAN="${ED}"/usr/share/man/man3 \
- TOAST_INSTALL_MAN="${ED}"/usr/share/man/man1 \
- install
-
- dolib.so lib/libgsm.so*
-
- dosym ../gsm/gsm.h /usr/include/libgsm/gsm.h
-}
diff --git a/media-sound/ncspot/Manifest b/media-sound/ncspot/Manifest
index e11d92012f9a..9b06e56e55ee 100644
--- a/media-sound/ncspot/Manifest
+++ b/media-sound/ncspot/Manifest
@@ -823,6 +823,6 @@ DIST zvariant_utils-2.0.0.crate 6815 BLAKE2B 0321261a8371f2df14fcb0abb575dd413d8
DIST zvariant_utils-2.1.0.crate 7043 BLAKE2B b891c5fc2b5afb5eba01b9068b454a965b4f07548c1a080fd5b598165994a5177a7df5f39cf7263ea8bcc5d054c7d87012ca1588737d630d96f24f0d00dee6cf SHA512 345b70d1106b37df41426efdb1ba49bf270e00898381c2a8021b5761c59efdea55def45cb2e2598b130b6cba8733503f3997a55578bca90867ab3e8f2346f80e
DIST zvariant_utils-3.0.1.crate 13746 BLAKE2B f3f4f294f7b8889ab71a180139af8a7df00c5e448d0b909726ae8b6ea05b0d908e8e006d077d26f418cdaa19589d4f29209d0064f7f09cd22ad8d4a87f95369f SHA512 05498f82a688a08b2cc90e94ea7feb239050e28cca21e675b2c7ff9a0038e0dc8fb84dd9b36c1a49084c971d36c7d58887a39ca62bd610a0a4dafcf83438baf4
EBUILD ncspot-1.1.2-r1.ebuild 11555 BLAKE2B cfdafd9b0f93eec5743a63b39aa47d5abe55140181ac2c49827294c8fb261e9df87dbba8c93f54a37b05cac402b1a00632e6e7d2788fbf24087f5aeccdb220b5 SHA512 ebff03fc1e257f71e9b33e0115b076348317a701f998967041fc4ada236c504d0e0ee88156eb0522d8c1b9c72f7a9b903797f7141ccf64c79e816dfdc675eeed
-EBUILD ncspot-1.2.0-r1.ebuild 12859 BLAKE2B 25789b548397b62fdfe13d189b5f7e0035e5c45ea5d6991779083592ba08fb1d5b51c70792a39666e29b03d8bcf6bb977e6fc53a1da4d582cfa18cf52d22b467 SHA512 8b376c07c4f46ea7baf82a39d12a0086752d416abaa411f680697dd2b24282b03e56bff6a9543143fa17cacadeae4c53427a88543001635d6159a784344da397
-EBUILD ncspot-1.2.1-r1.ebuild 12971 BLAKE2B 1ba8b21edb82dc477001506c6cf23716b2d716d805389bc5c474a973bf070cef053446b1a11370bd2079d4ba5e5edf23eca50c13e36dc96fff947227fcc3c37c SHA512 d0407305a437fbd910c3e8023eda3bb01980755a4ec8cc0b06c1eaa4dbbd0cf2681f80b7683c96852a03e428f5e1db145b62bd26c1c72bbee9932e288aef9210
+EBUILD ncspot-1.2.0-r1.ebuild 12917 BLAKE2B 37169bf7e47d5231aa492718aa4c8f891aa9f35affef008cd13b186d6c9cc989c509750d46e13a60dda9212050cf967d30ae6a763090a583afa1cf964c662243 SHA512 6733333bff37358fcff2035193e3573a93604a6c399a6026dad9e0212e878dab8b66d4630afef47fc142d36e503d550b0b8315663aa0f90c0105dfe56eb4d63a
+EBUILD ncspot-1.2.1-r1.ebuild 13029 BLAKE2B d29611f7fbea230fc6f470fbbd0c3251fe8d7215cffa1b3304fdc450941ab547436eca508719f635ed446de38a3de5e056c8737e98f7074feb1b23323aebcd2e SHA512 e1841d5a08392889ceaabaf4bdb3cd364dc34e014549b94167d45ea316d16c1465210a6b283ba414f5d6f9319b0addbede4190fc014c350bc0cc7a8cfd9db92b
MISC metadata.xml 705 BLAKE2B 2b9da3a49db8021c1f76adbeabb88180dbe0f213ee362fb524a0e0772cfb5fd431631ba7ff6973ae97dc3f841c2cf11c50cf065a66cd3834c2aaa2cd429971f6 SHA512 bc8ccdf5c3a2d3e16c16bf970a55d22a8011ac8193ca20d58faa0af5214f6f05405536255ea6f610e672c9c205ffe0a2b2de195e87dfa412f8edb26f313ed900
diff --git a/media-sound/ncspot/ncspot-1.2.0-r1.ebuild b/media-sound/ncspot/ncspot-1.2.0-r1.ebuild
index f461b2a76eb4..ba8bdc27a012 100644
--- a/media-sound/ncspot/ncspot-1.2.0-r1.ebuild
+++ b/media-sound/ncspot/ncspot-1.2.0-r1.ebuild
@@ -595,6 +595,11 @@ BDEPEND="${PYTHON_DEPS}
QA_FLAGS_IGNORED="/usr/bin/ncspot"
+pkg_setup() {
+ python-any-r1_pkg_setup
+ rust_pkg_setup
+}
+
src_configure() {
local myfeaturesdef=""
diff --git a/media-sound/ncspot/ncspot-1.2.1-r1.ebuild b/media-sound/ncspot/ncspot-1.2.1-r1.ebuild
index ce56d901f746..ff8820871b7f 100644
--- a/media-sound/ncspot/ncspot-1.2.1-r1.ebuild
+++ b/media-sound/ncspot/ncspot-1.2.1-r1.ebuild
@@ -601,6 +601,11 @@ BDEPEND="${PYTHON_DEPS}
QA_FLAGS_IGNORED="/usr/bin/ncspot"
+pkg_setup() {
+ python-any-r1_pkg_setup
+ rust_pkg_setup
+}
+
src_configure() {
local myfeaturesdef=""
diff --git a/media-sound/pulseaudio-daemon/Manifest b/media-sound/pulseaudio-daemon/Manifest
index 35cf7a6ab61c..3e8b3f1b2df9 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1,19 +1,10 @@
AUX enable-autospawn.conf 65 BLAKE2B 47e57076b19000ca3c57f0368e453198131c41a5a9c2d0cc8632f0a7ed4e5c992cf93e3c7651c4f3b59ceaf177d4d811bd6774676a2b005ec12259e56d99b4d2 SHA512 61f90b0d19e807a672bd39d190c1102db0b8c46284cf09d4a19b4b96d566633e56a60d21a3a1374e447e8e06496a3aef56bf5ae574337c081e7cf18842458e59
-AUX pulseaudio-16.0-optional-module-console-kit.patch 3077 BLAKE2B 3b8abc67478f6c8848a24788bdceeb5bce868bf5214a092c3abbd39a3102679e4b390e56231de0559c8389730a2a75ba21bf4d9f9d942792589c6db66d6eb04d SHA512 bec1a747593d9130bb8cfb05b0894e467c953264879f2a856a420b07ee688640ec2279c136daa825b21e0e7e3bfc3aa1e333487a776d1c7ffb9a6d0293a0502b
-AUX pulseaudio-16.1-module-combine-sink-load-crash.patch 1052 BLAKE2B 09fa471cb40a83bd1969795ed8f7f3b1418efb99e1d79e6135785d4e54f0ebcb44813cf584067f4462b800e18661a508a120521e606687e2a49836020eb0ccf3 SHA512 3817f5267fd8287a7be4004189432601128c10c592fe54e4bdbdbb1a6ddd2fadede82dab047ea6693ef81cb04280e1fa4968d883ce7e03c2646145488f36d52a
-AUX pulseaudio-16.1-module-combine-sink-unload-crash.patch 802 BLAKE2B 4c82bf606bb6b7123d53dac093044e9d74328f7eef616ad2da4a2c37e7dca3223e2ecc1bafd7dfc4b363c5bff20dd915a5f328236389b6dae37a74688fe886e0 SHA512 4cb64be8a41e16cf854d992416bdc25b327ab8adc706e091e20fc6bf35c7161ed798b611db2060a14af5974a987f10931f9086b45bb0b95cd82010ce952e0c80
-AUX pulseaudio-16.1-move-qpaeq-to-daemon.patch 1029 BLAKE2B f7695aff795d0b0828d95eaba7b059492f33315a3086fb6cfd63e7de011c0416a5ca56e26932ac7c6ee3784dc63ad0b5918bedcf23bc1d8d3fbdfb8df72c78d1 SHA512 0ba164221dca646728ea7ecbb26fa8d00b65cb45e4dc71a0298e80349548dd1adca2142b26dba138618b27f71c955186d255a45b1be790d8b9da43d60817daa4
-AUX pulseaudio-16.99.1-bump-c++17.patch 855 BLAKE2B d25773a0931bbdd4f683f23f631da43a77342719cfb5f21b9003a03031e7dfb17b6137ccb54c47629516b71b8896e1284805ca8c4ee752fedc971758f1a12dc1 SHA512 6de2e83da4336ccb4d015cb72d1d26ad3cf80f0f20b578f03790956635e4fc81b2625ddf05280cda7a309c84990415d423ed44d385a1b3378cb6b7d9a9ea30ff
AUX pulseaudio-17.0-pr801.patch 4378 BLAKE2B b0aae75d65102826e51ad1338fddbe4a5e7c51f8be6e84e4b166048d98dd2fcc832993a4f30cac938c176b9af5636853248b90439ce001e1a99c967876f33ce6 SHA512 3bd3fd600042e851c54b0d1299803552cdc61dbded2122afeafa649958262b9739dff229100cd306cadb6b5dfe979153312d6758dc1f4bd261f39742a501c533
AUX pulseaudio-17.0-pr802.patch 2581 BLAKE2B a978c507a4be511ef2172e4e8bd5fbd8a5074e3d870cc8cb30781ab1ce855f49f0a9e388a0b24a050982f8e87e62915ac45ef5c95543ff670c34f60b7bf3722e SHA512 5871cb4a3ed4a9232462a8d8f77a610fc8ff6aef3e7a85fa19e4e8c27383beb8be063c1c587cdafa9bd8e37eb6d6cd7d81c80c133b086386689850f8d2d8c97f
AUX pulseaudio.conf.d 151 BLAKE2B 99b185b9353259f37f3396c6f2bb56b80cac0159c9c5d06af4b298ad71d9c577dd6b3f0d9097fc95184b14193d0d55252987465ebd93bd0005849a68ce9b428d SHA512 f97ed431e371e43d297b099952bf1e897b243a822183524b8e3ea17e888c08590bb3793e195bc22e3254eae7f2e1fa00204a752638746c4dde825a423f08c24b
AUX pulseaudio.init.d-5 2224 BLAKE2B d7710b77b209391016e9f84b574cdf70636904d7f54caf9297357ebee97e8ae10c54119521ecad99fbef5f1ad341128b06816f8c733faa29d9c44fa8c435008b SHA512 a11d02fd1c6672a7f022e6ef3e3ad8e3a7f2bf50257c38573db0823415c990021a7bf29b1e194d3d9c8a59464673958604086ef519313a4e3a6bd79071397f29
AUX pulseaudio.service 227 BLAKE2B f58fa701152e84f4d52426f6f76b5a01a1a315d09e5fb8e9e57860b44dc63b78b3f1c1629380b4345c53b003c677f729b3959419e8488e37607c56d6a700626a SHA512 567663b231fe7c2682b08b1059cdad1fcb3c4cb01c1b24aed9afb6fb767b30f250b78bbbed48aadfb06c6d1a4963a6db24877d79a1d36c4be2a128b479c086d6
AUX pulseaudio.tmpfiles 36 BLAKE2B 4fe7c88fb35f561b0eb756146db17e37201126b5d7f906c88cdc778c6191f17c799f1db072f09d5a384485830e4d33266c224955bad22081255544642399b2f6 SHA512 f040850d81030ef04e1aa368d333a1ae1b7238adef5772280fc344c3068262d5ab8c9f3edb92db9c443f9d7d21abb27583ea1efc51ed733bbfa43e2edc68dde1
-DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 535706abcea2cae39834b23c8bdc37f71b0e633de2d8e43ea4425da97a850b57c2f980c318681cbc86cf1e746200609dad41f8b96ecf4568f86d94aa6831c9a1 SHA512 33b0b4292f05e0882f3ec822cf5720414bb34c523d80fe287b9740d6be219787c562e8024c9b0d9e2ee010771ca72c7ae4f27df1bbef9c9cb6bb6a23cbcc412f
-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 12093 BLAKE2B e9a1db7e88475f0d36b04cded88e22c28de1146d823e2a7315b0eb84788df80cd00d47e17988f75516c9060161ed424d5b20b52fd84fb242378aba326eca8c4b SHA512 7d0bdcf39be96ae2d29b486b5b8e6023e082056779b5154dee437df8e19d7d8ed81805f371cd2654b17626fedd59a82f351db81c198ccffcd9456a8967fd5b88
-EBUILD pulseaudio-daemon-16.99.1.ebuild 11923 BLAKE2B f90d9178ab73997ac009b284a2f56828d274ebca91683743930cfcf85ea11d6157b208ab1f42a4f3236f67a4598638a1366f01ae7a64f64650943cc1d610c079 SHA512 901e5681caade66db36494c65a74b58cf460659701ec7f883cdf0f28ed81c20bc5ccdfa5bbe4e0f0dc1f99f925772d686c48e1f7ecd20de33c5237735e2b10a6
EBUILD pulseaudio-daemon-17.0-r1.ebuild 11955 BLAKE2B 29acef2aac66f57064bb7bf03ea8ff75ab61bee3ad50ed7c41f48952b2d2c78290d54333b14bcde4528c713a6d6385be1fd5a53f5d9f7911ab91f16a809a8c38 SHA512 806b7929309b1e71bdd562b744cc060153db0a656a0badadbe877b26323ed2d693bf56d7525d5bea468a9b213bcf8ab972c886370023eb70280b14ab32577647
MISC metadata.xml 3606 BLAKE2B 7dad35e67bd2c8a2e0b077d61eb0d3c4551df4da192d8552e63f0f63db4028e463d68ddc2c45c8de93c19a53ac82e32b6a9ae276faf05b32eba8a3d3062bf3a3 SHA512 f681c32f4c3f75745db62c38a8b2624edd0e44685ce2ef3ca0b7cbb9952cab862f9344854179772977cfe7fe6fea7b2103441f459b9553355dd6c5bdb2bbe5a7
diff --git a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch
deleted file mode 100644
index 4ffdb82f4901..000000000000
--- a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-commit 823e46fba0742605f557b68cd591f61624b93966
-Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
-Date: Sun Jun 12 21:49:32 2022 +0300
-
- build-sys: meson: Make module-console-kit optional
-
- Default build configuration would fail to run on a system without systemd-logind
- (or elogind) and without ConsoleKit daemon responding on dbus interface. Here,
- module-console-kit would fail to initialize, preventing daemon from starting.
-
- Make module-console-kit an optional build feature to allow opt-out.
-
- Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/719>
-
-diff --git a/meson.build b/meson.build
-index d4cdbd6a5..c6db7e670 100644
---- a/meson.build
-+++ b/meson.build
-@@ -732,6 +732,10 @@ if get_option('daemon')
- cdata.set('HAVE_SYSTEMD_LOGIN', 1)
- endif
-
-+ if get_option('consolekit').enabled()
-+ assert(dbus_dep.found(), 'ConsoleKit requires D-Bus support')
-+ endif
-+
- tcpwrap_dep = cc.find_library('wrap', required: get_option('tcpwrap'))
- if cc.has_header('tcpd.h') and cc.has_function('hosts_access', dependencies : tcpwrap_dep)
- cdata.set('HAVE_LIBWRAP', 1)
-@@ -1001,6 +1005,7 @@ summary += [
- ' Enable HAL->udev compat: @0@'.format(get_option('hal-compat')),
- 'Enable systemd units: @0@'.format(systemd_dep.found()),
- 'Enable elogind: @0@'.format(libelogind_dep.found()),
-+ 'Enable ConsoleKit: @0@'.format(not get_option('consolekit').disabled() and dbus_dep.found()),
- 'Enable TCP Wrappers: @0@'.format(tcpwrap_dep.found()),
- 'Enable OpenSSL (for Airtunes): @0@'.format(openssl_dep.found()),
- 'Database: @0@'.format(get_option('database')),
-diff --git a/meson_options.txt b/meson_options.txt
-index b23210072..e7160a3a7 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -99,6 +99,9 @@ option('bluez5-native-headset',
- option('bluez5-ofono-headset',
- type : 'boolean',
- description : 'Optional oFono headset backend support (BlueZ 5)')
-+option('consolekit',
-+ type : 'feature', value : 'auto',
-+ description : 'Optional ConsoleKit support')
- option('dbus',
- type : 'feature', value : 'auto',
- description : 'Optional D-Bus support')
-diff --git a/src/modules/meson.build b/src/modules/meson.build
-index cdf372c8e..1d8004300 100644
---- a/src/modules/meson.build
-+++ b/src/modules/meson.build
-@@ -130,7 +130,6 @@ endif
-
- if dbus_dep.found()
- all_modules += [
-- [ 'module-console-kit', 'module-console-kit.c', [], [], [dbus_dep] ],
- [ 'module-dbus-protocol',
- [ 'dbus/iface-card.c', 'dbus/iface-card.h',
- 'dbus/iface-card-profile.c', 'dbus/iface-card-profile.h',
-@@ -147,6 +146,12 @@ if dbus_dep.found()
- [], [], [dbus_dep] ],
- [ 'module-rygel-media-server', 'module-rygel-media-server.c', [], [], [dbus_dep], libprotocol_http ],
- ]
-+
-+ if not get_option('consolekit').disabled()
-+ all_modules += [
-+ [ 'module-console-kit', 'module-console-kit.c', [], [], [dbus_dep] ],
-+ ]
-+ endif
- endif
-
- if fftw_dep.found()
diff --git a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch
deleted file mode 100644
index d02c1029f8b0..000000000000
--- a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-commit 37c72c20720d6f7fefeeb151f5e10c2cd0dda30e
-Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
-Date: Sun Nov 27 22:30:45 2022 +0300
-
- module-combine-sink: Do not set up rate adjustment timer at load time
-
- Rate adjustment timer is set up when combine sink is resumed and relased when
- combine sink is suspended. Do not create this timer again while module is loaded
- to prevent duplicate effort causing assertion in time_callback.
-
- Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/756>
-
-diff --git a/src/modules/module-combine-sink.c b/src/modules/module-combine-sink.c
-index f98f4820b..4b7690183 100644
---- a/src/modules/module-combine-sink.c
-+++ b/src/modules/module-combine-sink.c
-@@ -1711,9 +1711,6 @@ int pa__init(pa_module*m) {
- PA_IDXSET_FOREACH(o, u->outputs, idx)
- output_verify(o);
-
-- if (u->adjust_time > 0)
-- u->time_event = pa_core_rttime_new(m->core, pa_rtclock_now() + u->adjust_time, time_callback, u);
--
- pa_modargs_free(ma);
-
- return 0;
diff --git a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch
deleted file mode 100644
index f0cd82dde16e..000000000000
--- a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 0cbbc408aee2b5f2c42280d24dc615405387b5b1
-Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
-Date: Sun Nov 27 19:39:23 2022 +0300
-
- module-combine-sink: Suspend while unloading to fix crash moving sinks
-
- Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/756>
-
-diff --git a/src/modules/module-combine-sink.c b/src/modules/module-combine-sink.c
-index 4b7690183..2ccd9eb13 100644
---- a/src/modules/module-combine-sink.c
-+++ b/src/modules/module-combine-sink.c
-@@ -1733,6 +1733,9 @@ void pa__done(pa_module*m) {
- if (!(u = m->userdata))
- return;
-
-+ if (u->sink && PA_SINK_IS_LINKED(u->sink->state))
-+ pa_sink_suspend(u->sink, true, PA_SUSPEND_UNAVAILABLE);
-+
- pa_strlist_free(u->unlinked_slaves);
-
- if (u->sink_put_slot)
diff --git a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch
deleted file mode 100644
index d3943bf10a49..000000000000
--- a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-commit 07a9fcefbab049d66cb174ca2c9b91fecc444c5b
-Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
-Date: Sat Jul 9 09:12:38 2022 +0300
-
- build-sys: meson: Move qpaeq to daemon build
-
- Equalizer control requires server modules only available when daemon is built.
- Move qpaeq script to be installed together with daemon.
-
- Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/734>
-
-diff --git a/src/utils/meson.build b/src/utils/meson.build
-index 28e1fc10a..8496d0bc5 100644
---- a/src/utils/meson.build
-+++ b/src/utils/meson.build
-@@ -72,6 +72,10 @@ if get_option('daemon')
- c_args : pa_c_args,
- )
- endif
-+
-+ if dbus_dep.found() and fftw_dep.found()
-+ install_data('qpaeq', install_dir : bindir)
-+ endif
- endif
-
- if get_option('client')
-@@ -117,9 +121,5 @@ if get_option('client')
- )
- endif
-
-- if dbus_dep.found() and fftw_dep.found()
-- install_data('qpaeq', install_dir : bindir)
-- endif
--
- install_data('pa-info', install_dir : bindir)
- endif
diff --git a/media-sound/pulseaudio-daemon/files/pulseaudio-16.99.1-bump-c++17.patch b/media-sound/pulseaudio-daemon/files/pulseaudio-16.99.1-bump-c++17.patch
deleted file mode 100644
index c7aa9d8aadbe..000000000000
--- a/media-sound/pulseaudio-daemon/files/pulseaudio-16.99.1-bump-c++17.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-commit e2b63d157fcc5ceb67a2f0eaed202d18baa05a11
-Author: Arun Raghavan <arun@asymptotic.io>
-Date: Sun Aug 13 07:24:41 2023 -0400
-
- build-sys: Bump cpp_std to c++17
-
- Match it with webrtc-audio-processing, which is what we care about.
-
- Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
-
-diff --git a/meson.build b/meson.build
-index daa80b573..ba3d01dac 100644
---- a/meson.build
-+++ b/meson.build
-@@ -1,7 +1,7 @@
- project('pulseaudio', 'c',
- version : run_command(find_program('git-version-gen'), join_paths(meson.current_source_dir(), '.tarball-version'), check : false).stdout().strip(),
- meson_version : '>= 0.50.0',
-- default_options : [ 'c_std=gnu11', 'cpp_std=c++11' ]
-+ default_options : [ 'c_std=gnu11', 'cpp_std=c++17' ]
- )
-
- if not meson.is_subproject()
diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
deleted file mode 100644
index 988e1aa60ae4..000000000000
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ /dev/null
@@ -1,387 +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 ~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?]
- 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
-)
-
-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-16.99.1.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
deleted file mode 100644
index 5c11bc944e06..000000000000
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ /dev/null
@@ -1,385 +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 ~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 16.99.2 or later bump
-PATCHES=(
- "${FILESDIR}"/pulseaudio-16.99.1-bump-c++17.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}"/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/sidplayfp/Manifest b/media-sound/sidplayfp/Manifest
index fd350c3f85fa..689bc689b270 100644
--- a/media-sound/sidplayfp/Manifest
+++ b/media-sound/sidplayfp/Manifest
@@ -1,8 +1,6 @@
AUX sidplayfp-1.4.4-musl-limits.patch 263 BLAKE2B bd9c7d93bb0743d94451d4379baa598265ea95bb5717a31770d85b91a3ef8e0fa222fb4c506b6d36c41354b0ddc821ed531e394e6a4db8e52eeeebd7a17168d6 SHA512 2fe65a56bca1e6f1b898ccc6a2ad0c0d2c38fcfb0a9e5a781e515214f616cee1380b4f80c0df54986d43f30fb85f62c88b73706e5db5e1f89bc0f054d805283e
DIST sidplayfp-2.10.0.tar.gz 244263 BLAKE2B 62406febe1ba9074779b3ed77e5ceddea35d472eae94bfec13245ce9503c812d5cefeb0fa1d870e00380535145a031427463d58c8d1262ff8a43a2b470b58073 SHA512 7d59f21690d8219fd2d077541ffe90499f4b44b79e1fc4f43f3f048a01e935ad7b4723cd111acb9c9a287a1b8960b187a8e82463b9725a3171d98c32e391b15f
DIST sidplayfp-2.11.0.tar.gz 252126 BLAKE2B 0ef141ca32c3f91dad67a54bf253da806242fb30294be97b44ded23490bb30d05dfc63593bb3c5b05a1bae48228d0ce3c31c35dba15dea1db70ed36692ef060d SHA512 455e8a81e7540f7fa5b97a11c5ab45cb87d77210569dd62ea3bfee8149d56b884eafb23ae404e806b92bf62f40bbf560ecfda76073477caf3fa960a1f52933be
-DIST sidplayfp-2.9.0.tar.gz 247965 BLAKE2B 11ff3c33360aca182886418bda8dbfb534de6c6e76b854dfaf78599ce388b5c493221cf8d0f13fdb5ccb7cae7d352484b56505cbef3f955cac5cb26d933d35e1 SHA512 2a59cca74456e04ff6cd5bf3c8f47eb8687e577cd907979188713d38f1602ec8933d467222ae4f5e630116bc71832435bd911901c666b3285c796bb1c5d03393
EBUILD sidplayfp-2.10.0.ebuild 1005 BLAKE2B 3cc6a183340649a7337349e230c5416c6a627b8fc176a105b5788ceb191463d9b74164e106bc5167b70513dcd736ba8159635043df25eda0390495fb28937764 SHA512 a279069fad8ca3d7a410e76122888edec9f0d50a42403a19fb6e34a3c7eae8bfdeec851dc7f68f5d7d7cc970bbf85f377957805b85d3dfcf86074756cea42d0f
EBUILD sidplayfp-2.11.0.ebuild 1006 BLAKE2B 944a4fc8f5de733504aaf5fdafa395053761892926fe4b905c445ca7e805c500b84a4cda1eadcad944bce9ee6598a09cdde896bdf09b25b47b8ead7e68ac4032 SHA512 9190d731ace9ff9f42e36b5bebfc21fba44b9d4ece391e12fe08fcd92266cb287e0f76617910ef8aa7e277dcdb117272cdff991642cc666f09100038c2f2d62f
-EBUILD sidplayfp-2.9.0.ebuild 1005 BLAKE2B 3cc6a183340649a7337349e230c5416c6a627b8fc176a105b5788ceb191463d9b74164e106bc5167b70513dcd736ba8159635043df25eda0390495fb28937764 SHA512 a279069fad8ca3d7a410e76122888edec9f0d50a42403a19fb6e34a3c7eae8bfdeec851dc7f68f5d7d7cc970bbf85f377957805b85d3dfcf86074756cea42d0f
MISC metadata.xml 339 BLAKE2B 79d766f101909c202affb7cc72bbefdfb8d5b44fcbf74f17f98e665351384a8110aec7ddec0c685fb328198d29ae4953ce341cda3dd4abd2a67f157d90628175 SHA512 172879da9ed0be1ff48d75d23d3b23e3070247b4ef1decb291b020f7bc1522dd033e78f92d38511eedaae7c1944edc5bb05ff763f4d20a6b7015198ebd38f16f
diff --git a/media-sound/sidplayfp/sidplayfp-2.9.0.ebuild b/media-sound/sidplayfp/sidplayfp-2.9.0.ebuild
deleted file mode 100644
index 451012e6ce4e..000000000000
--- a/media-sound/sidplayfp/sidplayfp-2.9.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Sidplay2 fork with resid-fp"
-HOMEPAGE="https://sourceforge.net/projects/sidplay-residfp/"
-SRC_URI="https://downloads.sourceforge.net/sidplay-residfp/${PN}/$(ver_cut 1-2)/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="+alsa oss pulseaudio"
-
-BDEPEND="virtual/pkgconfig"
-CDEPEND="
- media-libs/libsidplayfp
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-libs/libpulse )
-"
-RDEPEND="
- ${CDEPEND}
- media-plugins/mpg123-output-plugins
-"
-DEPEND="${CDEPEND}
- oss? ( virtual/os-headers )
-"
-
-DOCS=( AUTHORS README TODO )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.4-musl-limits.patch
-)
-
-src_prepare() {
- default
-
- if ! use alsa; then
- sed -i -e 's:alsa >= 1.0:dIsAbLe&:' configure || die
- fi
-
- if ! use pulseaudio; then
- sed -i -e 's:libpulse-simple >= 1.0:dIsAbLe&:' configure || die
- fi
-}
-
-src_configure() {
- export ac_cv_header_linux_soundcard_h=$(usex oss)
-
- econf
-}
diff --git a/media-sound/sndio/Manifest b/media-sound/sndio/Manifest
index bdc0d56b7b8f..c15c89fc1927 100644
--- a/media-sound/sndio/Manifest
+++ b/media-sound/sndio/Manifest
@@ -1,9 +1,10 @@
AUX sndio-1.8.0-fix-hardcoded-pkgconfdir.patch 421 BLAKE2B 0e9fb5f30d53c18596584e23cccf34909ea0c86c289ff3e8790f29d7d0ec221f26371afa9df7e6f4d0268aa4f0561ea5ccf73e2eaf02a375f15d75a41ddf5640 SHA512 aaf789a6182c6a8e9f2ac2f8894ed52cf0a895f89192a3e326af7db781fd9721fc2768b9f00ca7e834a1ee4a1e748f1bda439f01a32e8ffdaa85273ec0fc57c4
AUX sndiod 36 BLAKE2B 51d51ddac64b89c01cb7ec6b009cabb17168b1664e4339d895070fd6e844e5b1cce7be92c6198ebf57e733e40261f767921d9678957b633a903c2bd659266c4d SHA512 80f2fc6eb775889ac9ba6257651a18bf030668d577727a8f78dc864717e90251757eb779a6ac97ae5468629da59a399c9df013d470744b6d480c1aa09a602323
+DIST sndio-1.10.0.tar.gz 162725 BLAKE2B 6c804c175c86296763df7ba2f2e142dc509f4a52eb2d54b3bb76113e2a5594630c99297e558b5932cda143383f2cfd42be84d30160e72c8b5fa76d4f7246d43b SHA512 c35462976a1bffd128eacb185165964dac6b03505255e9ab9a933e24be5ed146cd9ac6995fd7af23247cb9133c010cce0876572db53b783ebabeb563fec7a1cf
DIST sndio-1.8.0.tar.gz 156249 BLAKE2B 46d279c0a9ab40253d9f4abf5892d6c2cbbbeeeeb5ff72f45287b16adce122550025ee2d50b45de5e6952dfac1f25041e520692b0afc31ce9cfa5e122d8799fa SHA512 c3225e59e50c3dee41df7df1d87d32ed616117ea6883d9c643a57091b2239b03988c00230882c32f68331952852781dccb8bdc5a6c92780d97a294a1bd9d8ef8
DIST sndio-1.9.0.tar.gz 157354 BLAKE2B d7e5f8137f87096a0260679afba84e4952bb060e28df6cb9a184fb4436b627a0fc8260cc29e459f3cca4d10372f96424f18e19ddf5805d281cbb8c538fbfffa2 SHA512 f322886e428a4b5bf6867f9faaeaea26d377babbf4176960a0287ebcb0b678bf3cbac134c6c08838c9bd2094a68286be2f2df71ca0f55b7b0e816fdea9cd41cf
+EBUILD sndio-1.10.0.ebuild 1109 BLAKE2B 69b5e4ba50a89b232eb8c01a9cd7d7f89510cc99cc6f237b5b430ba2ff0d128853790c27ccaa9c2fa14b2f672981ca0a06c1e9ca46e31c04b0314c422a2a21cc SHA512 95cfb2f9bd7fe969c21a49c5d7eadf8b7d2258b1eaf4833080c6bf17e107dd4ce58fc55a975b3173440aa2c8b7824fd1f55ab1210eaf3d283742b0334fede7dc
EBUILD sndio-1.8.0-r1.ebuild 1133 BLAKE2B d604355c688908ce319e1b1daee7a1fa06540a783a90d6ec21f9ba59ed2ff7a7090afbbe0fa6811ae206f0a4d834c13bb7b9ea5fde06aa9b42c226b94e3388d1 SHA512 eaa5b4a695ebdb19dec5457ce21c19309f9175415685a6640f7fa24ee2a98357a7bd58257f2240935773237f8ab28fc2451dd4f551698518dd94e46891decbc0
-EBUILD sndio-1.8.0.ebuild 1056 BLAKE2B 4ac3889725863a4b5ef872cbeb11636f73af92b87ffe67fbace3e9db870bb7bda71d56908ced20ce94ea37a7fcb67aa1a936e0326376a41c055f64366eea9800 SHA512 2b3b769b44cfb0d24f4a873f23ebdc416c7816e66ff1eeaa9fbdac5fc9ae90db622c71eba81c9a1e7cd52d1cdc2817d977b88484c599c0049cba08f2fb2300d2
EBUILD sndio-1.9.0.ebuild 1190 BLAKE2B 097f7526442c649297016edc2159a7917e526e4e7ac46282eb5b3d716e9f9ed5247ceee0fd059e1b364da3fd3baedde4f570110b4341ce2f7097a08f626ac89d SHA512 2de57b632a94b80c85c69d2f9f00e5820c14fe77be2db07e852cb73febaf1fc8b612c5305374db240a0151a130d97a966f2d65fbba092a952b214f1354cdb3ea
-EBUILD sndio-9999.ebuild 1091 BLAKE2B e90e4e32dcf6b7368d211b595fff704d372aad8131cd07b306bf26d274813f07048af58fc7e4ff5d37069ff2205a271efd45edb82cf481ccd90ccd4c1e92f83c SHA512 f8bddbb3fedd91b617d67cc357da3b7b0d4ff3dc030b033f43ac91249411deb92bf40a865b171f39155dffcf3e15924fac3cc81a3e63166b737ac4ad0d2753c3
+EBUILD sndio-9999.ebuild 1111 BLAKE2B 7edf9681676352363d8a4cd10a46c388278d40e84461ebf3d97bada11f01b8f9ff8ba2fe2bb68d3bda22358791b156c0c1a44c293879a8cc10261cb5f91a38a1 SHA512 cf253d87eab8de2f4916a8fac9d7dc3d968f7c132ac8010f9d73aa64059335ebadf3335ed1a29176be415b6beb9068c069867e0238bf89a01c738db7f14ef376
MISC metadata.xml 410 BLAKE2B 75c853b9665a82c30c29f3aa0e9171fe2665ed2f7e4c1a7ccdd04258a07e4ef753ad01066934adccc3434aa52332b7007148c818b568335a2429bd8afc61d974 SHA512 b26adba8415ba084c079fabf29b966886bda8736165fbd9f0db13fe4da80e9be373ea7ed2d59e3b8c2b9a04eb84d8327f432c091c3ee936a82650a7983a7a483
diff --git a/media-sound/sndio/sndio-1.8.0.ebuild b/media-sound/sndio/sndio-1.10.0.ebuild
index 53f5133d8e45..c844afa2e83c 100644
--- a/media-sound/sndio/sndio-1.8.0.ebuild
+++ b/media-sound/sndio/sndio-1.10.0.ebuild
@@ -1,31 +1,30 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit multilib-minimal toolchain-funcs
-DESCRIPTION="small audio and MIDI framework part of the OpenBSD project"
-HOMEPAGE="http://www.sndio.org/"
-if [[ "${PV}" == "9999" ]]; then
+DESCRIPTION="Small audio and MIDI framework part of the OpenBSD project"
+HOMEPAGE="https://sndio.org/"
+if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://caoua.org/git/sndio"
EGIT_MIN_CLONE_TYPE="single+tags"
else
- SRC_URI="http://www.sndio.org/${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv sparc x86"
+ SRC_URI="https://sndio.org/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="ISC"
-SLOT="0/7.1"
+SLOT="0/7.3"
IUSE="alsa"
DEPEND="
dev-libs/libbsd[${MULTILIB_USEDEP}]
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
"
-RDEPEND="
- ${DEPEND}
+RDEPEND="${DEPEND}
acct-user/sndiod
"
@@ -37,6 +36,7 @@ src_prepare() {
multilib_src_configure() {
tc-export CC
+ # Not autotools-based but a custom script
./configure \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
diff --git a/media-sound/sndio/sndio-9999.ebuild b/media-sound/sndio/sndio-9999.ebuild
index b796a1c0aa71..5bd89433fb71 100644
--- a/media-sound/sndio/sndio-9999.ebuild
+++ b/media-sound/sndio/sndio-9999.ebuild
@@ -1,23 +1,23 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal toolchain-funcs
-DESCRIPTION="small audio and MIDI framework part of the OpenBSD project"
-HOMEPAGE="http://www.sndio.org/"
-if [[ "${PV}" == "9999" ]]; then
+DESCRIPTION="Small audio and MIDI framework part of the OpenBSD project"
+HOMEPAGE="https://sndio.org/"
+if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://caoua.org/git/sndio"
EGIT_MIN_CLONE_TYPE="single+tags"
else
- SRC_URI="http://www.sndio.org/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~sparc ~x86"
+ SRC_URI="https://sndio.org/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="ISC"
-SLOT="0/7.1"
+SLOT="0/7.3"
IUSE="alsa"
DEPEND="
@@ -37,7 +37,7 @@ src_prepare() {
multilib_src_configure() {
tc-export CC
- # Not autotools-based but a custom one.
+ # Not autotools-based but a custom script
./configure \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
diff --git a/media-sound/sox/Manifest b/media-sound/sox/Manifest
index c7380d05fbcf..afe01dfc2072 100644
--- a/media-sound/sox/Manifest
+++ b/media-sound/sox/Manifest
@@ -1,3 +1,5 @@
+DIST sox-14.4.2_p20210509-patchset.tar.xz 3560 BLAKE2B 8f575dbff121d749c83c6074dadeb92475472f36ad5b9c389e1591b60cff853167c22f7c059731fa5b78c497817bcae6be93ace21bfe605faf2445301a0fe2af SHA512 4b57689bc85ac7664693c6344fd17c7fc7991e04d5e6628c2455c8e541ecfec073690d4dc23a909474ba93fd24cd877aa77f1e7fcc5b52773daa794689212bb8
DIST sox-14.4.2_p20210509.zip 942551 BLAKE2B 2ddd229faacb9190fe18052b1c02da40d4c3f24fc73dd08b28ac99bef267cb05f8bcbf64e0c397c391b3be2467667783ed94f6c60798af069567e1c237ec9ccd SHA512 4868f9b77141b7e2caf2571ceb68a48bd744732e72f63ed787f8e0b9fe39b77de4e998b32d99c2500e10b017a1fd1a3379f4f9f8b67db6093b85d02cb3447934
EBUILD sox-14.4.2_p20210509-r2.ebuild 2822 BLAKE2B a92c404134cb89b8d4405f4ae6d202079ee17412e25eadb445929fd6a73b85106fe9b9cde4490808c079fcd67eee4238b7af47d4a2d12ec5b24fa427f7ec34f1 SHA512 55f1882b23db68ab9a1bdbe7ccdc23feeacfce19688fdbd2aa11951e6fdbb404772e39572cf059031dbc21d5d4c656ff1ba482834cd6c655f4f48dd4e8957cee
+EBUILD sox-14.4.2_p20210509-r3.ebuild 2878 BLAKE2B 20dfb582aca454d27edb7e6384afd944093476edc2cc8d3045794132b793b993aa70dd46cd61d8fb667a7b2d5b1f1818aebccfb1f0878f88c047e2340f1306af SHA512 4204a3c684db0e5906e62373aa7d4421c921f72e2bcb4198b14d4e98a4885519e07cac5a97ae04ba704df94b5f22b7209fc0190e58b02c03cf36bac5d46fbf0b
MISC metadata.xml 709 BLAKE2B 29d863a59fa534ccdaf3ccfe73ec03ff931055b7537ce3ef1111a596c8178f944910cd3c917e25f778a1e297d5fd0023833d0a8556adb6cd187fbd59e2ff5703 SHA512 a40c70b421b78a8bf2b7044b1b512600120c0352bf61755ba7d48af621fcc33c82ef3c7eff3df10c913add4b7250f7fb7461ea7171b21a07f306794d7c1cbdbf
diff --git a/media-sound/sox/sox-14.4.2_p20210509-r3.ebuild b/media-sound/sox/sox-14.4.2_p20210509-r3.ebuild
new file mode 100644
index 000000000000..760e1809a0d3
--- /dev/null
+++ b/media-sound/sox/sox-14.4.2_p20210509-r3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+# We take a snapshot because of the huge number of security
+# and other fixes since the release of 14.4.2.
+# Recommend mirroring the snapshot; unclear if they are stable URIs.
+COMMIT="42b3557e13e0fe01a83465b672d89faddbe65f49"
+MY_P="sox-code-${COMMIT}"
+
+PATCHSET="${P}-patchset"
+
+DESCRIPTION="The swiss army knife of sound processing programs"
+HOMEPAGE="https://sox.sourceforge.net"
+# Source: https://sourceforge.net/code-snapshots/git/s/so/sox/code.git/${MY_P}.zip
+SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/${MY_P}.zip -> ${P}.zip
+ https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="alsa amr ao encode flac id3tag ladspa mad ogg openmp oss opus png pulseaudio sndfile sndio twolame wavpack"
+
+RDEPEND="
+ dev-libs/libltdl:0=
+ >=media-sound/gsm-1.0.12-r1
+ sys-apps/file
+ alsa? ( media-libs/alsa-lib )
+ amr? ( media-libs/opencore-amr )
+ ao? ( media-libs/libao:= )
+ encode? ( >=media-sound/lame-3.98.4 )
+ flac? ( >=media-libs/flac-1.1.3:= )
+ id3tag? ( media-libs/libid3tag:= )
+ ladspa? ( media-libs/ladspa-sdk )
+ mad? ( media-libs/libmad )
+ ogg? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ opus? (
+ media-libs/opus
+ media-libs/opusfile
+ )
+ png? (
+ media-libs/libpng:0=
+ sys-libs/zlib
+ )
+ pulseaudio? ( media-libs/libpulse )
+ sndfile? ( >=media-libs/libsndfile-1.0.11 )
+ sndio? ( media-sound/sndio:= )
+ twolame? ( media-sound/twolame )
+ wavpack? ( media-sound/wavpack )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-arch/unzip
+ dev-build/autoconf-archive
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS ChangeLog NEWS )
+
+PATCHES=( "${WORKDIR}/${PATCHSET}" ) # bug 838382
+
+src_prepare() {
+ default
+
+ # bug #386027
+ sed -i -e 's|CFLAGS="-g"|CFLAGS="$CFLAGS -g"|' configure.ac || die
+
+ # bug #712630
+ if use elibc_musl ; then
+ ewarn "Applying musl workaround for bug #712630."
+ ewarn "File-type detection with pipes may be missing."
+ sed -i '/error FIX NEEDED HERE/d' src/formats.c || die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable alsa)
+ $(use_enable amr amrnb)
+ $(use_enable amr amrwb)
+ $(use_enable ao)
+ $(use_with encode lame)
+ $(use_enable flac)
+ $(use_with id3tag)
+ $(use_with ladspa ladspa dyn)
+ $(use_with mad)
+ --with-magic
+ $(use_enable openmp)
+ $(use_enable ogg oggvorbis)
+ $(use_enable oss)
+ $(use_enable opus)
+ $(use_with png)
+ $(use_enable pulseaudio)
+ $(use_enable sndfile)
+ $(use_enable sndio)
+ $(use_with twolame)
+ $(use_enable wavpack)
+ --enable-formats=dyn
+ --with-distro="Gentoo"
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -type f -name '*.la' -delete || die
+}