diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-07-30 10:27:14 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-07-30 10:27:14 +0000 |
commit | 63d043a88aaae3b2da9960066dc2bc7d4246af04 (patch) | |
tree | 1dc8a824dd532377c891bd37bc7457ff54f9d589 /media-libs/libxspf/libxspf-1.2.0.ebuild | |
parent | old (diff) | |
download | historical-63d043a88aaae3b2da9960066dc2bc7d4246af04.tar.gz historical-63d043a88aaae3b2da9960066dc2bc7d4246af04.tar.bz2 historical-63d043a88aaae3b2da9960066dc2bc7d4246af04.zip |
Fix building with sys-devel/gcc >= 4.7 wrt #421745 by Diego Elio Pettenò and Tristan Heaven
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libxspf/libxspf-1.2.0.ebuild')
-rw-r--r-- | media-libs/libxspf/libxspf-1.2.0.ebuild | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/media-libs/libxspf/libxspf-1.2.0.ebuild b/media-libs/libxspf/libxspf-1.2.0.ebuild index ac7e95a80d57..19aa2a9a4a5d 100644 --- a/media-libs/libxspf/libxspf-1.2.0.ebuild +++ b/media-libs/libxspf/libxspf-1.2.0.ebuild @@ -1,39 +1,49 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libxspf/libxspf-1.2.0.ebuild,v 1.10 2012/07/29 18:40:42 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libxspf/libxspf-1.2.0.ebuild,v 1.11 2012/07/30 10:27:14 ssuominen Exp $ EAPI=4 - -inherit eutils qt4-r2 +inherit eutils DESCRIPTION="Playlist handling library" -HOMEPAGE="http://libspiff.sourceforge.net" +HOMEPAGE="http://libspiff.sourceforge.net/" SRC_URI="mirror://sourceforge/libspiff/${P}.tar.bz2" LICENSE="BSD LGPL-2.1" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="doc test" +IUSE="doc static-libs test" -RDEPEND=">=dev-libs/uriparser-0.7.5 - >=dev-libs/expat-2" +RDEPEND=">=dev-libs/expat-2 + >=dev-libs/uriparser-0.7.5" DEPEND="${RDEPEND} virtual/pkgconfig - test? ( >=dev-util/cpptest-1.1 ) doc? ( >=app-doc/doxygen-1.5.8 media-gfx/graphviz x11-libs/qt-assistant:4 - )" + ) + test? ( >=dev-util/cpptest-1.1 )" DOCS="AUTHORS ChangeLog NEWS README THANKS" -PATCHES=( - "${FILESDIR}/${P}-gcc44.patch" -) + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc44.patch \ + "${FILESDIR}"/${P}-gcc47.patch +} src_configure() { + export XDG_CONFIG_HOME="${T}" #398881#c2 + econf \ --docdir=/usr/share/doc/${PF} \ + $(use_enable static-libs static) \ $(use_enable test) \ $(use_enable doc) } + +src_install() { + default + prune_libtool_files +} |