You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/SoQt/SoQt-1.5.0-r1.ebuild

59 lines
1.2 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/SoQt/SoQt-1.5.0-r1.ebuild,v 1.7 2013/05/27 23:18:21 reavertm Exp $
EAPI=5
inherit autotools-utils
DESCRIPTION="The glue between Coin3D and Qt"
SRC_URI="http://ftp.coin3d.org/coin/src/all/${P}.tar.gz"
HOMEPAGE="http://www.coin3d.org/"
LICENSE="|| ( GPL-2 PEL )"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="debug doc static-libs"
RDEPEND="
>=media-libs/coin-3.1.3
virtual/opengl
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtopengl:4
"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
PATCHES=(
"${FILESDIR}/${PN}-1.5.0-pkgconfig-partial.patch"
)
DOCS=(AUTHORS ChangeLog FAQ HACKING NEWS README)
src_configure() {
local myeconfargs=(
htmldir="/usr/share/doc/${PF}/html"
--disable-compact
--disable-html-help
--disable-loadlibrary
--disable-man
--enable-pkgconfig
--includedir="/usr/include/coin"
--with-coin
$(use_enable debug)
$(use_enable debug symbols)
$(use_enable doc html)
)
autotools-utils_src_configure
}
src_install() {
# Remove SoQt from Libs.private
sed -e '/Libs.private/s/ -lSoQt//' -i "${BUILD_DIR}"/SoQt.pc || die
autotools-utils_src_install
}