diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-12-19 14:50:42 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-12-19 14:50:42 +0000 |
commit | 924556428e6b8ec878136f0c9e7b23e85bc27225 (patch) | |
tree | 873c9f72b6f1d1aed0c93b9cd0b81c3f7482826e /media-sound/tap-reverbed | |
parent | Took maintainership and did minor ebuild cleanup (diff) | |
download | gentoo-2-924556428e6b8ec878136f0c9e7b23e85bc27225.tar.gz gentoo-2-924556428e6b8ec878136f0c9e7b23e85bc27225.tar.bz2 gentoo-2-924556428e6b8ec878136f0c9e7b23e85bc27225.zip |
Fix build with forced as-needed, bug #247863, respect CFLAGS/LDFLAGS, dont build pic for a binary, handle to proaudio herd.
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
Diffstat (limited to 'media-sound/tap-reverbed')
-rw-r--r-- | media-sound/tap-reverbed/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/tap-reverbed/files/tap-reverbed-flags.patch | 31 | ||||
-rw-r--r-- | media-sound/tap-reverbed/metadata.xml | 4 | ||||
-rw-r--r-- | media-sound/tap-reverbed/tap-reverbed-0.ebuild | 17 |
4 files changed, 53 insertions, 8 deletions
diff --git a/media-sound/tap-reverbed/ChangeLog b/media-sound/tap-reverbed/ChangeLog index 2b0bb61d48d0..d60211e61183 100644 --- a/media-sound/tap-reverbed/ChangeLog +++ b/media-sound/tap-reverbed/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/tap-reverbed -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/tap-reverbed/ChangeLog,v 1.6 2007/02/22 01:26:50 peper Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/tap-reverbed/ChangeLog,v 1.7 2008/12/19 14:50:42 aballier Exp $ + + 19 Dec 2008; Alexis Ballier <aballier@gentoo.org> + +files/tap-reverbed-flags.patch, metadata.xml, tap-reverbed-0.ebuild: + Fix build with forced as-needed, bug #247863, respect CFLAGS/LDFLAGS, dont + build pic for a binary, handle to proaudio herd. 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/media-sound/tap-reverbed/files/tap-reverbed-flags.patch b/media-sound/tap-reverbed/files/tap-reverbed-flags.patch new file mode 100644 index 000000000000..a70ef12ee880 --- /dev/null +++ b/media-sound/tap-reverbed/files/tap-reverbed-flags.patch @@ -0,0 +1,31 @@ +Index: tap-reverbed-r0/configure.ac +=================================================================== +--- tap-reverbed-r0.orig/configure.ac ++++ tap-reverbed-r0/configure.ac +@@ -25,8 +25,7 @@ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.0.0 + AC_FUNC_MALLOC + AC_CHECK_FUNCS([strdup]) + +-CFLAGS="-O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC $GTK_CFLAGS $JACK_CFLAGS" +-LDFLAGS="-Wall $GTK_LIBS $JACK_LIBS" ++CFLAGS="$CFLAGS -Wall $GTK_CFLAGS $JACK_CFLAGS" + + AC_CONFIG_FILES([Makefile src/Makefile]) + AC_OUTPUT +Index: tap-reverbed-r0/src/Makefile.am +=================================================================== +--- tap-reverbed-r0.orig/src/Makefile.am ++++ tap-reverbed-r0/src/Makefile.am +@@ -9,11 +9,11 @@ file_io.h file_io.c \ + gui_ext.h gui_ext.c \ + ports.h ports.c \ + sound.h sound.c ++reverbed_LDADD = $(GTK_LIBS) $(JACK_LIBS) + + EXTRA_DIST = .reverbed + + INCLUDES = +-LIBS = + #LIBS = $(LDFLAGS) + + install: all diff --git a/media-sound/tap-reverbed/metadata.xml b/media-sound/tap-reverbed/metadata.xml index ea12fab7b274..4805f09fe019 100644 --- a/media-sound/tap-reverbed/metadata.xml +++ b/media-sound/tap-reverbed/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sound</herd> +<herd>proaudio</herd> <maintainer> - <email>sound@gentoo.org</email> + <email>proaudio@gentoo.org</email> </maintainer> </pkgmetadata> diff --git a/media-sound/tap-reverbed/tap-reverbed-0.ebuild b/media-sound/tap-reverbed/tap-reverbed-0.ebuild index 99c8bd55a300..db4c01dc4e2e 100644 --- a/media-sound/tap-reverbed/tap-reverbed-0.ebuild +++ b/media-sound/tap-reverbed/tap-reverbed-0.ebuild @@ -1,8 +1,9 @@ -# 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-sound/tap-reverbed/tap-reverbed-0.ebuild,v 1.5 2007/01/05 20:07:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/tap-reverbed/tap-reverbed-0.ebuild,v 1.6 2008/12/19 14:50:42 aballier Exp $ -IUSE="" + +inherit autotools eutils MY_P="${PN}-r0" DESCRIPTION="Standalone JACK counterpart of LADSPA plugin TAP Reverberator." @@ -13,6 +14,7 @@ S=${WORKDIR}/${MY_P} LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" RDEPEND="media-libs/ladspa-sdk media-plugins/tap-plugins @@ -21,12 +23,19 @@ RDEPEND="media-libs/ladspa-sdk DEPEND="${RDEPEND} dev-util/pkgconfig" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-flags.patch" + eautoreconf +} + src_install() { einstall dodoc README AUTHORS insinto /usr/share/tap-reverbed - insopts -m0666 + insopts -m0644 doins src/\.reverbed } |