diff options
author | 2010-05-18 14:34:59 +0000 | |
---|---|---|
committer | 2010-05-18 14:34:59 +0000 | |
commit | 1832d6e0d6324665c934788f4693713196c3b064 (patch) | |
tree | 28ab7e8a9efb9fed0f4325b6e4719dc3dacb39d6 /media-libs/quarter/quarter-1.0.0-r1.ebuild | |
parent | Restrict test suite which requires SQLite and downloads a full kernel from gi... (diff) | |
download | gentoo-2-1832d6e0d6324665c934788f4693713196c3b064.tar.gz gentoo-2-1832d6e0d6324665c934788f4693713196c3b064.tar.bz2 gentoo-2-1832d6e0d6324665c934788f4693713196c3b064.zip |
gcc-4.4 fix (bug 320353), rework libtool files and static libs installation
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/quarter/quarter-1.0.0-r1.ebuild')
-rw-r--r-- | media-libs/quarter/quarter-1.0.0-r1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/quarter/quarter-1.0.0-r1.ebuild b/media-libs/quarter/quarter-1.0.0-r1.ebuild new file mode 100644 index 000000000000..3fee254655b3 --- /dev/null +++ b/media-libs/quarter/quarter-1.0.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/quarter/quarter-1.0.0-r1.ebuild,v 1.1 2010/05/18 14:34:59 reavertm Exp $ + +EAPI="2" + +inherit base + +MY_P="${P/q/Q}" + +DESCRIPTION="A glue between Nokia Qt4 and Coin3D" +HOMEPAGE="http://www.coin3d.org/lib/quarter" +SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc static-libs" + +RDEPEND=" + >=media-libs/coin-3.0.0[javascript] + x11-libs/qt-core:4 + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + dev-util/pkgconfig +" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-gcc44.patch" +) + +src_configure() { + econf \ + htmldir="${ROOT}usr/share/doc/${PF}/html" \ + --enable-shared \ + $(use_enable debug) \ + $(use_enable debug symbols) \ + $(use_enable doc html) \ + $(use_enable static-libs static) +} + +src_install() { + base_src_install + dodoc AUTHORS NEWS README || die "dodoc failed" + # Do not install .la files + rm -f "${D}"/usr/lib*/qt4/plugins/designer/*.{la,a} + use static-libs || rm -f "${D}"/usr/lib*/*.la +} |