diff options
author | Dominik Stadler <centic@gentoo.org> | 2004-03-20 19:16:54 +0000 |
---|---|---|
committer | Dominik Stadler <centic@gentoo.org> | 2004-03-20 19:16:54 +0000 |
commit | 05e318331499f9537645360ea9b99e78d81903a7 (patch) | |
tree | 7468f27168c5e5121c351520de1e39fbd1c03426 /dev-util | |
parent | add descriptions for moz flags, remove one that no longer exists (diff) | |
download | gentoo-2-05e318331499f9537645360ea9b99e78d81903a7.tar.gz gentoo-2-05e318331499f9537645360ea9b99e78d81903a7.tar.bz2 gentoo-2-05e318331499f9537645360ea9b99e78d81903a7.zip |
Add new Version 0.9.8, use new HOMEPAGE and SRC_URI and try to fix problem with Qt-Sandbox-Violations, see Bug 45220
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/qtunit/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/qtunit/Manifest | 2 | ||||
-rw-r--r-- | dev-util/qtunit/files/digest-qtunit-0.9.8 | 1 | ||||
-rw-r--r-- | dev-util/qtunit/metadata.xml | 5 | ||||
-rw-r--r-- | dev-util/qtunit/qtunit-0.9.8.ebuild | 67 |
5 files changed, 84 insertions, 2 deletions
diff --git a/dev-util/qtunit/ChangeLog b/dev-util/qtunit/ChangeLog index 7a5211b90bac..edadcda66051 100644 --- a/dev-util/qtunit/ChangeLog +++ b/dev-util/qtunit/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/qtunit -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/qtunit/ChangeLog,v 1.9 2003/06/12 20:44:08 msterret Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/qtunit/ChangeLog,v 1.10 2004/03/20 19:16:54 centic Exp $ + +*qtunit-0.9.8 (20 Mar 2004) + + 20 Mar 2004; Dominik Stadler <centic@gentoo.org> metadata.xml, + qtunit-0.9.8.ebuild: + Add new Version 0.9.8, use new HOMEPAGE and SRC_URI and try to fix problem + with Qt-Sandbox-Violations, see Bug 45220 12 Jun 2003; <msterret@gentoo.org> qtunit-0.9.7.ebuild: fix Header diff --git a/dev-util/qtunit/Manifest b/dev-util/qtunit/Manifest index 21f7dea37cca..5584ee7a1d19 100644 --- a/dev-util/qtunit/Manifest +++ b/dev-util/qtunit/Manifest @@ -1,3 +1,5 @@ MD5 e94682009763126058aa50a765d0d526 ChangeLog 1511 MD5 1a5c6effd3079fb81314f69907ecac6f qtunit-0.9.7.ebuild 1637 +MD5 b7f3d54c17e60986553a2353218eb97d qtunit-0.9.8.ebuild 1531 MD5 7d14c59e90551c136bbb1bf2396bb986 files/digest-qtunit-0.9.7 64 +MD5 3f79b8e5e392324d04d02d18d9776afd files/digest-qtunit-0.9.8 64 diff --git a/dev-util/qtunit/files/digest-qtunit-0.9.8 b/dev-util/qtunit/files/digest-qtunit-0.9.8 new file mode 100644 index 000000000000..48fbb7262b62 --- /dev/null +++ b/dev-util/qtunit/files/digest-qtunit-0.9.8 @@ -0,0 +1 @@ +MD5 c30da56d039d137cc3176a0fe9257ab4 qtunit-0.9.8.tar.bz2 80810 diff --git a/dev-util/qtunit/metadata.xml b/dev-util/qtunit/metadata.xml new file mode 100644 index 000000000000..b435a8440ccd --- /dev/null +++ b/dev-util/qtunit/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde-other</herd> +</pkgmetadata> diff --git a/dev-util/qtunit/qtunit-0.9.8.ebuild b/dev-util/qtunit/qtunit-0.9.8.ebuild new file mode 100644 index 000000000000..601282c57fd8 --- /dev/null +++ b/dev-util/qtunit/qtunit-0.9.8.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/qtunit/qtunit-0.9.8.ebuild,v 1.1 2004/03/20 19:16:54 centic Exp $ + +DESCRIPTION="Unit testing framework for c++" +SRC_URI="http://www.uwyn.com/download/qtunit/${P}.tar.bz2" +HOMEPAGE="http://www.uwyn.com/projects/qtunit/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc" + +DEPEND="=x11-libs/qt-3*" + +#export QTDIR="/usr/qt/3" +#export PATH="$QTDIR/bin:$PATH" +#export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH" +export QMAKESPEC="linux-g++" + +src_compile() { + # Need to fake out Qt or we'll get sandbox problems, see Bug 45220 + REALHOME="$HOME" + mkdir -p $T/fakehome/.kde + mkdir -p $T/fakehome/.qt + export HOME="$T/fakehome" + addwrite "${QTDIR}/etc/settings" + + qmake qtunit.pro || die + make || die # emake doesn't work +} + +src_install() { + insinto /usr + + dolib lib/libqtunit.so.1.0.0 + dosym /usr/lib/libqtunit.so.1.0.0 /usr/lib/libqtunit.so.1.0 + dosym /usr/lib/libqtunit.so.1.0 /usr/lib/libqtunit.so.1 + dosym /usr/lib/libqtunit.so.1 /usr/lib/libqtunit.so + dobin bin/guitestrunner + dobin bin/texttestrunner + + dodir /usr/include/qtunit + find src -name "*.h" -exec cp '{}' ${D}/usr/include/qtunit ';' + + dodoc ChangeLog INSTALL + + dohtml -r html + + docinto plugins + dodoc plugins/libexampletestmodule.so + + docinto samples/standalonerunner + dodoc samples/standalonerunner/*.{cpp,h,pro} + + docinto samples/testmodule + dodoc samples/testmodule/*.{cpp,h,pro} + + docinto samples/guitestrunner + dodoc samples/guitestrunner/*.{cpp,pro} + + docinto samples/texttestrunner + dodoc samples/texttestrunner/*.{cpp,pro} + + sed -e "s#<FILEPATH>#<FILEPATH>/usr/share/doc/${PF}/#" \ + -e "s#<SOURCEPATH>#<SOURCEPATH>/usr/share/doc/${PF}/#" \ + testproject.qpj > ${D}/usr/share/doc/${PF}/testproject.qpj +} |