public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Amy Winston" <amynka@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libebur128/
Date: Wed, 19 Aug 2015 09:53:18 +0000 (UTC)	[thread overview]
Message-ID: <1439977952.3ab35569edf1a132bc0dcaeee498663e0bc93d64.amynka@gentoo> (raw)

commit:     3ab35569edf1a132bc0dcaeee498663e0bc93d64
Author:     Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 09:52:00 2015 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 09:52:32 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab35569

media-libs/libebur128: Test phase added. Thanks Diogo Pereira.

Package-Manager: portage-2.2.20.1

 media-libs/libebur128/Manifest                |  1 +
 media-libs/libebur128/libebur128-1.0.2.ebuild | 23 ++++++++++++++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/media-libs/libebur128/Manifest b/media-libs/libebur128/Manifest
index 2a8529d..74aba63 100644
--- a/media-libs/libebur128/Manifest
+++ b/media-libs/libebur128/Manifest
@@ -1 +1,2 @@
+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

diff --git a/media-libs/libebur128/libebur128-1.0.2.ebuild b/media-libs/libebur128/libebur128-1.0.2.ebuild
index e62978e..5c87eae 100644
--- a/media-libs/libebur128/libebur128-1.0.2.ebuild
+++ b/media-libs/libebur128/libebur128-1.0.2.ebuild
@@ -8,17 +8,30 @@ 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"
+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"
-IUSE="+speex"
+IUSE="+speex test"
 
-DEPEND="speex? ( media-libs/speex )"
-RDEPEND="${DEPEND}"
+RDEPEND="speex? ( media-libs/speex )"
+DEPEND="${RDEPEND}
+	test? ( media-libs/libsndfile
+		app-arch/unzip )"
 
 src_configure() {
-	local mycmakeargs=( $(cmake-utils_use_disable speex SPEEXDSP) )
+	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"
+}


             reply	other threads:[~2015-08-19  9:53 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  9:53 Amy Winston [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-10  9:31 [gentoo-commits] repo/gentoo:master commit in: media-libs/libebur128/ Andreas Sturmlechner
2024-11-10  9:31 Andreas Sturmlechner
2022-04-10 13:33 Yixun Lan
2021-04-07  6:27 Andreas Sturmlechner
2021-04-07  6:21 Sam James
2021-04-06 19:51 Sam James
2021-04-05 16:53 Sam James
2021-04-05 16:45 Sam James
2021-04-05 16:43 Sam James
2021-02-14 21:52 Andreas Sturmlechner
2020-01-28 20:59 Andreas Sturmlechner
2019-12-21 11:02 Mikle Kolyada
2019-12-03  8:38 Agostino Sarubbo
2019-12-01 15:38 Thomas Deutschmann
2019-12-01 14:21 Agostino Sarubbo
2019-12-01 14:01 Sergei Trofimovich
2019-12-01 13:56 Sergei Trofimovich
2019-12-01 11:42 Sergei Trofimovich
2019-12-01 11:35 Sergei Trofimovich
2019-07-02  6:22 Amy Liffey
2019-07-02  6:22 Amy Liffey
2019-02-19 18:04 Andreas Sturmlechner
2018-05-24 13:47 Amy Liffey
2018-04-21 20:23 Sergei Trofimovich
2018-04-20 19:01 Sergei Trofimovich
2018-03-15 15:19 Mikle Kolyada
2018-03-06 22:35 Sergei Trofimovich
2018-03-05 20:23 Sergei Trofimovich
2018-03-02 15:59 Tobias Klausmann
2018-02-12 22:34 Thomas Deutschmann
2018-02-10 18:43 Sergei Trofimovich
2017-11-23 17:30 Amy Liffey
2017-06-10 20:14 Sergei Trofimovich
2017-04-05 14:07 Tobias Klausmann
2017-03-02 15:52 Tobias Klausmann
2017-02-23 12:35 Michael Weber
2017-02-22 20:58 Michael Weber
2017-02-22 13:19 Jeroen Roovers
2017-02-20 19:38 Michael Weber
2017-02-20 17:06 Michael Weber
2017-02-18  8:51 Jeroen Roovers
2017-02-17 17:28 Markus Meier
2017-02-15 15:56 Agostino Sarubbo
2017-02-15 15:05 Agostino Sarubbo
2017-02-05 11:59 Jeroen Roovers
2016-11-02  6:54 Amy Winston
2016-11-01 15:58 Amy Winston
2016-06-09 10:32 Alexis Ballier
2016-03-29 23:13 Vladimir Smirnov
2015-08-18 17:22 Amy Winston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439977952.3ab35569edf1a132bc0dcaeee498663e0bc93d64.amynka@gentoo \
    --to=amynka@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox