summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-22 13:22:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-22 13:22:45 +0000
commit876ab1905d3dafdda47f283bb291e601fb09d1da (patch)
tree298ce68fe6516dc674145789075cbc7bb3de5cf8 /media-libs/libsamplerate
parentAdded phpldapadmin-1.1.0.5 as requested by uberlord. (diff)
downloadgentoo-2-876ab1905d3dafdda47f283bb291e601fb09d1da.tar.gz
gentoo-2-876ab1905d3dafdda47f283bb291e601fb09d1da.tar.bz2
gentoo-2-876ab1905d3dafdda47f283bb291e601fb09d1da.zip
Don't build tests and examples during standard make, this saves a few gcc/ld calls for most users.
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-libs/libsamplerate')
-rw-r--r--media-libs/libsamplerate/ChangeLog10
-rw-r--r--media-libs/libsamplerate/files/libsamplerate-0.1.2-dontbuild-tests-examples.patch32
-rw-r--r--media-libs/libsamplerate/libsamplerate-0.1.2-r1.ebuild5
3 files changed, 43 insertions, 4 deletions
diff --git a/media-libs/libsamplerate/ChangeLog b/media-libs/libsamplerate/ChangeLog
index 7f7cef3d1227..4da0824bb38d 100644
--- a/media-libs/libsamplerate/ChangeLog
+++ b/media-libs/libsamplerate/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libsamplerate
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsamplerate/ChangeLog,v 1.49 2007/06/16 06:49:45 kumba Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsamplerate/ChangeLog,v 1.50 2008/02/22 13:22:44 flameeyes Exp $
+
+ 22 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/libsamplerate-0.1.2-dontbuild-tests-examples.patch,
+ libsamplerate-0.1.2-r1.ebuild:
+ Don't build tests and examples during standard make, this saves a few gcc/ld
+ calls for most users.
20 Jun 2007; Joshua Kinard <kumba@gentoo.org>
libsamplerate-0.1.2-r1.ebuild:
diff --git a/media-libs/libsamplerate/files/libsamplerate-0.1.2-dontbuild-tests-examples.patch b/media-libs/libsamplerate/files/libsamplerate-0.1.2-dontbuild-tests-examples.patch
new file mode 100644
index 000000000000..93c78da42268
--- /dev/null
+++ b/media-libs/libsamplerate/files/libsamplerate-0.1.2-dontbuild-tests-examples.patch
@@ -0,0 +1,32 @@
+Index: libsamplerate-0.1.2/examples/Makefile.am
+===================================================================
+--- libsamplerate-0.1.2.orig/examples/Makefile.am
++++ libsamplerate-0.1.2/examples/Makefile.am
+@@ -3,7 +3,7 @@
+
+ bin_PROGRAMS = sndfile-resample
+
+-noinst_PROGRAMS = varispeed-play
++EXTRA_PROGRAMS = varispeed-play
+
+ SAMPLERATEDIR =../src
+ INCLUDES = -I$(srcdir)/$(SAMPLERATEDIR) @OS_SPECIFIC_INCLUDES@
+Index: libsamplerate-0.1.2/tests/Makefile.am
+===================================================================
+--- libsamplerate-0.1.2.orig/tests/Makefile.am
++++ libsamplerate-0.1.2/tests/Makefile.am
+@@ -1,4 +1,4 @@
+-noinst_PROGRAMS = misc_test termination_test simple_test callback_test \
++EXTRA_PROGRAMS = misc_test termination_test simple_test callback_test \
+ reset_test multi_channel_test snr_bw_test \
+ float_short_test src-evaluate benchmark
+
+@@ -47,7 +47,7 @@ benchmark_LDADD = $(SAMPLRATEDIR)/libsa
+
+ #===============================================================================
+
+-check: $(noinst_PROGRAMS)
++check: $(EXTRA_PROGRAMS)
+ date
+ uname -a
+ ./misc_test$(EXEEXT)
diff --git a/media-libs/libsamplerate/libsamplerate-0.1.2-r1.ebuild b/media-libs/libsamplerate/libsamplerate-0.1.2-r1.ebuild
index 793933312224..96e69fde58e8 100644
--- a/media-libs/libsamplerate/libsamplerate-0.1.2-r1.ebuild
+++ b/media-libs/libsamplerate/libsamplerate-0.1.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsamplerate/libsamplerate-0.1.2-r1.ebuild,v 1.11 2007/06/16 06:49:45 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsamplerate/libsamplerate-0.1.2-r1.ebuild,v 1.12 2008/02/22 13:22:44 flameeyes Exp $
WANT_AUTOMAKE=1.7
@@ -25,6 +25,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${P}-automagic.patch"
+ epatch "${FILESDIR}/${P}-dontbuild-tests-examples.patch"
eautoreconf
}