From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-864120-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 6C27C1388BF
	for <garchives@archives.gentoo.org>; Thu, 18 Feb 2016 19:21:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 04C7921C0A9;
	Thu, 18 Feb 2016 19:21:39 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9C92B21C0A9
	for <gentoo-commits@lists.gentoo.org>; Thu, 18 Feb 2016 19:21:38 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B8DDE340CAA
	for <gentoo-commits@lists.gentoo.org>; Thu, 18 Feb 2016 19:21:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DF83B1068
	for <gentoo-commits@lists.gentoo.org>; Thu, 18 Feb 2016 19:21:35 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1455823288.b3928697837b8291ca9daa626f89602aaed95f8a.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libcdr/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/libcdr/libcdr-0.1.2.ebuild media-libs/libcdr/libcdr-9999.ebuild
X-VCS-Directories: media-libs/libcdr/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: b3928697837b8291ca9daa626f89602aaed95f8a
X-VCS-Branch: master
Date: Thu, 18 Feb 2016 19:21:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 496755ff-6372-4764-9055-09750cf878cb
X-Archives-Hash: 4eb7865dd9da3112b8d1e2edb2be5e83

commit:     b3928697837b8291ca9daa626f89602aaed95f8a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 18 19:20:21 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 18 19:21:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3928697

media-libs/libcdr: Make test build optional, add dep on cppunit, #574932

 media-libs/libcdr/libcdr-0.1.2.ebuild | 6 ++++--
 media-libs/libcdr/libcdr-9999.ebuild  | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/media-libs/libcdr/libcdr-0.1.2.ebuild b/media-libs/libcdr/libcdr-0.1.2.ebuild
index dd033da..b0fd8db 100644
--- a/media-libs/libcdr/libcdr-0.1.2.ebuild
+++ b/media-libs/libcdr/libcdr-0.1.2.ebuild
@@ -16,7 +16,7 @@ LICENSE="MPL-2.0"
 SLOT="0"
 [[ ${PV} == 9999 ]] || \
 KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
-IUSE="doc static-libs"
+IUSE="doc static-libs test"
 
 RDEPEND="
 	dev-libs/icu:=
@@ -29,6 +29,7 @@ DEPEND="${RDEPEND}
 	sys-devel/libtool
 	virtual/pkgconfig
 	doc? ( app-doc/doxygen )
+	test? ( dev-util/cppunit )
 "
 
 src_prepare() {
@@ -42,7 +43,8 @@ src_configure() {
 		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
 		$(use_enable static-libs static) \
 		--disable-werror \
-		$(use_with doc docs)
+		$(use_with doc docs) \
+		$(use_enable test tests)
 }
 
 src_install() {

diff --git a/media-libs/libcdr/libcdr-9999.ebuild b/media-libs/libcdr/libcdr-9999.ebuild
index dd033da..b0fd8db 100644
--- a/media-libs/libcdr/libcdr-9999.ebuild
+++ b/media-libs/libcdr/libcdr-9999.ebuild
@@ -16,7 +16,7 @@ LICENSE="MPL-2.0"
 SLOT="0"
 [[ ${PV} == 9999 ]] || \
 KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
-IUSE="doc static-libs"
+IUSE="doc static-libs test"
 
 RDEPEND="
 	dev-libs/icu:=
@@ -29,6 +29,7 @@ DEPEND="${RDEPEND}
 	sys-devel/libtool
 	virtual/pkgconfig
 	doc? ( app-doc/doxygen )
+	test? ( dev-util/cppunit )
 "
 
 src_prepare() {
@@ -42,7 +43,8 @@ src_configure() {
 		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
 		$(use_enable static-libs static) \
 		--disable-werror \
-		$(use_with doc docs)
+		$(use_with doc docs) \
+		$(use_enable test tests)
 }
 
 src_install() {