| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-xmlpatterns/qt-xmlpatterns-4.8.3.ebuild,v 1.2 2012/09/16 04:55:59 yngwin Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit qt4-build |
| 8 |
|
| 9 |
DESCRIPTION="The XmlPatterns module for the Qt toolkit" |
| 10 |
SLOT="4" |
| 11 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
| 12 |
KEYWORDS="" |
| 13 |
else |
| 14 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
| 15 |
fi |
| 16 |
IUSE="" |
| 17 |
|
| 18 |
DEPEND=" |
| 19 |
~x11-libs/qt-core-${PV}[aqua=,debug=] |
| 20 |
" |
| 21 |
RDEPEND="${DEPEND}" |
| 22 |
|
| 23 |
pkg_setup() { |
| 24 |
QT4_TARGET_DIRECTORIES=" |
| 25 |
src/xmlpatterns |
| 26 |
tools/xmlpatterns |
| 27 |
tools/xmlpatternsvalidator" |
| 28 |
|
| 29 |
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
| 30 |
include/QtCore |
| 31 |
include/QtNetwork |
| 32 |
include/QtXml |
| 33 |
include/QtXmlPatterns |
| 34 |
src/network |
| 35 |
src/xml |
| 36 |
src/corelib" |
| 37 |
|
| 38 |
QCONFIG_ADD="xmlpatterns" |
| 39 |
QCONFIG_DEFINE="QT_XMLPATTERNS" |
| 40 |
|
| 41 |
qt4-build_pkg_setup |
| 42 |
} |
| 43 |
|
| 44 |
src_configure() { |
| 45 |
myconf+=" -xmlpatterns" |
| 46 |
|
| 47 |
qt4-build_src_configure |
| 48 |
} |