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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Dec 29 13:47:10 2012 UTC (4 months, 3 weeks ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +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.3.ebuild,v 1.3 2012/09/16 04:42:32 yngwin 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=,debug=]
20 "
21 RDEPEND="${DEPEND}"
22
23 PATCHES=(
24 "${FILESDIR}/4.8.2-javascriptcore-x32.patch"
25 )
26
27 pkg_setup() {
28 QT4_TARGET_DIRECTORIES="
29 src/script"
30
31 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
32 include/Qt
33 include/QtCore
34 include/QtScript
35 src/3rdparty/javascriptcore
36 src/corelib"
37
38 QCONFIG_ADD="script"
39 QCONFIG_DEFINE="QT_SCRIPT"
40
41 qt4-build_pkg_setup
42 }
43
44 src_configure() {
45 myconf+="
46 $(qt_use iconv)
47 $(qt_use jit javascript-jit)
48 -no-xkb -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama
49 -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif
50 -no-libpng -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
51 -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff
52 -no-accessibility -no-fontconfig -no-glib -no-opengl -no-svg
53 -no-gtkstyle"
54
55 qt4-build_src_configure
56 }
57
58 src_install() {
59 qt4-build_src_install
60
61 # install private headers
62 insinto "${QTHEADERDIR#${EPREFIX}}"/QtScript/private
63 find "${S}"/src/script -type f -name "*_p.h" -exec doins {} +
64 }

  ViewVC Help
Powered by ViewVC 1.1.13