summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-01-15 13:20:09 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-01-15 13:20:09 +0000
commit6db215636866b11f345d81b9a1bcecfe30c37f90 (patch)
treedd0ff6788633913ff15a2a313b9b31cd9df76ca5 /dev-libs
parentRemove masked packages. (diff)
downloadgentoo-2-6db215636866b11f345d81b9a1bcecfe30c37f90.tar.gz
gentoo-2-6db215636866b11f345d81b9a1bcecfe30c37f90.tar.bz2
gentoo-2-6db215636866b11f345d81b9a1bcecfe30c37f90.zip
Remove masked package.
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/qsa/ChangeLog78
-rw-r--r--dev-libs/qsa/Manifest25
-rw-r--r--dev-libs/qsa/files/qsa-1.0.1-no-examples.diff7
-rw-r--r--dev-libs/qsa/files/qsa-1.0.1-sandbox-fix.diff11
-rw-r--r--dev-libs/qsa/files/qsa-1.1.1-example-enums.pro.diff5
-rw-r--r--dev-libs/qsa/files/qsa-1.1.1-sandbox-fix.diff11
-rw-r--r--dev-libs/qsa/files/qsa-1.1.1-with-examples.diff7
-rw-r--r--dev-libs/qsa/files/qsa-1.1.1-without-examples-using-ide.diff5
-rw-r--r--dev-libs/qsa/files/qsa-1.1.1-without-examples.diff7
-rw-r--r--dev-libs/qsa/metadata.xml8
-rw-r--r--dev-libs/qsa/qsa-1.0.1.ebuild40
-rw-r--r--dev-libs/qsa/qsa-1.1.1.ebuild120
-rw-r--r--dev-libs/qsa/qsa-1.1.5.ebuild119
13 files changed, 0 insertions, 443 deletions
diff --git a/dev-libs/qsa/ChangeLog b/dev-libs/qsa/ChangeLog
deleted file mode 100644
index 10b67cba5f82..000000000000
--- a/dev-libs/qsa/ChangeLog
+++ /dev/null
@@ -1,78 +0,0 @@
-# ChangeLog for dev-libs/qsa
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/qsa/ChangeLog,v 1.21 2008/08/06 11:04:42 ulm Exp $
-
- 06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
- Add USE flag description to metadata wrt GLEP 56.
-
- 27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> qsa-1.0.1.ebuild,
- qsa-1.1.1.ebuild, qsa-1.1.5.ebuild:
- QA: Get rid of deprecated qt_min_version(). Quoting issues.
-
- 14 Mar 2007; Przemysław Maciąg <troll@gentoo.org> qsa-1.0.1.ebuild,
- qsa-1.1.1.ebuild, +qsa-1.1.5.ebuild:
- Ebuilds cleanup - moved patching to src_unpack. Version bump to 1.1.5.
-
- 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
- Transition to Manifest2.
-
- 14 Dec 2006; Matti Bickel <mabi@gentoo.org> qsa-1.1.1.ebuild:
- ppc stable (bug #123939)
-
- 20 Nov 2006; <blubb@gentoo.org> qsa-1.1.1.ebuild:
- stable on amd64
-
- 17 Nov 2006; nixnut <nixnut@gentoo.org> qsa-1.1.1.ebuild:
- Added ~ppc keyword wrt bug 123939
-
- 17 Nov 2006; Christian Faulhammer <opfer@gentoo.org> qsa-1.1.1.ebuild:
- stable x86, bug #123939
-
- 25 Jul 2005; Caleb Tennis <caleb@gentoo.org> qsa-1.0.1.ebuild,
- qsa-1.1.1.ebuild:
- Fix qt deps per #100235
-
- 24 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> qsa-1.0.1.ebuild:
- Stable on ppc.
-
- 08 Feb 2005; Simon Stelling <blubb@gentoo.org> qsa-1.1.1.ebuild:
- added ~amd64
-
- 19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> qsa-1.0.1.ebuild:
- Stable on amd64.
-
-*qsa-1.1.1 (29 Sep 2004)
-
- 29 Sep 2004; Caleb Tennis <caleb@gentoo.org> metadata.xml,
- +files/qsa-1.1.1-example-enums.pro.diff,
- +files/qsa-1.1.1-sandbox-fix.diff, +files/qsa-1.1.1-with-examples.diff,
- +files/qsa-1.1.1-without-examples-using-ide.diff,
- +files/qsa-1.1.1-without-examples.diff, +qsa-1.1.1.ebuild:
- Importing new version - Bug #65154
-
-*qsa-1.0.1 (28 Nov 2003)
-
- 28 Nov 2003; Caleb Tennis <caleb@gentoo.org> qsa-1.0.1.ebuild,
- qsa-1.0_pre20030513.ebuild, files/qsa-1.0.1-no-examples.diff,
- files/qsa-1.0.1-sandbox-fix.diff,
- files/qsa-1.0_pre20030513-libdir-patch.diff:
- Version bump
-
- 16 Nov 2003; Brad House <brad_mssw@gentoo.org> qsa-1.0.0.ebuild:
- mark stable on amd64
-
- 22 Sep 2003; <paul@gentoo.org> metadata.xml:
- Fix metadata.xml
-
- 27 Aug 2003; Caleb Tennis <caleb@gentoo.org> qsa-1.0.0.ebuild:
- .qmake.cache fix - closes bug #23543
-
-*qsa-1.0.0 (03 Jul 2003)
-
- 23 Jul 2003; Michele Balistreri <brain@gentoo.org> qsa-1.0.0.ebuild:
- Version bump, total restyle. Added ~ppc flag
-
-*qsa-1.0_pre20030513 (24 May 2003)
-
- 24 May 2003; Michele Balistreri <brain@gentoo.org> qsa-1.0_pre20030513.ebuild :
- Initial import.
diff --git a/dev-libs/qsa/Manifest b/dev-libs/qsa/Manifest
deleted file mode 100644
index cce04ca0707f..000000000000
--- a/dev-libs/qsa/Manifest
+++ /dev/null
@@ -1,25 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX qsa-1.0.1-no-examples.diff 219 RMD160 bafd4b4e15e98352a3adc9a19d20b6af516ba671 SHA1 7d87b09d813d98cd904989be052f7c2de42141db SHA256 18fb256ae77147a6302ce7dbbf428765110f4d4b32d311abe1d5707eeaaabc1a
-AUX qsa-1.0.1-sandbox-fix.diff 319 RMD160 53a645c866679e90590772594fa6770a9c788a27 SHA1 a99956d167d3d92fa0655e4343ec37bcd536c599 SHA256 5b947dd52495cecf63976c429f5c0a5b42e66b6e120f2e6ce8c2993570f98cac
-AUX qsa-1.1.1-example-enums.pro.diff 176 RMD160 9cafaa7d1b9a002a21d40db6c8913b9209f9478d SHA1 63d655c4851a1475b330614e203fc6595d55ec2f SHA256 00109371cd082a9bc8144da389d27935d3ebc69b5465dec1a9716fa721c83b61
-AUX qsa-1.1.1-sandbox-fix.diff 319 RMD160 53a645c866679e90590772594fa6770a9c788a27 SHA1 a99956d167d3d92fa0655e4343ec37bcd536c599 SHA256 5b947dd52495cecf63976c429f5c0a5b42e66b6e120f2e6ce8c2993570f98cac
-AUX qsa-1.1.1-with-examples.diff 228 RMD160 901df3f31370eafaec3d9781344b853daae6b350 SHA1 ab807d45f5b42f2081d821d5aa87c90bc7adb253 SHA256 cb92427c3726c950d97a1eb6fbe48415070d5a4fe2086823cfdc6ca869c103e7
-AUX qsa-1.1.1-without-examples-using-ide.diff 149 RMD160 04cca25f3f7cdb4027121e9fbbe58d355e86d85a SHA1 444743b09aac62984fa54d70f874e51c0c08e865 SHA256 1c4ac23f92ea4360854f96b5084e1a1b67e49db65456f57e2e6353a932006286
-AUX qsa-1.1.1-without-examples.diff 219 RMD160 246516e6d0ffd7390b6d8b1dc9b518f653ba7086 SHA1 56904a967f4dff8f2a247209964a4167f0bb6cfe SHA256 15e262fc9c7a3cbdc6cf428ec1c59d7c8801def109ceaa4533f0d45af515e823
-DIST qsa-x11-free-1.0.1.tar.gz 2060183 RMD160 2a14085823cea0798f30e7ccb6d779721c2ee214 SHA1 c55b0094d13a3ba1a98386357e97bfff08971411 SHA256 4f0c40e8327e181fb8ec0bf5cd8d4370930ea915fed413bea3ed73bb4c9d9986
-DIST qsa-x11-free-1.1.1.tar.gz 1715187 RMD160 3a41740e94d2930f52d6217c7ad5f62aed6ae762 SHA1 5819d33396c9e76c1d4f7f3aecab664a52e79c08 SHA256 f52d7aa624296d1ca7ba135d14e2774a4c7cf3cedd9ef8ea072e77c310da9e26
-DIST qsa-x11-free-1.1.5.tar.gz 1716783 RMD160 93d28abbcb22a296864a32b8b9904d12eb61140a SHA1 a5cd0a21819a42dc50ae1d81df46743d6e235a4e SHA256 da1f059b4d27f231b9cc78e5cc6d7cd0db572c19e7d4d392597f8f58c6806e9d
-EBUILD qsa-1.0.1.ebuild 915 RMD160 5e3f9ac56dcf98a934583523397362484ac2f014 SHA1 c47a8948e79166d339ceb60cd7dca06fb8ea48ad SHA256 6c2221c26fd85188f05ca840f6269f8f5fe040d75508baf3012f73a54d59d7b2
-EBUILD qsa-1.1.1.ebuild 3195 RMD160 61aa6193f5e11fcafc333c43b2d47d89812e5292 SHA1 d0a92fcfe211685c4a3f7c87a0f050f96ac315f6 SHA256 e211568f63dcad7d2545832f37a18e71662fb72f096361ed6f265350d21001f9
-EBUILD qsa-1.1.5.ebuild 3174 RMD160 cc85d8c6583b814a5f4a5b2e60d8493aa672c6e5 SHA1 976c5bc7907a2e3a7a6ef83fcae779f69119c6da SHA256 8871bfc9c0f115e14a837402d92f625fecc471a432dd714d9f8861d37b437245
-MISC ChangeLog 2643 RMD160 ceae0df9c26b2c2a8d8e2763a6a54e96b1987be2 SHA1 d527b680306dc2a89fa447e02551e57d0f1e4b83 SHA256 bae3dbf729dbdf5f152bd223c239a9fd16b54decc90108874ededa1b0267349b
-MISC metadata.xml 213 RMD160 8815460e7612566afb2da1572b7d4357efef9233 SHA1 8d86ef2061699be363830ed27c5668452bc12bdf SHA256 47e2f779ff69cabf7e4944b85c387910a35708647737969acdd72e1c44520269
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
-
-iEYEARECAAYFAkiZhVsACgkQOeoy/oIi7uwDgwCg4UQmGfDd7Ihqs+6Sl5h8rhaO
-K1kAn1Mhnj1xwQ4+Ty9Z1nJ5RfFCAkYu
-=dU4Z
------END PGP SIGNATURE-----
diff --git a/dev-libs/qsa/files/qsa-1.0.1-no-examples.diff b/dev-libs/qsa/files/qsa-1.0.1-no-examples.diff
deleted file mode 100644
index 21419fdf5929..000000000000
--- a/dev-libs/qsa/files/qsa-1.0.1-no-examples.diff
+++ /dev/null
@@ -1,7 +0,0 @@
---- qsa.pro.orig 2003-07-02 12:16:55.000000000 +0200
-+++ qsa.pro 2003-07-03 13:42:53.000000000 +0200
-@@ -1,3 +1,3 @@
- TEMPLATE = subdirs
- CONFIG = ordered
--SUBDIRS = src examples configure2
-+SUBDIRS = src configure2
diff --git a/dev-libs/qsa/files/qsa-1.0.1-sandbox-fix.diff b/dev-libs/qsa/files/qsa-1.0.1-sandbox-fix.diff
deleted file mode 100644
index 3ee14bb3ee0c..000000000000
--- a/dev-libs/qsa/files/qsa-1.0.1-sandbox-fix.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/plugin/plugin.pro.orig 2003-07-03 13:43:09.000000000 +0200
-+++ src/plugin/plugin.pro 2003-07-03 13:43:34.000000000 +0200
-@@ -14,7 +14,7 @@
- }
-
- !isEmpty(QSA_INSTALL_PREFIX)
-- target.path=$$plugins.path/designer
-+ target.path=$$QSA_INSTALL_PREFIX/plugins/designer
-
- INSTALLS += target
- TEMPLATE = lib
diff --git a/dev-libs/qsa/files/qsa-1.1.1-example-enums.pro.diff b/dev-libs/qsa/files/qsa-1.1.1-example-enums.pro.diff
deleted file mode 100644
index 66b4b1318847..000000000000
--- a/dev-libs/qsa/files/qsa-1.1.1-example-enums.pro.diff
+++ /dev/null
@@ -1,5 +0,0 @@
---- examples/enums/enums.pro.orig 2004-09-23 12:20:14.000000000 +0200
-+++ examples/enums/enums.pro 2004-09-23 16:25:35.000000000 +0200
-@@ -1,1 +1,1 @@
--load(qsa)
-+load(../qsa)
diff --git a/dev-libs/qsa/files/qsa-1.1.1-sandbox-fix.diff b/dev-libs/qsa/files/qsa-1.1.1-sandbox-fix.diff
deleted file mode 100644
index 3ee14bb3ee0c..000000000000
--- a/dev-libs/qsa/files/qsa-1.1.1-sandbox-fix.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/plugin/plugin.pro.orig 2003-07-03 13:43:09.000000000 +0200
-+++ src/plugin/plugin.pro 2003-07-03 13:43:34.000000000 +0200
-@@ -14,7 +14,7 @@
- }
-
- !isEmpty(QSA_INSTALL_PREFIX)
-- target.path=$$plugins.path/designer
-+ target.path=$$QSA_INSTALL_PREFIX/plugins/designer
-
- INSTALLS += target
- TEMPLATE = lib
diff --git a/dev-libs/qsa/files/qsa-1.1.1-with-examples.diff b/dev-libs/qsa/files/qsa-1.1.1-with-examples.diff
deleted file mode 100644
index d57ed70fad04..000000000000
--- a/dev-libs/qsa/files/qsa-1.1.1-with-examples.diff
+++ /dev/null
@@ -1,7 +0,0 @@
---- qsa.pro.orig 2003-07-02 12:16:55.000000000 +0200
-+++ qsa.pro 2003-07-03 13:42:53.000000000 +0200
-@@ -1,3 +1,3 @@
- TEMPLATE = subdirs
- CONFIG = ordered
--SUBDIRS = src examples
-+SUBDIRS = configure2 src examples src/plugin
diff --git a/dev-libs/qsa/files/qsa-1.1.1-without-examples-using-ide.diff b/dev-libs/qsa/files/qsa-1.1.1-without-examples-using-ide.diff
deleted file mode 100644
index c8f32b91d59b..000000000000
--- a/dev-libs/qsa/files/qsa-1.1.1-without-examples-using-ide.diff
+++ /dev/null
@@ -1,5 +0,0 @@
---- examples/examples.pro.orig
-+++ examples/examples.pro
-@@ -3,1 +3,1 @@
-- console game filter wrappers enums
-+ console game filter wrappers
diff --git a/dev-libs/qsa/files/qsa-1.1.1-without-examples.diff b/dev-libs/qsa/files/qsa-1.1.1-without-examples.diff
deleted file mode 100644
index 607d3d804e13..000000000000
--- a/dev-libs/qsa/files/qsa-1.1.1-without-examples.diff
+++ /dev/null
@@ -1,7 +0,0 @@
---- qsa.pro.orig 2003-07-02 12:16:55.000000000 +0200
-+++ qsa.pro 2003-07-03 13:42:53.000000000 +0200
-@@ -1,3 +1,3 @@
- TEMPLATE = subdirs
- CONFIG = ordered
--SUBDIRS = src examples
-+SUBDIRS = configure2 src src/plugin
diff --git a/dev-libs/qsa/metadata.xml b/dev-libs/qsa/metadata.xml
deleted file mode 100644
index 73f6b64089d8..000000000000
--- a/dev-libs/qsa/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>qt</herd>
-<use>
- <flag name='ide'>Enable the qsa ide</flag>
-</use>
-</pkgmetadata>
diff --git a/dev-libs/qsa/qsa-1.0.1.ebuild b/dev-libs/qsa/qsa-1.0.1.ebuild
deleted file mode 100644
index d305cedfe878..000000000000
--- a/dev-libs/qsa/qsa-1.0.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/qsa/qsa-1.0.1.ebuild,v 1.8 2008/07/27 20:15:59 carlo Exp $
-
-EAPI=1
-
-inherit eutils qt3
-
-IUSE=""
-S="${WORKDIR}/${PN}-x11-free-${PV}"
-DESCRIPTION="Qt Script for Applications."
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ppc amd64"
-SRC_URI="ftp://ftp.trolltech.com/qsa/source/${PN}-x11-free-${PV}.tar.gz"
-HOMEPAGE="http://www.trolltech.com/"
-
-DEPEND="x11-libs/qt:3"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/${P}-no-examples.diff
- epatch "${FILESDIR}"/${P}-sandbox-fix.diff
-}
-
-src_compile() {
- ./configure -prefix "${D}${QTDIR}" -no-ide || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
-
- sed -e "s:${S}:${QTBASE}:g" "${S}"/.qmake.cache > "${D}/${QTBASE}"/.qmake.cache
-
- make install
- dodoc INSTALL README
-}
diff --git a/dev-libs/qsa/qsa-1.1.1.ebuild b/dev-libs/qsa/qsa-1.1.1.ebuild
deleted file mode 100644
index e1c705dc915b..000000000000
--- a/dev-libs/qsa/qsa-1.1.1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/qsa/qsa-1.1.1.ebuild,v 1.11 2008/07/27 20:15:59 carlo Exp $
-
-EAPI=1
-
-inherit eutils qt3
-
-S="${WORKDIR}/${PN}-x11-free-${PV}"
-
-DESCRIPTION="Qt Script for Applications, a ECMAScript based scripting toolkit for making customizable Qt/C++ applications."
-SRC_URI="ftp://ftp.trolltech.com/qsa/source/${PN}-x11-free-${PV}.tar.gz"
-HOMEPAGE="http://www.trolltech.com/"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="doc examples ide threads"
-
-DEPEND="x11-libs/qt:3"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- ! use ide && epatch "${FILESDIR}"/${P}-without-examples-using-ide.diff
-
- if use examples; then
- epatch "${FILESDIR}"/${P}-with-examples.diff
- epatch "${FILESDIR}"/${P}-example-enums.pro.diff
- else
- epatch "${FILESDIR}"/${P}-without-examples.diff
- fi
-
- epatch "${FILESDIR}"/${P}-sandbox-fix.diff
-}
-
-src_compile() {
- local myconf="-prefix ${D}${QTDIR}"
-
- use threads && myconf="${myconf} -thread"
- ! use ide && myconf="${myconf} -no-ide"
-
- ./configure ${myconf} || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- into "${QTDIR}"
-
- #includes
- insinto "${QTDIR}"/include
- doins src/qsa/qsaglobal.h
- doins src/qsa/qsconfig.h
- doins src/qsa/qsargument.h
- doins src/qsa/qsproject.h
- doins src/qsa/qsinterpreter.h
- doins src/qsa/qseditor.h
- doins src/qsa/qsutilfactory.h
- doins src/qsa/qswrapperfactory.h
- doins src/qsa/qsobjectfactory.h
- doins src/qsa/qsscript.h
- doins src/qsa/qsinputdialogfactory.h
- doins src/ide/qsworkbench.h
-
- #QSA mkspec feature
- insinto "${QTDIR}"/mkspecs/${QMAKESPEC}
- doins src/qsa/qsa.prf
-
- #libs
- dolib lib/libqsa.so.1.1.1
- cd "${D}/${QTDIR}"/lib
- ln -s libqsa.so.1.1.1 libqsa.so.1.1
- ln -s libqsa.so.1.1 libqsa.so.1
- ln -s libqsa.so.1 libqsa.so
- cd -
- insinto "${QTDIR}"/lib
- doins lib/libqsa.prl
-
- #QSA plugin (SEditor) for Qt designer
- insinto "${QTDIR}"/plugins/designer
- doins plugins/designer/libqseditorplugin.so
-
- #documentation
- if use doc; then
- dohtml -A dcf -r doc/html/*
- fi
-
- #examples
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-
- dodoc README changes-1.1.1
-}
-
-pkg_postinst(){
- if use doc && [ "${ROOT}" = "/" ]; then
- #include QSA Documentation content file into assistant
- assistant -addContentFile /usr/share/doc/${PF}/html/qsa.dcf
- assistant -addContentFile /usr/share/doc/${PF}/html/extensions.dcf
- assistant -addContentFile /usr/share/doc/${PF}/html/language.dcf
- assistant -addContentFile /usr/share/doc/${PF}/html/qtscripter.dcf
- assistant -addContentFile /usr/share/doc/${PF}/html/qt-script-for-applications.dcf
- fi
-}
-
-pkg_prerm(){
- if use doc && [ "${ROOT}" = "/" ]; then
- #remove QSA Documentation content file into assistant
- assistant -removeContentFile /usr/share/doc/${PF}/html/qsa.dcf
- assistant -removeContentFile /usr/share/doc/${PF}/html/extensions.dcf
- assistant -removeContentFile /usr/share/doc/${PF}/html/language.dcf
- assistant -removeContentFile /usr/share/doc/${PF}/html/qtscripter.dcf
- assistant -removeContentFile /usr/share/doc/${PF}/html/qt-script-for-applications.dcf
- fi
-}
diff --git a/dev-libs/qsa/qsa-1.1.5.ebuild b/dev-libs/qsa/qsa-1.1.5.ebuild
deleted file mode 100644
index 6119cff03bb8..000000000000
--- a/dev-libs/qsa/qsa-1.1.5.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/qsa/qsa-1.1.5.ebuild,v 1.3 2008/07/27 20:15:59 carlo Exp $
-
-EAPI=1
-
-inherit eutils qt3
-
-S="${WORKDIR}/${PN}-x11-free-${PV}"
-
-DESCRIPTION="Qt Script for Applications, a ECMAScript based scripting toolkit for making customizable Qt/C++ applications."
-SRC_URI="ftp://ftp.trolltech.com/qsa/source/${PN}-x11-free-${PV}.tar.gz"
-HOMEPAGE="http://www.trolltech.com/"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc examples ide threads"
-
-DEPEND="x11-libs/qt:3"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- ! use ide && epatch "${FILESDIR}"/${PN}-1.1.1-without-examples-using-ide.diff
-
- if use examples; then
- epatch "${FILESDIR}"/${PN}-1.1.1-with-examples.diff
- else
- epatch "${FILESDIR}"/${PN}-1.1.1-without-examples.diff
- fi
-
- epatch "${FILESDIR}"/${PN}-1.1.1-sandbox-fix.diff
-}
-
-src_compile() {
- local myconf="-prefix ${D}${QTDIR}"
-
- use threads && myconf="${myconf} -thread"
- ! use ide && myconf="${myconf} -no-ide"
-
- ./configure ${myconf} || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- into "${QTDIR}"
-
- #includes
- insinto "${QTDIR}"/include
- doins src/qsa/qsaglobal.h
- doins src/qsa/qsconfig.h
- doins src/qsa/qsargument.h
- doins src/qsa/qsproject.h
- doins src/qsa/qsinterpreter.h
- doins src/qsa/qseditor.h
- doins src/qsa/qsutilfactory.h
- doins src/qsa/qswrapperfactory.h
- doins src/qsa/qsobjectfactory.h
- doins src/qsa/qsscript.h
- doins src/qsa/qsinputdialogfactory.h
- doins src/ide/qsworkbench.h
-
- #QSA mkspec feature
- insinto "${QTDIR}"/mkspecs/${QMAKESPEC}
- doins src/qsa/qsa.prf
-
- #libs
- dolib lib/libqsa.so.${PV}
- cd "${D}/${QTDIR}"/lib
- ln -s libqsa.so.${PV} libqsa.so.1.1
- ln -s libqsa.so.1.1 libqsa.so.1
- ln -s libqsa.so.1 libqsa.so
- cd -
- insinto "${QTDIR}"/lib
- doins lib/libqsa.prl
-
- #QSA plugin (SEditor) for Qt designer
- insinto "${QTDIR}"/plugins/designer
- doins plugins/designer/libqseditorplugin.so
-
- #documentation
- if use doc; then
- dohtml -A dcf -r doc/html/*
- fi
-
- #examples
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-
- dodoc README changes-${PV}
-}
-
-pkg_postinst(){
- if use doc && [ "${ROOT}" = "/" ]; then
- #include QSA Documentation content file into assistant
- assistant -addContentFile /usr/share/doc/${PF}/html/qsa.dcf
- assistant -addContentFile /usr/share/doc/${PF}/html/extensions.dcf
- assistant -addContentFile /usr/share/doc/${PF}/html/language.dcf
- assistant -addContentFile /usr/share/doc/${PF}/html/qtscripter.dcf
- assistant -addContentFile /usr/share/doc/${PF}/html/qt-script-for-applications.dcf
- fi
-}
-
-pkg_prerm(){
- if use doc && [ "${ROOT}" = "/" ]; then
- #remove QSA Documentation content file into assistant
- assistant -removeContentFile /usr/share/doc/${PF}/html/qsa.dcf
- assistant -removeContentFile /usr/share/doc/${PF}/html/extensions.dcf
- assistant -removeContentFile /usr/share/doc/${PF}/html/language.dcf
- assistant -removeContentFile /usr/share/doc/${PF}/html/qtscripter.dcf
- assistant -removeContentFile /usr/share/doc/${PF}/html/qt-script-for-applications.dcf
- fi
-}