media-libs/libebur128: Version bump to 1.0.3. Thanks Diogo Pereira and mgorny.

Package-Manager: portage-2.2.20.1
This commit is contained in:
Amy Winston
2015-09-08 14:51:05 +02:00
parent 2eb7554fde
commit 5faa18858b
4 changed files with 83 additions and 7 deletions

View File

@@ -1,2 +1,3 @@
DIST ebu-loudness-test-setv03.zip 80837115 SHA256 c97e8e1f962ee0a97dca37d205418b3469dd0d1e2a627fa9f505f2f1c01f54ec SHA512 ffa60e3f17370a7436614269ce33b2e3c8ec84c2477f05bd42b436bbd07b7018ae9ef935c9fd75ccff731bdf24b8231397ccc95fd003cdf6e04578ee62a663d5 WHIRLPOOL d4d128c90759c6462c1d76183960d46eae8f434a47059c1e448d8550e9ba04daef3452d9a7bd2b38f1a85ac5551ae2983bd5fa6bcd66f7df6a88dcbc38bf3bd3
DIST libebur128-1.0.2.tar.gz 29794 SHA256 9b334d31a26b47ba6740bb7bbee7a24461d535f426b1ed42368c187e27c08323 SHA512 10f0248db9ebae48c0b3a62f5bab668d77bf10cd004267593b0cec1c5fcd5b1223fff2ae82d6753db7329210a0d7feb5a65a1c030e92607805d05c1b9885416a WHIRLPOOL 4656d8e05d98d2a1b8d286602b2671d2016ec0b8e35f66689d97ad700c61fcb1234e85308ab00f01a6ac51d741232054b251da04594f646138eb5d0103564585
DIST libebur128-1.0.3.tar.gz 19804 SHA256 dd90d0e44bd4db1e038d990b4538a7317b2f44f29eaf2e206c247663234d9d52 SHA512 586ae80c31b9ef1d315821cef6901edd3f3d5309299411e969cce18cdc1911639971ad249b3b49edae9195b428557dbfa3281a5dc22da20a245e66c497eb0422 WHIRLPOOL c5d62232ed6bc05bf909a809fc38c15d79d1278ecc708ca94d4b41e37d38985d50764eeff9a6c5a4582baf3963864d512ba90d6b7a90c363b3bb334ebb860fda

View File

@@ -0,0 +1,23 @@
From d5a443afaf8bb16188d4069891c63ceab67bdb80 Mon Sep 17 00:00:00 2001
From: Diogo Pereira <sir.suriv@gmail.com>
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})

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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"
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"
}

View File

@@ -1,12 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>amynka@gentoo.org</email>
</maintainer>
<longdescription>
<maintainer>
<email>amynka@gentoo.org</email>
<name>Amy Winston</name>
</maintainer>
<longdescription lang="en">
libebur128 is a library that implements the EBU R128 standard for loudness normalisation.
</longdescription>
<upstream>
<remote-id type="github">jiixyj/libebur128</remote-id>
</upstream>
<upstream>
<maintainer status="active">
<email>jan.kokemueller@gmail.com</email>
<name>Jan Kokemüller</name>
</maintainer>
<maintainer status="active">
<email>superjoe30@gmail.com</email>
<name>Andrew Kelley</name>
</maintainer>
<remote-id type="github">jiixyj/libebur128</remote-id>
<bugs-to>https://github.com/jiixyj/libebur128/issues</bugs-to>
</upstream>
</pkgmetadata>