diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-18 05:29:29 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-18 05:29:29 +0000 |
commit | 5208d99d4644803c8621ed819392b252e8c532e6 (patch) | |
tree | 10692b31d65dcde9e88f3279bf57b9073f7f0e4e /media-libs/dssi | |
parent | Fix gcc-4.3 issue, bug#218137, thanks to Holger Ackermann (diff) | |
download | gentoo-2-5208d99d4644803c8621ed819392b252e8c532e6.tar.gz gentoo-2-5208d99d4644803c8621ed819392b252e8c532e6.tar.bz2 gentoo-2-5208d99d4644803c8621ed819392b252e8c532e6.zip |
Fix building with GCC 4.3, and as I'm around here, remove libtool .la files, the libraries are only ever dlopened anyway.
(Portage version: 2.1.5_rc4)
Diffstat (limited to 'media-libs/dssi')
-rw-r--r-- | media-libs/dssi/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/dssi/dssi-0.9.1-r2.ebuild | 49 | ||||
-rw-r--r-- | media-libs/dssi/files/dssi-0.9.1-gcc43.patch | 12 |
3 files changed, 69 insertions, 1 deletions
diff --git a/media-libs/dssi/ChangeLog b/media-libs/dssi/ChangeLog index 5b9d6e5673f9..ef312aaada3d 100644 --- a/media-libs/dssi/ChangeLog +++ b/media-libs/dssi/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/dssi # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/dssi/ChangeLog,v 1.15 2008/02/22 13:47:54 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/dssi/ChangeLog,v 1.16 2008/04/18 05:29:28 flameeyes Exp $ + +*dssi-0.9.1-r2 (18 Apr 2008) + + 18 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> + +files/dssi-0.9.1-gcc43.patch, +dssi-0.9.1-r2.ebuild: + Fix building with GCC 4.3, and as I'm around here, remove libtool .la + files, the libraries are only ever dlopened anyway. *dssi-0.9.1-r1 (22 Feb 2008) diff --git a/media-libs/dssi/dssi-0.9.1-r2.ebuild b/media-libs/dssi/dssi-0.9.1-r2.ebuild new file mode 100644 index 000000000000..519c67453588 --- /dev/null +++ b/media-libs/dssi/dssi-0.9.1-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/dssi/dssi-0.9.1-r2.ebuild,v 1.1 2008/04/18 05:29:28 flameeyes Exp $ + +inherit multilib qt3 libtool eutils + +IUSE="qt3" + +DESCRIPTION="Plugin API for software instruments with user interfaces" +HOMEPAGE="http://dssi.sourceforge.net/" +SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz" + +LICENSE="LGPL-2.1 BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=">=media-libs/alsa-lib-1.0 + >=media-libs/liblo-0.12 + >=media-sound/jack-audio-connection-kit-0.99.0-r1 + >=media-libs/ladspa-sdk-1.12-r2 + >=media-libs/libsndfile-1.0.11 + >=media-libs/libsamplerate-0.1.1-r1 + qt3? ( $(qt_min_version 3) )" +DEPEND="${RDEPEND} + sys-apps/sed + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + sed -i -e "s:libdir=.*:libdir=@libdir@:" ${S}/dssi.pc.in || die + epatch "${FILESDIR}/${P}-constants.patch" + epatch "${FILESDIR}/${P}-gcc43.patch" + elibtoolize +} + +src_compile() { + use qt3 || QTDIR=/WONT_BE_FOUND + econf \ + --disable-dependency-tracking \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "make install failed" + dodoc README doc/TODO doc/*.txt + + find "${D}" -name '*.la' -delete +} diff --git a/media-libs/dssi/files/dssi-0.9.1-gcc43.patch b/media-libs/dssi/files/dssi-0.9.1-gcc43.patch new file mode 100644 index 000000000000..253b8380026f --- /dev/null +++ b/media-libs/dssi/files/dssi-0.9.1-gcc43.patch @@ -0,0 +1,12 @@ +Index: dssi-0.9.1/examples/trivial_sampler_qt_gui.cpp +=================================================================== +--- dssi-0.9.1.orig/examples/trivial_sampler_qt_gui.cpp ++++ dssi-0.9.1/examples/trivial_sampler_qt_gui.cpp +@@ -23,6 +23,7 @@ + #include <qgroupbox.h> + #include <iostream> + #include <unistd.h> ++#include <cstdlib> + #include <math.h> + #include <sndfile.h> + |