diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2009-04-15 05:40:01 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2009-04-15 05:40:01 +0000 |
commit | 5590cdbe81d22383e8a05588b533ab88b3c888ec (patch) | |
tree | b09a90bd90f4f03fa6f7b912c43aa1948b197fda /x11-libs/qtscriptgenerator | |
parent | Fix build with libavutil 50 by not using pixel formats that have been depreca... (diff) | |
download | historical-5590cdbe81d22383e8a05588b533ab88b3c888ec.tar.gz historical-5590cdbe81d22383e8a05588b533ab88b3c888ec.tar.bz2 historical-5590cdbe81d22383e8a05588b533ab88b3c888ec.zip |
Initial import to the tree of qtscriptgenerator from the kde-testing overlay.
Thanks to hwoarang and reavertm for their work on the ebuild.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'x11-libs/qtscriptgenerator')
-rw-r--r-- | x11-libs/qtscriptgenerator/ChangeLog | 11 | ||||
-rw-r--r-- | x11-libs/qtscriptgenerator/Manifest | 4 | ||||
-rw-r--r-- | x11-libs/qtscriptgenerator/metadata.xml | 6 | ||||
-rw-r--r-- | x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild | 75 |
4 files changed, 96 insertions, 0 deletions
diff --git a/x11-libs/qtscriptgenerator/ChangeLog b/x11-libs/qtscriptgenerator/ChangeLog new file mode 100644 index 000000000000..dc1d8cc25709 --- /dev/null +++ b/x11-libs/qtscriptgenerator/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for x11-libs/qtscriptgenerator +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qtscriptgenerator/ChangeLog,v 1.1 2009/04/15 05:40:01 jmbsvicetto Exp $ + +*qtscriptgenerator-0.1.0 (15 Apr 2009) + + 15 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +metadata.xml, +qtscriptgenerator-0.1.0.ebuild: + Initial import to the tree of qtscriptgenerator from the kde-testing + overlay. Thanks to hwoarang and reavertm for their work on the ebuild. + diff --git a/x11-libs/qtscriptgenerator/Manifest b/x11-libs/qtscriptgenerator/Manifest new file mode 100644 index 000000000000..a0a914159c74 --- /dev/null +++ b/x11-libs/qtscriptgenerator/Manifest @@ -0,0 +1,4 @@ +DIST qtscriptgenerator-src-0.1.0.tar.gz 374223 RMD160 a02ce6fea2fbc3d3a6ae9e51c6b563ef4bcd51f3 SHA1 eeae733106369e289f257b754822bc372fd6ba75 SHA256 462ec57a65cf61228070a442299a5ecd189f80325f8246e5f98e0b8b06941f41 +EBUILD qtscriptgenerator-0.1.0.ebuild 1671 RMD160 0b811c6e874e98ff8edb66e4f23013bff1245b13 SHA1 9a91441d269a40a74a95d82e2cc4eaf44dcdfe0a SHA256 111c20fde51a63debd64f32c9849a04b81041e7994abc36a371ab2c0920c4b89 +MISC ChangeLog 532 RMD160 97f4d7a93dcfeced9a1ef865214b43e0a31e83a1 SHA1 91615145b212c32744811602201cfab2887a92d5 SHA256 d6d9cc39e9651f84bd35d1372d45be45e6d4da5dbe46efde5b638315f785325f +MISC metadata.xml 174 RMD160 150ebb914d1d3dba874847502ec6fca3569bdd9d SHA1 069ee757d92149b01569258dd651246ae0c56e88 SHA256 24acedd614ebfee8dfa4f4bbe7729fd1b503351fb7c055fe3ff0109ef01e2a8e diff --git a/x11-libs/qtscriptgenerator/metadata.xml b/x11-libs/qtscriptgenerator/metadata.xml new file mode 100644 index 000000000000..028db9c5ac61 --- /dev/null +++ b/x11-libs/qtscriptgenerator/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <herd>qt</herd> +</pkgmetadata> diff --git a/x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild new file mode 100644 index 000000000000..cf64f9f540b6 --- /dev/null +++ b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild,v 1.1 2009/04/15 05:40:01 jmbsvicetto Exp $ + +EAPI="2" + +MY_PN="${PN}-src" +MY_P="${MY_PN}-${PV}" + +inherit multilib qt4 + +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" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug" + +DEPEND=" + x11-libs/qt-dbus:4 + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 + || ( + x11-libs/qt-phonon:4 + media-sound/phonon + ) + x11-libs/qt-script:4 + x11-libs/qt-sql:4 + x11-libs/qt-svg:4 + x11-libs/qt-xmlpatterns:4 +" +RDEPEND="${DEPEND}" + +PLUGINS="core gui network opengl sql svg uitools webkit xml xmlpatterns" + +S="${WORKDIR}/${MY_P}" + +pkg_setup(){ + QTDIR="/usr/include/qt4" + QTLIBDIR="/usr/$(get_libdir)/qt4/" +} + +src_prepare() { + # remove phonon + sed -i \ + -e "/typesystem_phonon.xml/d" \ + generator/generator.qrc || die "sed failed" + sed -i \ + -e "/qtscript_phonon/d" \ + qtbindings/qtbindings.pro || die "sed failed" + qt4_src_prepare +} + +src_configure() { + cd "${S}"/generator + eqmake4 generator.pro + cd "${S}"/qtbindings + eqmake4 qtbindings.pro +} + +src_compile() { + cd "${S}"/generator + emake || die "emake generator failed" + ./generator --include-paths="/usr/include/qt4/" || die "running generator failed" + cd "${S}"/qtbindings + emake || die "make qtbindings failed" +} + +src_install() { + insinto "${QTLIBDIR}"/plugins/script/ + insopts -m0755 + doins -r "${S}"/plugins/script/*.so || die "doins failed" +} |