diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-01-08 05:21:35 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-01-08 07:57:51 -0500 |
commit | f18a539a7b52eddcde201433a90e8a03d05b0787 (patch) | |
tree | 606a66d71d67ccb245badca8a68fb8d9bb8d8249 /media-libs | |
parent | gui-libs/egl-gbm: stabilize 1.1.1 for amd64 (diff) | |
download | gentoo-f18a539a7b52eddcde201433a90e8a03d05b0787.tar.gz gentoo-f18a539a7b52eddcde201433a90e8a03d05b0787.tar.bz2 gentoo-f18a539a7b52eddcde201433a90e8a03d05b0787.zip |
media-libs/cubeb: drop 0.2_p20220922
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/cubeb/Manifest | 13 | ||||
-rw-r--r-- | media-libs/cubeb/cubeb-0.2_p20220922.ebuild | 113 | ||||
-rw-r--r-- | media-libs/cubeb/files/cubeb-0.2_p20211213-automagic.patch | 51 | ||||
-rw-r--r-- | media-libs/cubeb/metadata.xml | 1 |
4 files changed, 0 insertions, 178 deletions
diff --git a/media-libs/cubeb/Manifest b/media-libs/cubeb/Manifest index 2a74f8408841..c602b94e491b 100644 --- a/media-libs/cubeb/Manifest +++ b/media-libs/cubeb/Manifest @@ -1,14 +1 @@ -DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 -DIST cache-padded-1.2.0.crate 9125 BLAKE2B d50b506aca9cfad3117be593c33bba4a5240034a838610925f9eac969155f22e0064c91f8d3588333880d1f5b6b936df87c0728530f80cd1062c73d570bfd1e4 SHA512 5b67d06908981d0e1ba01912a973cc5c90ce6612f227b306d12b13500594f5d2376d437a046e10b9cf959b609cb67fa6e24193fc651cb2d84e1f77338c6823fc -DIST cc-1.0.73.crate 57880 BLAKE2B be8d7a25a54afdd759844e76aec61526fc2bd5ca09480e6cdd3bdcf27e5f9d3a88dc16cbcbf54cd021470a7cc521e1ad468116c112bbd30752bac0d5486939ac SHA512 980f012b90c6410144f6de4995048337e09214f19603076db6d4edb88e9ef9ac9e8c6e25569f66c2be3a47e99298f5886dafc102e1a9122316179aa26bc1c985 -DIST cmake-0.1.48.crate 15142 BLAKE2B 5566d196c7ebcaa6b4d91e3361d7c92eb9c60c0a940b6d581d8cfc547606781f04f77d707ed128a6a391ec46fe801a4f65acac3c7c9bc90e0e43cd9e1bd6be03 SHA512 c836208d43f4a716be6ef043a6b5f526d3961b9414f1419171895903491176a2a8dc2f271062667a7568c7deb2bebfe96541b4e4fe73c31aa9aa760557b188b9 -DIST cubeb-0.2_p20220922.tar.gz 223096 BLAKE2B 55e9bca6792a9e27e74ad29d0059b97997f15c58b04982a37e9afb0edeecfddf9ef41c40f934207883b46f3b669c5323ee9399fd4abd78b0bf91609ffda7d8ab SHA512 cbdaed8202649cd5ef6970457c412c94e3a7e12036017e551a2396d52ddd66061ed7cd9f5442418e5b410756836f1535bc957af92c2709c72a2a1c8e77f0678a DIST cubeb-0.2_p20231121.tar.gz 228779 BLAKE2B aa4b2a1e2f240efc67e827e1fda58c15d13ff9e4ced7c01bcbd4509c3853a247e7f1f77fad18b7622e20c65304550364e847829e34dc25b99a4b2ed6ed67111a SHA512 7ba1cd5b74d49512d2ebf9b07889ee3ad46559afe3293bcbebae0613661f7502f0baaa20b6723738c21b2d71f9d8f72ed1252703533507dec5d2b5ad84784017 -DIST cubeb-backend-0.10.1.crate 6359 BLAKE2B 5830be150dfa1dd2ece6dd1bbc3400c23d85867ca066107175f0da8e2cb2066e247f103f2cc4d523018f8ff98235b794fd68272798ee8e09c59a070bbb6b6ce2 SHA512 dd9d47af3f1b0a5af2e6bbccd42e8c8ea50cb995d82f0a090adb236a3759a5107c1b840da03701594181e63138e5d31ca3741262a7a4aa1ca1309e54c8aa50b2 -DIST cubeb-core-0.10.1.crate 10915 BLAKE2B e428637a4d0946a630b9a33c9ac856a8a92d4a8e30e33abf375e592bdc061a95c33414345b18c8c447d7753a8b0a1c8fcaa7b0b3e3b15593908816e029182871 SHA512 2d3f6c904c966adaf9fb886b42d33776ff5ad57600e1057a9b35e7cd9e2de34a028b0e33602db69d6f0bc038391ebbe6b102bf3a883e1fa9104f55e2ec124a62 -DIST cubeb-pulse-rs-f32b3ef708.tar.gz 37717 BLAKE2B f77cb42b32439025f4d1fbbd4558560b8420b24d8e13881f5280532860a495cc2ce95bd70d114de2777e3cacf785e55f6965b1a3aee9ba8fcca33d14e1a71956 SHA512 f801b24173f34b801b6e78fcec232736d353d78b4b8d3d690e69524c3b146aa0345e746dcb81aa8cf1fe17a85bf0e7f940f4b9c46d64de644e3b03d498af5f76 -DIST cubeb-sys-0.10.1.crate 682811 BLAKE2B 1920bcafa0ca3350cf0df84c32e41c04a0fef79f9440b90fb1c5cbb269f2a9a71c7ec57dc5f605ec1c00cdff3fd833e630889d0acd4894c70280942afe9a59cf SHA512 eb3e4c64e1480f487a2ab3db8da61286eca05960972c7d11ba61dbb131a0d718681021d7cdd220569fc802a3a6bfbae237a9f162514d3e05d066f22e6cbcd353 -DIST libc-0.2.133.crate 603256 BLAKE2B 00139eb8ec3921b961c20e9334e7b2fefe87d03df22c77b213491c07d93be193d991a814efa20c91cd5eab93fe392ef511ae4cec497bd5c41372d5aad1c31dde SHA512 526561652d77d5f61fa52dd9fe02a46a5f66289ec0aff5b2464311c3a90972c3ced0a84dbc901fa99a0fe35ef36af890bb7de40b9c6b7b7dce7fe8a1a738ed7b -DIST pkg-config-0.3.25.crate 16838 BLAKE2B b6ebbcacdc0f440e24ce5730edd4b371387cf7f44e438216893f29c0f303ac7920791630d4a9bf13581da840c8888e18bdd78dc61458d3331e967b3dfa6d0597 SHA512 46658794f0a7446354041c1cc08cf637970f7651c0c506e2b90c9d4e284347cb82f05ce282cc55c8087bed58a5b961424a56574f4500de9f3ba9cb9e71667aa8 -DIST ringbuf-0.2.8.crate 19502 BLAKE2B e8f89e385c7bf6abca64861b7056327679cf6a969dbf2f2304c06fd1d67c99e246c647a58a13954cc8e0e16918fa544e8f25cc4610dfe5ba8879f22584356ea7 SHA512 8bf2d79c65451df9b22b696a6ddddd004768e8fd90920d624fccc77ff5c63067fb663b3cbff9e29e17b7d553f86e2016d754f3ff843f34dfd0a105ade2630f53 -DIST semver-1.0.14.crate 29813 BLAKE2B a080f0a65127142a90bf033452241ffebfc7098b56a6a6b8bd818528df3b88fb48b3982125b405c1601e1bd55f3a0fdb4ffd9653e398295d8156651a04b2e903 SHA512 04db4c0a30141c2767d24d6d715b66ecd6355c1c88e572d4c473e0fa8c1fdd7197092b8286c973f25d201c5fcdc9105ba3e28c11ba1546a666167afc1fdf6728 diff --git a/media-libs/cubeb/cubeb-0.2_p20220922.ebuild b/media-libs/cubeb/cubeb-0.2_p20220922.ebuild deleted file mode 100644 index b818d00c8a95..000000000000 --- a/media-libs/cubeb/cubeb-0.2_p20220922.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=1 -CRATES=" - bitflags@1.3.2 - cache-padded@1.2.0 - cc@1.0.73 - cmake@0.1.48 - cubeb-backend@0.10.1 - cubeb-core@0.10.1 - cubeb-sys@0.10.1 - libc@0.2.133 - pkg-config@0.3.25 - ringbuf@0.2.8 - semver@1.0.14" -inherit cargo cmake flag-o-matic - -HASH_CUBEB=93d1fa3fccdc22da37aa59f67b213591797db369 -HASH_PULSERS=f32b3ef708c0bfb2c414c08971d638527353d376 - -DESCRIPTION="Cross-platform audio library" -HOMEPAGE="https://github.com/mozilla/cubeb/" -SRC_URI=" - https://github.com/mozilla/cubeb/archive/${HASH_CUBEB}.tar.gz -> ${P}.tar.gz - pulseaudio? ( rust? ( - https://github.com/mozilla/cubeb-pulse-rs/archive/${HASH_PULSERS}.tar.gz - -> ${PN}-pulse-rs-${HASH_PULSERS::10}.tar.gz - ${CARGO_CRATE_URIS} - ) )" -S="${WORKDIR}/${PN}-${HASH_CUBEB}" - -LICENSE="ISC pulseaudio? ( rust? ( || ( Apache-2.0 MIT ) ) )" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" -IUSE="alsa doc jack pulseaudio +rust sndio test" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/speexdsp - alsa? ( media-libs/alsa-lib ) - jack? ( virtual/jack ) - pulseaudio? ( media-libs/libpulse ) - sndio? ( media-sound/sndio:= )" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest )" -BDEPEND=" - doc? ( app-doc/doxygen ) - pulseaudio? ( rust? ( ${RUST_DEPEND} ) )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.2_p20211213-automagic.patch -) - -src_unpack() { - use pulseaudio && use rust && cargo_src_unpack || default -} - -src_prepare() { - if use pulseaudio && use rust; then - mv ../${PN}-pulse-rs-${HASH_PULSERS} src/${PN}-pulse-rs || die - fi - - cmake_src_prepare - - use !debug || sed -i 's|/release/|/debug/|' CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DBUILD_RUST_LIBS=$(usex rust) - -DBUILD_TESTS=$(usex test) - -DBUILD_TOOLS=no # semi-broken without most backends and not needed - -DCHECK_ALSA=$(usex alsa) - -DCHECK_JACK=$(usex jack) - -DCHECK_PULSE=$(usex pulseaudio) - -DCHECK_SNDIO=$(usex sndio) - -DLAZY_LOAD_LIBS=no - -DUSE_SANITIZERS=no - $(cmake_use_find_package doc Doxygen) - ) - - if use pulseaudio && use rust; then - # undefined references with cubeb-core, often need to be filtered for - # cmake bits as well if combined with rust in case of llvm mismatch - filter-lto - cargo_src_configure --manifest-path src/${PN}-pulse-rs/Cargo.toml - fi - - cmake_src_configure -} - -src_compile() { - use pulseaudio && use rust && cargo_src_compile - - cmake_src_compile -} - -src_test() { - use pulseaudio && use rust && cargo_src_test - - # these tests need access to audio devices and no sandbox - cmake_src_test -E '(audio|callback_ret|device_changed_callback|devices|duplex|latency|record|sanity|tone)' -} - -src_install() { - cmake_src_install - - use doc && dodoc -r "${BUILD_DIR}"/docs/html -} diff --git a/media-libs/cubeb/files/cubeb-0.2_p20211213-automagic.patch b/media-libs/cubeb/files/cubeb-0.2_p20211213-automagic.patch deleted file mode 100644 index 5dd4a9553562..000000000000 --- a/media-libs/cubeb/files/cubeb-0.2_p20211213-automagic.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -175,38 +175,48 @@ - - find_package(PkgConfig REQUIRED) - -+ if(CHECK_PULSE) - pkg_check_modules(libpulse IMPORTED_TARGET libpulse) - if(libpulse_FOUND) - set(USE_PULSE ON) - target_compile_definitions(cubeb PRIVATE DISABLE_LIBPULSE_DLOPEN) - target_link_libraries(cubeb PRIVATE PkgConfig::libpulse) - endif() -+ endif() - -+ if(CHECK_ALSA) - pkg_check_modules(alsa IMPORTED_TARGET alsa) - if(alsa_FOUND) - set(USE_ALSA ON) - target_compile_definitions(cubeb PRIVATE DISABLE_LIBASOUND_DLOPEN) - target_link_libraries(cubeb PRIVATE PkgConfig::alsa) - endif() -+ endif() - -+ if(CHECK_JACK) - pkg_check_modules(jack IMPORTED_TARGET jack) - if(jack_FOUND) - set(USE_JACK ON) - target_compile_definitions(cubeb PRIVATE DISABLE_LIBJACK_DLOPEN) - target_link_libraries(cubeb PRIVATE PkgConfig::jack) - endif() -+ endif() - -+ if(CHECK_SNDIO) - check_include_files(sndio.h USE_SNDIO) - if(USE_SNDIO) - target_compile_definitions(cubeb PRIVATE DISABLE_LIBSNDIO_DLOPEN) - target_link_libraries(cubeb PRIVATE sndio) - endif() -+ endif() - -+ if(CHECK_AAUDIO) - check_include_files(aaudio/AAudio.h USE_AAUDIO) - if(USE_AAUDIO) - target_compile_definitions(cubeb PRIVATE DISABLE_LIBAAUDIO_DLOPEN) - target_link_libraries(cubeb PRIVATE aaudio) - endif() -+ endif() - endif() - - if(USE_PULSE) diff --git a/media-libs/cubeb/metadata.xml b/media-libs/cubeb/metadata.xml index 8f8c47fd0ccd..fa0642828746 100644 --- a/media-libs/cubeb/metadata.xml +++ b/media-libs/cubeb/metadata.xml @@ -6,7 +6,6 @@ <name>Ionen Wolkens</name> </maintainer> <use> - <flag name="rust">Use the newer rust-based audio backends if available</flag> <flag name="sndio">Enable support for the <pkg>media-sound/sndio</pkg> backend</flag> </use> <upstream> |