diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-14 19:09:06 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-14 22:51:17 +0100 |
commit | bc184ef19905e07d4b02c8696e52dff68a9e32a8 (patch) | |
tree | 7a0a9da37cc4e63f1d2a9a73ba188b552584c0b0 /media-libs/libebur128 | |
parent | x11-misc/tint2: Port to cmake.eclass, drop superfluous phase functions (diff) | |
download | gentoo-bc184ef19905e07d4b02c8696e52dff68a9e32a8.tar.gz gentoo-bc184ef19905e07d4b02c8696e52dff68a9e32a8.tar.bz2 gentoo-bc184ef19905e07d4b02c8696e52dff68a9e32a8.zip |
media-libs/libebur128: 1.2.6 version bump, drop IUSE=static-libs
Set CMAKE_ECLASS=cmake
Closes: https://bugs.gentoo.org/770550
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/libebur128')
-rw-r--r-- | media-libs/libebur128/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libebur128/libebur128-1.2.6.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/media-libs/libebur128/Manifest b/media-libs/libebur128/Manifest index b9f9ecd7063f..113780e952ee 100644 --- a/media-libs/libebur128/Manifest +++ b/media-libs/libebur128/Manifest @@ -1,2 +1,3 @@ DIST ebu-loudness-test-setv05.zip 91631421 BLAKE2B 95a345b0700893ab96854c7563ecc9c667db30e8137352226d1f1ac7a666f6b08d1748d88ef11f72056d0a4bd513f365a1336de568ea45917a6ba9af5bc526ea SHA512 60d022fdac47ad0be2688411be9daecbff85da994d6fa4921bba6cffab841b081d8b15d9ce284ad2253efb686463450a84a0d19cb0bad7a934546cc52dd73771 DIST libebur128-1.2.4.tar.gz 23140 BLAKE2B 4095a11b976109c82ffbd133d5e509b60a2fa27871982d4a81c1927cb23783e89f907bcce52e78d3c743d1e41d1bd823b9b7b510792137649e4b3b680c93eca7 SHA512 d9aec133aca9240f7e859aae30cfcab07ba7aa20378187d53dfeec4cd3840d49bb117fa0698591bac04d95f9d8b5cd0b1fbe41c364694f2fa8267dd690b2dc02 +DIST libebur128-1.2.6.tar.gz 25890 BLAKE2B 8f497091d201f05efc02c423ac3e83e9d056c11ac0dd67cc89d43b7d50f1a28f22ea0f35d329e6f7c8e3df4fb1f245e729fcf7201bdf0c83477211f67472fd00 SHA512 ab188c6d32cd14613119258313a8a3fb1167b55501c9f5b6d3ba738d674bc58f24ac3034c23d9730ed8dc3e95a23619bfb81719e4c79807a9a16c1a5b3423582 diff --git a/media-libs/libebur128/libebur128-1.2.6.ebuild b/media-libs/libebur128/libebur128-1.2.6.ebuild new file mode 100644 index 000000000000..f031bb7c263e --- /dev/null +++ b/media-libs/libebur128/libebur128-1.2.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +DESCRIPTION="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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + app-arch/unzip + media-libs/libsndfile[${MULTILIB_USEDEP}] + ) +" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + cd "${WORKDIR}" || die + "${BUILD_DIR}"/r128-test-library | tee test-results + grep -c "^FAILED" test-results > /dev/null \ + && die "At least one test failed" +} |