summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2019-07-02 08:17:32 +0200
committerAmy Liffey <amynka@gentoo.org>2019-07-02 08:21:20 +0200
commitd108c3805a7df097238e6a3de2d2b9c06b9d23cf (patch)
tree697db5a65b6e84efcf9dfa8566158865bc5994ec /media-libs/libebur128
parentapp-crypt/p11-kit: fix date handling (diff)
downloadgentoo-d108c3805a7df097238e6a3de2d2b9c06b9d23cf.tar.gz
gentoo-d108c3805a7df097238e6a3de2d2b9c06b9d23cf.tar.bz2
gentoo-d108c3805a7df097238e6a3de2d2b9c06b9d23cf.zip
media-libs/libebur128: version bump 1.2.4
Closes: https://bugs.gentoo.org/689050 Signed-off-by: Amy Liffey <amynka@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'media-libs/libebur128')
-rw-r--r--media-libs/libebur128/Manifest1
-rw-r--r--media-libs/libebur128/libebur128-1.2.4.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/libebur128/Manifest b/media-libs/libebur128/Manifest
index f8e41b5e1e8c..a31d61ddfd28 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.3.tar.gz 22150 BLAKE2B dee5857aa6d7a2523a4635d9d69964f22c7bda32b4329822650ad738d88a789f13d9ab5b66058f75093cbecac6db31742f4d041a511605be1357b5c2b6988c00 SHA512 d3e335a547e7e2b276be4f28ab93b87f6af91e818ea1e6513bcabe1ea74c99a04af0b03b6a36a27a83fec065ac609db0c6f70b67275134d39151114d54a50e29
+DIST libebur128-1.2.4.tar.gz 23140 BLAKE2B 4095a11b976109c82ffbd133d5e509b60a2fa27871982d4a81c1927cb23783e89f907bcce52e78d3c743d1e41d1bd823b9b7b510792137649e4b3b680c93eca7 SHA512 d9aec133aca9240f7e859aae30cfcab07ba7aa20378187d53dfeec4cd3840d49bb117fa0698591bac04d95f9d8b5cd0b1fbe41c364694f2fa8267dd690b2dc02
diff --git a/media-libs/libebur128/libebur128-1.2.4.ebuild b/media-libs/libebur128/libebur128-1.2.4.ebuild
new file mode 100644
index 000000000000..088bc8687f26
--- /dev/null
+++ b/media-libs/libebur128/libebur128-1.2.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~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}" || die
+ "${BUILD_DIR}"/r128-test-library | tee test-results
+ grep -c "^FAILED" test-results > /dev/null \
+ && die "At least one test failed"
+}