summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-01-30 08:22:27 +0000
committerJohannes Huber <johu@gentoo.org>2012-01-30 08:22:27 +0000
commit60175e0fb36e2b75cc9c98fa2cbaf6df25e6e64f (patch)
tree61bae08cce56d41b123ffab1440279fe34f71a94 /dev-tex
parentBackport upstream fix for Gentoo bug #389479, and suppress net_unittests fail... (diff)
downloadgentoo-2-60175e0fb36e2b75cc9c98fa2cbaf6df25e6e64f.tar.gz
gentoo-2-60175e0fb36e2b75cc9c98fa2cbaf6df25e6e64f.tar.bz2
gentoo-2-60175e0fb36e2b75cc9c98fa2cbaf6df25e6e64f.zip
Version bump wrt bug #400737. Thanks to kensington <gentoo@scribeofthenile.com>.
(Portage version: 2.2.0_alpha84/cvs/Linux i686)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/qtexengine/ChangeLog11
-rw-r--r--dev-tex/qtexengine/files/qtexengine-0.3-dynlib.patch21
-rw-r--r--dev-tex/qtexengine/qtexengine-0.3.ebuild44
3 files changed, 74 insertions, 2 deletions
diff --git a/dev-tex/qtexengine/ChangeLog b/dev-tex/qtexengine/ChangeLog
index c4cebd4d6c09..a1a662e29640 100644
--- a/dev-tex/qtexengine/ChangeLog
+++ b/dev-tex/qtexengine/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-tex/qtexengine
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/qtexengine/ChangeLog,v 1.3 2010/10/12 12:05:13 jlec Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/qtexengine/ChangeLog,v 1.4 2012/01/30 08:22:27 johu Exp $
+
+*qtexengine-0.3 (30 Jan 2012)
+
+ 30 Jan 2012; Johannes Huber <johu@gentoo.org>
+ +files/qtexengine-0.3-dynlib.patch, +qtexengine-0.3.ebuild:
+ Version bump wrt bug #400737. Thanks to kensington
+ <gentoo@scribeofthenile.com>.
12 Oct 2010; Justin Lecher <jlec@gentoo.org> qtexengine-0.2.ebuild:
Keyworded for ~linux prefix
diff --git a/dev-tex/qtexengine/files/qtexengine-0.3-dynlib.patch b/dev-tex/qtexengine/files/qtexengine-0.3-dynlib.patch
new file mode 100644
index 000000000000..856e5fe61358
--- /dev/null
+++ b/dev-tex/qtexengine/files/qtexengine-0.3-dynlib.patch
@@ -0,0 +1,21 @@
+--- config.pri
++++ config.pri
+@@ -2,7 +2,7 @@
+ CONFIG += release
+
+ # Comment the lines bellow if you want to build QTeXEngine statically
+-#CONFIG += QTeXEngineDll
++CONFIG += QTeXEngineDll
+
+
+
+--- test/test.pro
++++ test/test.pro
+@@ -7,6 +7,6 @@
+ DESTDIR = ./
+
+ INCLUDEPATH += ../src
+-LIBS += ../libQTeXEngine.a
++LIBS += ../libQTeXEngine.so
+
+ SOURCES += test.cpp
diff --git a/dev-tex/qtexengine/qtexengine-0.3.ebuild b/dev-tex/qtexengine/qtexengine-0.3.ebuild
new file mode 100644
index 000000000000..4bb0f292a5db
--- /dev/null
+++ b/dev-tex/qtexengine/qtexengine-0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/qtexengine/qtexengine-0.3.ebuild,v 1.1 2012/01/30 08:22:27 johu Exp $
+
+EAPI=4
+inherit eutils qt4-r2
+
+MY_PN=QTeXEngine
+
+DESCRIPTION="TeX support for Qt"
+HOMEPAGE="http://soft.proindependent.com/qtexengine/"
+SRC_URI="mirror://berlios/qtiplot/${MY_PN}-${PV}-opensource.zip"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+LICENSE="GPL-3"
+IUSE=""
+
+RDEPEND="x11-libs/qt-core:4
+ x11-libs/qt-gui:4"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${MY_PN}
+
+PATCHES=(
+ "${FILESDIR}/${P}-dynlib.patch"
+)
+
+src_compile() {
+ emake sub-src-all
+}
+
+src_test() {
+ emake sub-test-all
+}
+
+src_install() {
+ dolib.so lib${MY_PN}.so*
+ insinto /usr/include
+ doins src/${MY_PN}.h
+ dodoc CHANGES.txt
+ dohtml -r ./doc/html/*
+}