summaryrefslogtreecommitdiff
path: root/x11-libs/qtscriptgenerator/qtscriptgenerator-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/qtscriptgenerator/qtscriptgenerator-9999.ebuild')
-rw-r--r--x11-libs/qtscriptgenerator/qtscriptgenerator-9999.ebuild76
1 files changed, 0 insertions, 76 deletions
diff --git a/x11-libs/qtscriptgenerator/qtscriptgenerator-9999.ebuild b/x11-libs/qtscriptgenerator/qtscriptgenerator-9999.ebuild
deleted file mode 100644
index e28e218..0000000
--- a/x11-libs/qtscriptgenerator/qtscriptgenerator-9999.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit multilib git qt4
-
-DESCRIPTION="Tool for generating Qt bindings for Qt Script"
-HOMEPAGE="http://code.google.com/p/qtscriptgenerator/"
-EGIT_REPO_URI="git://labs.trolltech.com/qtscriptgenerator"
-
-LICENSE="GPL-2"
-KEYWORDS=""
-SLOT="live"
-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"
-
-src_unpack() {
- git_src_unpack
- cd ${S}
- epatch ${FILESDIR}/gcc4.4.patch
-}
-
-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"
- git_src_prepare
- 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"
-}