diff options
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/qtscriptgenerator/ChangeLog | 8 | ||||
-rw-r--r-- | x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild | 70 |
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/* +} |