From 22910f5d14da606bd7f06e19a2f61c5d1a8fc94b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 May 2018 15:22:17 +0100 Subject: gentoo resync : 25.05.2018 --- media-libs/libebur128/Manifest | 14 ------ .../files/libebur128-1.0.3_fix-tests.patch | 23 ---------- .../libebur128/files/libebur128-1.2.2-cmake.patch | 52 ---------------------- .../files/libebur128-1.2.2-pkgconfig.patch | 43 ------------------ media-libs/libebur128/libebur128-1.0.2.ebuild | 36 --------------- media-libs/libebur128/libebur128-1.0.3.ebuild | 40 ----------------- media-libs/libebur128/libebur128-1.1.0.ebuild | 37 --------------- media-libs/libebur128/libebur128-1.2.0-r1.ebuild | 34 -------------- media-libs/libebur128/libebur128-1.2.2.ebuild | 39 ---------------- 9 files changed, 318 deletions(-) delete mode 100644 media-libs/libebur128/files/libebur128-1.0.3_fix-tests.patch delete mode 100644 media-libs/libebur128/files/libebur128-1.2.2-cmake.patch delete mode 100644 media-libs/libebur128/files/libebur128-1.2.2-pkgconfig.patch delete mode 100644 media-libs/libebur128/libebur128-1.0.2.ebuild delete mode 100644 media-libs/libebur128/libebur128-1.0.3.ebuild delete mode 100644 media-libs/libebur128/libebur128-1.1.0.ebuild delete mode 100644 media-libs/libebur128/libebur128-1.2.0-r1.ebuild delete mode 100644 media-libs/libebur128/libebur128-1.2.2.ebuild (limited to 'media-libs/libebur128') diff --git a/media-libs/libebur128/Manifest b/media-libs/libebur128/Manifest index 11e1f40ed803..88766f63606e 100644 --- a/media-libs/libebur128/Manifest +++ b/media-libs/libebur128/Manifest @@ -1,18 +1,4 @@ -AUX libebur128-1.0.3_fix-tests.patch 783 BLAKE2B 7a43ca98b36e7f257b176721e71093e8da5bb01dc27896188a360625e2cfb2b96e29a1bc8f67a99aa9228ef4001a58307d9f05506fd46bdfeee8fab7b89dd950 SHA512 0a65d0a635cadbb15f3153dd84f367258d7dea2100777b16a3ad954cb2a08ba1032290d4060e7b2424956a9f8792684bd82710af68e902f00e4a92d5283a3f20 -AUX libebur128-1.2.2-cmake.patch 1919 BLAKE2B eeac97404b0a6028afa9f48f061c4ae543b82e47b02c8c4b373b77257283c53181d8cabe95b0975b01c4081435ccb9b1fd6208aefb8a74878f75a2a7cdb74073 SHA512 a0e2b257a860d88436de1c3a55f416dc17486142b8202a79f314d17254366e502985a662b789d6fea08c54722df466ca8576bf5753832832a3a747aa1fd46362 -AUX libebur128-1.2.2-pkgconfig.patch 1480 BLAKE2B 72356eb4243546117838d58880fedc15188570dac200777e1537a919cf6ba1382633d3c01ab72bd1ccab04a35af5b090d59c9290cc93b6a1a5f37a4d8b89a975 SHA512 abe467351baf73cc159ebccbd9497cbebb6506d09192801d9b9711df4c2f354a0753a84f9af39a182bfbf76b9169ac29cfb3822dc41ba7471c6140b4a8bd202d -DIST ebu-loudness-test-setv03.zip 80837115 BLAKE2B ec122cc0928c3cdc78d319d7aabe7d9c7fdc307abbb3b6a44b92ac9b943044eba297c705d3bea51809de8edf761ea57fe0ed296fc13b598a286a3c2443a8d20c SHA512 ffa60e3f17370a7436614269ce33b2e3c8ec84c2477f05bd42b436bbd07b7018ae9ef935c9fd75ccff731bdf24b8231397ccc95fd003cdf6e04578ee62a663d5 DIST ebu-loudness-test-setv05.zip 91631421 BLAKE2B 95a345b0700893ab96854c7563ecc9c667db30e8137352226d1f1ac7a666f6b08d1748d88ef11f72056d0a4bd513f365a1336de568ea45917a6ba9af5bc526ea SHA512 60d022fdac47ad0be2688411be9daecbff85da994d6fa4921bba6cffab841b081d8b15d9ce284ad2253efb686463450a84a0d19cb0bad7a934546cc52dd73771 -DIST libebur128-1.0.2.tar.gz 29794 BLAKE2B 1d20b5064c4686e6b11b716dc6b9dc17180a211f39bb5f829a1a2137b8110811f4428d14a5190aee400f0a7a22e191e87ff14c714fd2223d09cee90df71810df SHA512 10f0248db9ebae48c0b3a62f5bab668d77bf10cd004267593b0cec1c5fcd5b1223fff2ae82d6753db7329210a0d7feb5a65a1c030e92607805d05c1b9885416a -DIST libebur128-1.0.3.tar.gz 19804 BLAKE2B 799cc3cd4a5f873fbebc66f2534239129fc8705634333c27a8f73fd4744d3c555972d3e5e1e15187ed14eb6d9e84c29aff5a4a8051aa3ae982e48ffb472bdf5e SHA512 586ae80c31b9ef1d315821cef6901edd3f3d5309299411e969cce18cdc1911639971ad249b3b49edae9195b428557dbfa3281a5dc22da20a245e66c497eb0422 -DIST libebur128-1.1.0.tar.gz 19318 BLAKE2B 94e33bea4a045f363d68ccdebf51a29cee07ece881b97f0960c983d8fb117f850f950088890be24eb14cfbfcf763afff2c52ee116c7cf324e596ddfb36978951 SHA512 13a0d92eae8d991a15cb090e5f3ca34fbe285bf7e8e01e10b5ccc8be4f066e8bbff6920370d4506284f02dbfca3a5189ddfe9135f195179d356257055768c08a -DIST libebur128-1.2.0.tar.gz 21690 BLAKE2B 58221437b0f22515529ea9f67d03b0a5bf996ba06460a7fba6200fcfb7efb5db40835b9da3f571da02dcbf6d27cf5ca207dddb6125a8a44ceab99499e314b3ed SHA512 70bae021e4a9c60e1eee5dd2ffb357bda007b9f29cda0a25b9ae453cf389661a238e6300a2bbfb323afe9b0955d2b8468fff91eb1bf2a3d665c9e32c5e80631d -DIST libebur128-1.2.2.tar.gz 21738 BLAKE2B 9e32968a7d58ae0aeb0e0c8c35e076a12e69260b4fdf5ee2bc0fc71f2ab00278f6c5195b43e4321b796711cfcba1e740ecc8f6d85b6cb6e866009d7ddc32c442 SHA512 76cf92824498cc0f73676ce4bf8e58156a0b2d5c686c6a483bbbdba95f879d651a2a3bb3b836e6409e0821aa165dc3c71827f47fd952407fb3e421a0c2c7ebf6 DIST libebur128-1.2.3.tar.gz 22150 BLAKE2B dee5857aa6d7a2523a4635d9d69964f22c7bda32b4329822650ad738d88a789f13d9ab5b66058f75093cbecac6db31742f4d041a511605be1357b5c2b6988c00 SHA512 d3e335a547e7e2b276be4f28ab93b87f6af91e818ea1e6513bcabe1ea74c99a04af0b03b6a36a27a83fec065ac609db0c6f70b67275134d39151114d54a50e29 -EBUILD libebur128-1.0.2.ebuild 942 BLAKE2B a739b5059a00d0cb34acdb470332894ff87596df11b0963067fb5c6069548b96a0342c912bc4820ad4a255b794db10bd36e5431cf34b08cb17c9a3db8ada5eac SHA512 4e38695dc1b4b8cf086040859b6b41b5de35a329076571d1a9eda10d6d05fca74cb56c2b1d0d0389972217162612233c3b97573670a54068d2581c0b8212371f -EBUILD libebur128-1.0.3.ebuild 1159 BLAKE2B a284d1752c4c0d780c24d8c4ef6a291f824c8617b222d72a6c3129faff1d303ad07d620dac04854a4aefabc3c8251fb54fa0bfcc5fa6ca17d29bfd4a36d0e584 SHA512 b7e0d59cb4098dc49eb8b6c72c8a8e8bd49a85e28fda52c5c5dc64bcf155e57eff822b20d9512a7a3463d7d2ec0e942a652637e7cdb4d63bd1cb98b66e4df5c0 -EBUILD libebur128-1.1.0.ebuild 1069 BLAKE2B 44f6662374f5799fe69bc3a301b78b78f30eb02746e08395a5a4f755a1cb460989120981824a3eb9a582488a88d972604648b7a0f8767262951c588a9a8dc491 SHA512 897b218e80356300bcf6494816db7dc487591a21ca35764b34ee7237377b4f9c37b4e3c2eef522ac4469061fc2429db07a016e30ca498b3ffe92763ee85cf5d0 -EBUILD libebur128-1.2.0-r1.ebuild 953 BLAKE2B b25cb6ba208c8db3e762982e16b661e1d4ed82299065be01a59a82dfc1d149b64275290ee630b4cac80ff46173511f3c9cacea8d3f0c1cc8a92d602e16bb6d40 SHA512 a7b1ae3173dd6ce3ced5f947750b4fe223f4d468746f77df471a20753439534269ec3b8b6fc9288cffb80f60d15e84debe165a9a3f8fb7d631d3ce4e7e73889b -EBUILD libebur128-1.2.2.ebuild 1049 BLAKE2B 077efae20cf8edcf0c1eb90ee5b3ffad097bcc3f8e7b137c52482bbec2c766ec897f2271d6f1e528ef1036368ab3383e02ed3d4ac0a35ec1c8c67ebe1457cb08 SHA512 33bb394ebf1aefd5447a38b88d9b72892ec2e8580de5691bc2f96e4c1673a01373d450587917c45d5d77b76aae9ef4137e037add82e380b57c94fb7c0d84c141 EBUILD libebur128-1.2.3.ebuild 966 BLAKE2B 882581c9744364f4fdd8c4f6ad92f73738ca6cfc965b3d8ac4e7e8f7a6667cadf6e7305a0ce6f1192b2433e1fbc3ecf3464468edb211b1f3338ce6e5496508eb SHA512 f82bb5049af5e486337bd2c36456cd05135d69ac804c521d146026b29779d0a21653aa9dfc7e8538bec8c757af99e396f90fec49c309443028a325a5fef056ae MISC metadata.xml 752 BLAKE2B fd4288cd3e104741b109ce1bfaa4562ec9258940a3b43d58d6a6427a6ded2a762c56907012811e2fd9de363ba87f3978aed62c0b1c9c79e1f9eac4134d1c6552 SHA512 d0117447e87d367f45438b1b2ebd3f238b8ddf97491d8d742bb0f6609e6da4cb155249f86f95a330545c89b6433badd93ff2d26b55a3417990d63612e26b6218 diff --git a/media-libs/libebur128/files/libebur128-1.0.3_fix-tests.patch b/media-libs/libebur128/files/libebur128-1.0.3_fix-tests.patch deleted file mode 100644 index 34a49cbea35e..000000000000 --- a/media-libs/libebur128/files/libebur128-1.0.3_fix-tests.patch +++ /dev/null @@ -1,23 +0,0 @@ -From d5a443afaf8bb16188d4069891c63ceab67bdb80 Mon Sep 17 00:00:00 2001 -From: Diogo Pereira -Date: Mon, 7 Sep 2015 18:46:20 +0100 -Subject: [PATCH] Fix tests build - ---- - test/CMakeLists.txt | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt -index 28716f0..9bc67d4 100644 ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.8.9) - set(ENABLE_TESTS OFF CACHE BOOL "Build test binaries, needs libsndfile") - - if(ENABLE_TESTS) -- find_pkg_config(SNDFILE sndfile REQUIRED) -+ find_package(PkgConfig REQUIRED) -+ pkg_check_modules(SNDFILE REQUIRED sndfile) - - include_directories(${EBUR128_INCLUDE_DIR}) - include_directories(SYSTEM ${SNDFILE_INCLUDE_DIRS}) diff --git a/media-libs/libebur128/files/libebur128-1.2.2-cmake.patch b/media-libs/libebur128/files/libebur128-1.2.2-cmake.patch deleted file mode 100644 index 9563ed15319f..000000000000 --- a/media-libs/libebur128/files/libebur128-1.2.2-cmake.patch +++ /dev/null @@ -1,52 +0,0 @@ -From d374f1983966fc3ff65bcd73e5f12d358c4f1273 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Sat, 4 Mar 2017 14:33:07 +0100 -Subject: [PATCH] CMakeList: do not overwrite module path - -Currently, the CMakeList.txt completely overwrites the CMAKE_MODULE_PATH -variable. - -This is problematic when an upper-layer buildsystem wants to set its own -module path to use custom modules. - -For example, Buildroot [0] provides a custom platform description [1] to -fix cross-compilation issue. Overwriting the module path means that this -custom platform description is not found: - - System is unknown to cmake, create: - Platform/Buildroot to use this system, please send your config file - to cmake@www.cmake.org so it can be added to cmake - -Providing such a custom platform description is what the upstream cmake -devs suggest [2], quoting: - - If a toolchain file specifies CMAKE_SYSTEM_NAME such that a custom - `Platform/MySystem.cmake` file is loaded then the latter can set - them [*] as needed for the target platform. - -[*] offending settings causing RPATH issues during cross-compilation. - -So we need to append to the module path, rather than replace it blindly. - -[0] https://buildroot.org/ -[1] https://git.buildroot.org/buildroot/tree/support/misc/Buildroot.cmake -[2] http://public.kitware.com/pipermail/cmake/2017-February/065063.html - -Signed-off-by: "Yann E. MORIN" ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index eea18a6..ff352eb 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,7 +1,7 @@ - cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) - project(libebur128 C) - --set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) -+list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) - set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}) - set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}) - diff --git a/media-libs/libebur128/files/libebur128-1.2.2-pkgconfig.patch b/media-libs/libebur128/files/libebur128-1.2.2-pkgconfig.patch deleted file mode 100644 index 7382960711f1..000000000000 --- a/media-libs/libebur128/files/libebur128-1.2.2-pkgconfig.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 13d70019c6d0e94b1ab71d0d2cf80023cc793071 Mon Sep 17 00:00:00 2001 -From: Sebastian Ramacher -Date: Sat, 18 Feb 2017 01:13:03 +0100 -Subject: [PATCH] Add a pkg-config file (fixes #61) - -Signed-off-by: Sebastian Ramacher ---- - ebur128/CMakeLists.txt | 6 ++++++ - ebur128/libebur128.pc.cmake | 11 +++++++++++ - 2 files changed, 17 insertions(+) - create mode 100644 ebur128/libebur128.pc.cmake - -diff --git a/ebur128/CMakeLists.txt b/ebur128/CMakeLists.txt -index af09ebb..f9a8017 100644 ---- a/ebur128/CMakeLists.txt -+++ b/ebur128/CMakeLists.txt -@@ -59,3 +59,9 @@ if(BUILD_STATIC_LIBS) - else() - install(TARGETS ebur128 DESTINATION ${CMAKE_INSTALL_LIBDIR}) - endif() -+ -+#### pkg-config -+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libebur128.pc.cmake -+ ${CMAKE_CURRENT_BINARY_DIR}/libebur128.pc @ONLY) -+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libebur128.pc" -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) -diff --git a/ebur128/libebur128.pc.cmake b/ebur128/libebur128.pc.cmake -new file mode 100644 -index 0000000..017fdeb ---- /dev/null -+++ b/ebur128/libebur128.pc.cmake -@@ -0,0 +1,11 @@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+includedir=${prefix}/include -+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ -+ -+Name: libebur128 -+Description: EBU R 128 standard for loudness normalisation -+Version: @EBUR128_VERSION@ -+URL: https://github.com/jiixyj/libebur128 -+Libs: -L${libdir} -lebur128 -+Libs.private: -lm -+Cflags: -I${includedir} diff --git a/media-libs/libebur128/libebur128-1.0.2.ebuild b/media-libs/libebur128/libebur128-1.0.2.ebuild deleted file mode 100644 index 2994e6026ef5..000000000000 --- a/media-libs/libebur128/libebur128-1.0.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-utils - -DESCRIPTION="A library implementing the EBU R128 loudness standard." -HOMEPAGE="https://github.com/jiixyj/libebur128" -SRC_URI="https://github.com/jiixyj/libebur128/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://tech.ebu.ch/files/live/sites/tech/files/shared/testmaterial/ebu-loudness-test-setv03.zip )" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+speex test" - -RDEPEND="speex? ( media-libs/speex )" -DEPEND="${RDEPEND} - test? ( media-libs/libsndfile - app-arch/unzip )" - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_disable speex SPEEXDSP) - $(cmake-utils_use_enable test TESTS) - ) - cmake-utils_src_configure -} - -src_test() { - cd "${WORKDIR}" - "${P}_build"/r128-test-library | tee test-results - grep -c "^FAILED" test-results > /dev/null \ - && die "At least one test failed" -} diff --git a/media-libs/libebur128/libebur128-1.0.3.ebuild b/media-libs/libebur128/libebur128-1.0.3.ebuild deleted file mode 100644 index 4f58da06c7f5..000000000000 --- a/media-libs/libebur128/libebur128-1.0.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-multilib - -DESCRIPTION="A library implementing the EBU R128 loudness standard" -HOMEPAGE="https://github.com/jiixyj/libebur128" -SRC_URI="https://github.com/jiixyj/libebur128/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://tech.ebu.ch/files/live/sites/tech/files/shared/testmaterial/ebu-loudness-test-setv03.zip )" - -LICENSE="MIT" -SLOT="0/1" -KEYWORDS="~amd64 ~x86" -IUSE="+speex static-libs test" - -RDEPEND="speex? ( media-libs/speex[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - test? ( media-libs/libsndfile[${MULTILIB_USEDEP}] - app-arch/unzip )" - -# Fix tests build. Merged upstream (#39). -PATCHES=( "${FILESDIR}/${P}_fix-tests.patch" ) - -multilib_src_configure() { - local mycmakeargs=( - $(cmake-utils_use_disable speex SPEEXDSP) - $(cmake-utils_use_build static-libs STATIC_LIBS) - $(cmake-utils_use_enable test TESTS) - ) - cmake-utils_src_configure -} - -multilib_src_test() { - cd "${WORKDIR}" - "${BUILD_DIR}"/r128-test-library | tee test-results - grep -c "^FAILED" test-results > /dev/null \ - && die "At least one test failed" -} diff --git a/media-libs/libebur128/libebur128-1.1.0.ebuild b/media-libs/libebur128/libebur128-1.1.0.ebuild deleted file mode 100644 index f8a6bf6fa1eb..000000000000 --- a/media-libs/libebur128/libebur128-1.1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-multilib - -DESCRIPTION="A library implementing the EBU R128 loudness standard" -HOMEPAGE="https://github.com/jiixyj/libebur128" -SRC_URI="https://github.com/jiixyj/libebur128/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://tech.ebu.ch/files/live/sites/tech/files/shared/testmaterial/ebu-loudness-test-setv03.zip )" - -LICENSE="MIT" -SLOT="0/1" -KEYWORDS="~amd64 ~x86" -IUSE="+speex static-libs test" - -RDEPEND="speex? ( media-libs/speex[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - test? ( media-libs/libsndfile[${MULTILIB_USEDEP}] - app-arch/unzip )" - -multilib_src_configure() { - local mycmakeargs=( - $(cmake-utils_use_disable speex SPEEXDSP) - $(cmake-utils_use_build static-libs STATIC_LIBS) - $(cmake-utils_use_enable test TESTS) - ) - cmake-utils_src_configure -} - -multilib_src_test() { - cd "${WORKDIR}" - "${BUILD_DIR}"/r128-test-library | tee test-results - grep -c "^FAILED" test-results > /dev/null \ - && die "At least one test failed" -} diff --git a/media-libs/libebur128/libebur128-1.2.0-r1.ebuild b/media-libs/libebur128/libebur128-1.2.0-r1.ebuild deleted file mode 100644 index 8ddaa34fcd8d..000000000000 --- a/media-libs/libebur128/libebur128-1.2.0-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-multilib - -DESCRIPTION="A library implementing the EBU R128 loudness standard" -HOMEPAGE="https://github.com/jiixyj/libebur128" -SRC_URI="https://github.com/jiixyj/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://tech.ebu.ch/files/live/sites/tech/files/shared/testmaterial/ebu-loudness-test-setv05.zip )" - -LICENSE="MIT" -SLOT="0/1" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 x86" -IUSE="static-libs test" - -DEPEND="test? ( app-arch/unzip - media-libs/libsndfile[${MULTILIB_USEDEP}] )" - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_TESTS=$(usex test) - ) - cmake-utils_src_configure -} - -multilib_src_test() { - cd "${WORKDIR}" - "${BUILD_DIR}"/r128-test-library | tee test-results - grep -c "^FAILED" test-results > /dev/null \ - && die "At least one test failed" -} diff --git a/media-libs/libebur128/libebur128-1.2.2.ebuild b/media-libs/libebur128/libebur128-1.2.2.ebuild deleted file mode 100644 index 7ba0c94bd14e..000000000000 --- a/media-libs/libebur128/libebur128-1.2.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-multilib - -DESCRIPTION="A library implementing the EBU R128 loudness standard" -HOMEPAGE="https://github.com/jiixyj/libebur128" -SRC_URI="https://github.com/jiixyj/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://tech.ebu.ch/files/live/sites/tech/files/shared/testmaterial/ebu-loudness-test-setv05.zip )" - -LICENSE="MIT" -SLOT="0/1" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="static-libs test" - -DEPEND="test? ( app-arch/unzip - media-libs/libsndfile[${MULTILIB_USEDEP}] )" - -PATCHES=( - "${FILESDIR}/${P}-pkgconfig.patch" - "${FILESDIR}/${P}-cmake.patch" -) - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_TESTS=$(usex test) - ) - cmake-utils_src_configure -} - -multilib_src_test() { - cd "${WORKDIR}" - "${BUILD_DIR}"/r128-test-library | tee test-results - grep -c "^FAILED" test-results > /dev/null \ - && die "At least one test failed" -} -- cgit v1.2.3