| 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-svg/qt-svg-4.8.2.ebuild,v 1.10 2012/10/14 17:21:19 armin76 Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit qt4-build
|
| 8 |
|
| 9 |
DESCRIPTION="The SVG 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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
| 15 |
fi
|
| 16 |
IUSE="+accessibility"
|
| 17 |
|
| 18 |
DEPEND="
|
| 19 |
sys-libs/zlib
|
| 20 |
~x11-libs/qt-core-${PV}[aqua=,c++0x=,debug=,qpa=]
|
| 21 |
~x11-libs/qt-gui-${PV}[accessibility=,aqua=,c++0x=,debug=,qpa=]
|
| 22 |
"
|
| 23 |
RDEPEND="${DEPEND}"
|
| 24 |
|
| 25 |
PATCHES=(
|
| 26 |
"${FILESDIR}/${PV}-qatomic-x32.patch"
|
| 27 |
)
|
| 28 |
|
| 29 |
pkg_setup() {
|
| 30 |
QT4_TARGET_DIRECTORIES="
|
| 31 |
src/svg
|
| 32 |
src/plugins/imageformats/svg
|
| 33 |
src/plugins/iconengines/svgiconengine"
|
| 34 |
|
| 35 |
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
|
| 36 |
include/QtSvg
|
| 37 |
include/Qt
|
| 38 |
include/QtGui
|
| 39 |
include/QtCore
|
| 40 |
include/QtXml
|
| 41 |
src/corelib
|
| 42 |
src/gui
|
| 43 |
src/plugins
|
| 44 |
src/xml
|
| 45 |
src/3rdparty"
|
| 46 |
|
| 47 |
QCONFIG_ADD="svg"
|
| 48 |
QCONFIG_DEFINE="QT_SVG"
|
| 49 |
|
| 50 |
qt4-build_pkg_setup
|
| 51 |
}
|
| 52 |
|
| 53 |
src_configure() {
|
| 54 |
myconf+="
|
| 55 |
-svg
|
| 56 |
$(qt_use accessibility)
|
| 57 |
-no-xkb -no-xrender
|
| 58 |
-no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
|
| 59 |
-no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
|
| 60 |
-no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
|
| 61 |
-no-qt3support -no-xmlpatterns -no-freetype -no-libtiff
|
| 62 |
-no-fontconfig -no-glib -no-gtkstyle"
|
| 63 |
|
| 64 |
qt4-build_src_configure
|
| 65 |
}
|