Permalink
Browse files

qt-declarative-4.8.0: build qmlplugindump, bug #395051

  • Loading branch information...
1 parent 0a9587c commit e324b15972b14798596141b11b0d14124c905139 @wired wired committed Dec 26, 2011
Showing with 66 additions and 1 deletion.
  1. +1 −1 x11-libs/qt-declarative/Manifest
  2. +65 −0 x11-libs/qt-declarative/qt-declarative-4.8.0-r1.ebuild
@@ -1,6 +1,6 @@
DIST qt-everywhere-opensource-src-4.8.0.tar.gz 238580694 RMD160 7506dce7743215481fd9fe56920b8a47f07a112e SHA1 2ba35adca8fb9c66a58eca61a15b21df6213f22e SHA256 9392b74e485e15f75a3e07a527547d4f6747eaf55ebce71ba0e863a9fd320b6e
EBUILD qt-declarative-4.7.9999.ebuild 1443 RMD160 7e6b3d0640342d1445dc7242c567ef248f71cb08 SHA1 0363d5c6e706bfa86b76f4962ea0079af966442a SHA256 f02cf2db39284741431e4bca0de782a28db0967ec4bdbf1fa220a038bf3beb41
-EBUILD qt-declarative-4.8.0.ebuild 1918 RMD160 5f7ee9777cbb2b5e07b58a41278fa440d9904022 SHA1 d5b4e4792539cd18e8c5fcb5649c4130684b5912 SHA256 cca77573ba2da34089e2fd53e4f9c565edfed880af7b73cb08380552b7c2836d
+EBUILD qt-declarative-4.8.0-r1.ebuild 1940 RMD160 601517c93ab6863ab9caa55507e256b8bde272a6 SHA1 c85b2aa56b9c892fb72b21f92b34b6d674f88e96 SHA256 d0dd28cec14741743a90df83cb48b5c0d5d66dc1aa9f981c632bad18c033d403
EBUILD qt-declarative-4.8.9999.ebuild 1120 RMD160 71a208afa2e625aa92ffd4f454f64c37c00f80cf SHA1 042a88336d1888e78246b77a404adb71048fe9ae SHA256 b792b71991d2d337d88b19b49e6a787c7c67c0567012e60f62cda13b9c85b899
EBUILD qt-declarative-4.9999.ebuild 1120 RMD160 71a208afa2e625aa92ffd4f454f64c37c00f80cf SHA1 042a88336d1888e78246b77a404adb71048fe9ae SHA256 b792b71991d2d337d88b19b49e6a787c7c67c0567012e60f62cda13b9c85b899
MISC metadata.xml 771 RMD160 748f75e17df3c56ff7995fca9c221fe4a6b09e87 SHA1 ad7c8f705f772abdc836943e71c12c21ac30a334 SHA256 59cec9bb689c2d007f743731cc9185af0064d9c0be2a965ea3fab4037fd3a1f6
@@ -0,0 +1,65 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-declarative/qt-declarative-4.7.4.ebuild,v 1.1 2011/09/08 09:19:29 wired Exp $
+
+EAPI="3"
+inherit qt4-build
+
+DESCRIPTION="The Declarative module for the Qt toolkit"
+SLOT="4"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="qt3support webkit"
+
+DEPEND="~x11-libs/qt-core-${PV}[aqua=,c++0x=,qpa=,debug=,qt3support=]
+ ~x11-libs/qt-gui-${PV}[aqua=,c++0x=,qpa=,debug=,qt3support=]
+ ~x11-libs/qt-opengl-${PV}[aqua=,c++0x=,qpa=,debug=,qt3support=]
+ ~x11-libs/qt-script-${PV}[aqua=,c++0x=,qpa=,debug=]
+ ~x11-libs/qt-sql-${PV}[aqua=,c++0x=,qpa=,debug=,qt3support=]
+ ~x11-libs/qt-svg-${PV}[aqua=,c++0x=,qpa=,debug=]
+ ~x11-libs/qt-xmlpatterns-${PV}[aqua=,c++0x=,qpa=,debug=]
+ qt3support? ( ~x11-libs/qt-qt3support-${PV}[aqua=,c++0x=,qpa=,debug=] )
+ webkit? ( ~x11-libs/qt-webkit-${PV}[aqua=,c++0x=,qpa=,debug=] )
+ "
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ QCONFIG_ADD="declarative"
+
+ QT4_TARGET_DIRECTORIES="
+ src/declarative
+ src/imports
+ tools/designer/src/plugins/qdeclarativeview
+ tools/qml
+ tools/qmlplugindump"
+
+ if use webkit; then
+ QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
+ src/3rdparty/webkit/Source/WebKit/qt/declarative"
+ fi
+
+ QT4_EXTRACT_DIRECTORIES="
+ include/
+ src/
+ tools/
+ translations/"
+
+ qt4-build_pkg_setup
+}
+
+src_configure() {
+ myconf="${myconf} -declarative -no-gtkstyle
+ $(qt_use qt3support) $(qt_use webkit)"
+ qt4-build_src_configure
+}
+
+src_install() {
+ qt4-build_src_install
+ if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]] ; then
+ insinto "${QTLIBDIR#${EPREFIX}}"/QtDeclarative.framework/Headers/private
+ # ran for the 2nd time, need it for the updated headers
+ fix_includes
+ else
+ insinto "${QTHEADERDIR#${EPREFIX}}"/QtDeclarative/private
+ fi
+ find "${S}"/src/declarative/ -type f -name "*_p.h" -exec doins {} \;
+}

0 comments on commit e324b15

Please sign in to comment.