summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-16 12:00:51 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-16 12:00:51 +0000
commit0ec1e5bf8717c7c0b95464c9705fbfc40fd2bef2 (patch)
tree07799e20291b02b3a131fd655c1fb693b2390eba /media-libs
parentlibpciaccess: add ~x86 (diff)
downloadgentoo-2-0ec1e5bf8717c7c0b95464c9705fbfc40fd2bef2.tar.gz
gentoo-2-0ec1e5bf8717c7c0b95464c9705fbfc40fd2bef2.tar.bz2
gentoo-2-0ec1e5bf8717c7c0b95464c9705fbfc40fd2bef2.zip
Add a patch to build tests only during make check rather than make all; also run the tests during make check. Fixes bug #226281
(Portage version: 2.1.5.5)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/liblrdf/ChangeLog7
-rw-r--r--media-libs/liblrdf/files/liblrdf-0.4.0-dontbuild-tests.patch16
-rw-r--r--media-libs/liblrdf/liblrdf-0.4.0.ebuild12
3 files changed, 31 insertions, 4 deletions
diff --git a/media-libs/liblrdf/ChangeLog b/media-libs/liblrdf/ChangeLog
index 98d6dbf916d1..f1e6a2b84c42 100644
--- a/media-libs/liblrdf/ChangeLog
+++ b/media-libs/liblrdf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/liblrdf
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/liblrdf/ChangeLog,v 1.31 2008/02/12 12:37:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/liblrdf/ChangeLog,v 1.32 2008/06/16 12:00:50 flameeyes Exp $
+
+ 16 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/liblrdf-0.4.0-dontbuild-tests.patch, liblrdf-0.4.0.ebuild:
+ Add a patch to build tests only during make check rather than make all;
+ also run the tests during make check. Fixes bug #226281
12 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> liblrdf-0.4.0.ebuild:
Run elibtoolize.
diff --git a/media-libs/liblrdf/files/liblrdf-0.4.0-dontbuild-tests.patch b/media-libs/liblrdf/files/liblrdf-0.4.0-dontbuild-tests.patch
new file mode 100644
index 000000000000..4f7d783e8f0a
--- /dev/null
+++ b/media-libs/liblrdf/files/liblrdf-0.4.0-dontbuild-tests.patch
@@ -0,0 +1,16 @@
+Index: liblrdf-0.4.0/examples/Makefile.am
+===================================================================
+--- liblrdf-0.4.0.orig/examples/Makefile.am
++++ liblrdf-0.4.0/examples/Makefile.am
+@@ -1,7 +1,9 @@
+-noinst_PROGRAMS = showdefaults showtaxonomy dumpstatements export_test \
+- subclass_test add_test instances_test remove_test multi_test \
++TESTS = showtaxonomy dumpstatements export_test \
++ subclass_test add_test instances_test multi_test \
+ setting_test scale_test
+
++check_PROGRAMS = showdefaults $(TESTS) remove_test
++
+ LIBS = ../src/liblrdf.la
+
+ pkgdata_DATA = ladspa.rdfs
diff --git a/media-libs/liblrdf/liblrdf-0.4.0.ebuild b/media-libs/liblrdf/liblrdf-0.4.0.ebuild
index 12818465a81e..4bd1246d2b6b 100644
--- a/media-libs/liblrdf/liblrdf-0.4.0.ebuild
+++ b/media-libs/liblrdf/liblrdf-0.4.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/liblrdf/liblrdf-0.4.0.ebuild,v 1.8 2008/02/12 12:37:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/liblrdf/liblrdf-0.4.0.ebuild,v 1.9 2008/06/16 12:00:50 flameeyes Exp $
-inherit libtool
+inherit autotools libtool base
DESCRIPTION="A library for the manipulation of RDF file in LADSPA plugins"
HOMEPAGE="http://lrdf.sourceforge.net"
@@ -17,9 +17,15 @@ RDEPEND=">=media-libs/raptor-0.9.12
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/${P}-dontbuild-tests.patch
+)
+
src_unpack() {
- unpack ${A}
+ base_src_unpack
+ cd "${S}"
+ eautoreconf
elibtoolize
}