summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/wavbreaker/ChangeLog7
-rw-r--r--media-sound/wavbreaker/files/wavbreaker-0.10-pkgconfig.patch11
-rw-r--r--media-sound/wavbreaker/wavbreaker-0.10.ebuild11
3 files changed, 27 insertions, 2 deletions
diff --git a/media-sound/wavbreaker/ChangeLog b/media-sound/wavbreaker/ChangeLog
index 7f10eb22a41c..336142e248f4 100644
--- a/media-sound/wavbreaker/ChangeLog
+++ b/media-sound/wavbreaker/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/wavbreaker
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/wavbreaker/ChangeLog,v 1.25 2008/06/12 19:38:31 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/wavbreaker/ChangeLog,v 1.26 2008/06/14 12:32:36 drac Exp $
+
+ 14 Jun 2008; Samuli Suominen <drac@gentoo.org>
+ +files/wavbreaker-0.10-pkgconfig.patch, wavbreaker-0.10.ebuild:
+ Need PKG_PROG_PKG_CONFIG in configure.in or ./configure dies in first
+ --disable flag.
*wavbreaker-0.10 (12 Jun 2008)
diff --git a/media-sound/wavbreaker/files/wavbreaker-0.10-pkgconfig.patch b/media-sound/wavbreaker/files/wavbreaker-0.10-pkgconfig.patch
new file mode 100644
index 000000000000..06a3d04adcba
--- /dev/null
+++ b/media-sound/wavbreaker/files/wavbreaker-0.10-pkgconfig.patch
@@ -0,0 +1,11 @@
+diff -ur wavbreaker-0.10.orig/configure.in wavbreaker-0.10/configure.in
+--- wavbreaker-0.10.orig/configure.in 2008-06-02 09:44:27.000000000 +0300
++++ wavbreaker-0.10/configure.in 2008-06-14 15:28:26.000000000 +0300
+@@ -30,6 +30,7 @@
+ AC_PROG_CC
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
++PKG_PROG_PKG_CONFIG
+
+ # Checks for libraries.
+ AC_CHECK_LIB([m], [cos])
diff --git a/media-sound/wavbreaker/wavbreaker-0.10.ebuild b/media-sound/wavbreaker/wavbreaker-0.10.ebuild
index e146f303a008..c7ecddbb8986 100644
--- a/media-sound/wavbreaker/wavbreaker-0.10.ebuild
+++ b/media-sound/wavbreaker/wavbreaker-0.10.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/wavbreaker/wavbreaker-0.10.ebuild,v 1.1 2008/06/12 19:38:31 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/wavbreaker/wavbreaker-0.10.ebuild,v 1.2 2008/06/14 12:32:36 drac Exp $
+
+inherit autotools eutils
DESCRIPTION="wavbreaker/wavmerge GTK+ utility to break or merge WAV files"
HOMEPAGE="http://wavbreaker.sourceforge.net"
@@ -19,6 +21,13 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-pkgconfig.patch
+ eautoreconf
+}
+
src_compile() {
econf --disable-dependency-tracking \
$(use_enable nls) \