summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-05-02 12:32:15 +0000
committerJohannes Huber <johu@gentoo.org>2012-05-02 12:32:15 +0000
commitfeabc222cbb0d2156bb166829adb3235f1d110d7 (patch)
tree74b3275b2c09ac06fd2e76c140269de9777100e0 /x11-libs
parentFix runpath and ldflags in ruby bindings, bug 412099 (diff)
downloadgentoo-2-feabc222cbb0d2156bb166829adb3235f1d110d7.tar.gz
gentoo-2-feabc222cbb0d2156bb166829adb3235f1d110d7.tar.bz2
gentoo-2-feabc222cbb0d2156bb166829adb3235f1d110d7.zip
Version bump by Michael (kensington) <gentoo@scribeofthenile.com> wrt bug #414357.
(Portage version: 2.2.0_alpha101/cvs/Linux i686)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qtscriptgenerator/ChangeLog8
-rw-r--r--x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild70
2 files changed, 77 insertions, 1 deletions
diff --git a/x11-libs/qtscriptgenerator/ChangeLog b/x11-libs/qtscriptgenerator/ChangeLog
index 7a6ac29fd6f0..f5c52de3fe05 100644
--- a/x11-libs/qtscriptgenerator/ChangeLog
+++ b/x11-libs/qtscriptgenerator/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/qtscriptgenerator
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qtscriptgenerator/ChangeLog,v 1.19 2012/04/05 20:36:34 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qtscriptgenerator/ChangeLog,v 1.20 2012/05/02 12:32:15 johu Exp $
+
+*qtscriptgenerator-0.2.0 (02 May 2012)
+
+ 02 May 2012; Johannes Huber <johu@gentoo.org> +qtscriptgenerator-0.2.0.ebuild:
+ Version bump by Michael (kensington) <gentoo@scribeofthenile.com> wrt bug
+ #414357.
05 Apr 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
qtscriptgenerator-0.1.0-r2.ebuild:
diff --git a/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild
new file mode 100644
index 000000000000..809919f63380
--- /dev/null
+++ b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild,v 1.1 2012/05/02 12:32:15 johu Exp $
+
+EAPI=4
+
+MY_PN="${PN}-src"
+MY_P="${MY_PN}-${PV}"
+
+inherit multilib qt4-r2
+
+DESCRIPTION="Tool for generating Qt bindings for Qt Script"
+HOMEPAGE="http://code.google.com/p/qtscriptgenerator/"
+SRC_URI="http://qtscriptgenerator.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug kde"
+
+DEPEND="
+ x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ x11-libs/qt-opengl:4
+ !kde? ( || (
+ x11-libs/qt-phonon:4
+ media-libs/phonon
+ ) )
+ kde? ( media-libs/phonon )
+ x11-libs/qt-script:4
+ x11-libs/qt-sql:4
+ x11-libs/qt-svg:4
+ x11-libs/qt-webkit:4
+ x11-libs/qt-xmlpatterns:4
+"
+RDEPEND="${DEPEND}"
+
+PLUGINS="core gui network opengl sql svg uitools webkit xml xmlpatterns"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # remove phonon
+ sed -i "/typesystem_phonon.xml/d" generator/generator.qrc || die "sed failed"
+ sed -i "/qtscript_phonon/d" qtbindings/qtbindings.pro || die "sed failed"
+
+ qt4-r2_src_prepare
+}
+
+src_configure() {
+ cd "${S}"/generator
+ eqmake4 generator.pro
+ cd "${S}"/qtbindings
+ eqmake4 qtbindings.pro
+}
+
+src_compile() {
+ cd "${S}"/generator
+ emake
+ ./generator --include-paths="/usr/include/qt4/" || die "running generator failed"
+
+ cd "${S}"/qtbindings
+ emake
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/qt4/plugins/script/
+ insopts -m0755
+ doins -r "${S}"/plugins/script/*
+}