/[gentoo-x86]/x11-libs/qt-script/qt-script-4.8.2.ebuild
Gentoo

Contents of /x11-libs/qt-script/qt-script-4.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat Dec 29 13:47:10 2012 UTC (4 months, 2 weeks ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

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-script/qt-script-4.8.2.ebuild,v 1.11 2012/10/14 17:07:13 armin76 Exp $
4
5 EAPI=4
6
7 inherit qt4-build
8
9 DESCRIPTION="The ECMAScript 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="iconv +jit"
17
18 DEPEND="
19 ~x11-libs/qt-core-${PV}[aqua=,c++0x=,debug=,qpa=]
20 "
21 RDEPEND="${DEPEND}"
22
23 PATCHES=(
24 "${FILESDIR}/${PV}-javascriptcore-x32.patch"
25 "${FILESDIR}/${PV}-qatomic-x32.patch"
26 )
27
28 pkg_setup() {
29 QT4_TARGET_DIRECTORIES="
30 src/script"
31
32 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
33 include/Qt
34 include/QtCore
35 include/QtScript
36 src/3rdparty/javascriptcore
37 src/corelib"
38
39 QCONFIG_ADD="script"
40 QCONFIG_DEFINE="QT_SCRIPT"
41
42 qt4-build_pkg_setup
43 }
44
45 src_configure() {
46 myconf+="
47 $(qt_use iconv)
48 $(qt_use jit javascript-jit)
49 -no-xkb -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama
50 -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif
51 -no-libpng -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
52 -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff
53 -no-accessibility -no-fontconfig -no-glib -no-opengl -no-svg
54 -no-gtkstyle"
55
56 qt4-build_src_configure
57 }
58
59 src_install() {
60 qt4-build_src_install
61
62 # install private headers
63 insinto "${QTHEADERDIR#${EPREFIX}}"/QtScript/private
64 find "${S}"/src/script -type f -name "*_p.h" -exec doins {} +
65 }

  ViewVC Help
Powered by ViewVC 1.1.13