summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-libs/qwt-qt3/ChangeLog10
-rw-r--r--x11-libs/qwt-qt3/Manifest16
-rw-r--r--x11-libs/qwt-qt3/files/digest-qwt-qt3-5.0.23
-rw-r--r--x11-libs/qwt-qt3/metadata.xml6
-rw-r--r--x11-libs/qwt-qt3/qwt-qt3-5.0.2.ebuild62
5 files changed, 97 insertions, 0 deletions
diff --git a/x11-libs/qwt-qt3/ChangeLog b/x11-libs/qwt-qt3/ChangeLog
new file mode 100644
index 000000000000..5390e767e97b
--- /dev/null
+++ b/x11-libs/qwt-qt3/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-libs/qwt-qt3
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt-qt3/ChangeLog,v 1.1 2007/06/21 18:16:51 caleb Exp $
+
+*qwt-qt3-5.0.2 (21 Jun 2007)
+
+ 21 Jun 2007; Caleb Tennis <caleb@gentoo.org> +metadata.xml,
+ +qwt-qt3-5.0.2.ebuild:
+ Initial import, based off of x11-libs/qwt, but built against qt3
+
diff --git a/x11-libs/qwt-qt3/Manifest b/x11-libs/qwt-qt3/Manifest
new file mode 100644
index 000000000000..4dacc639d15f
--- /dev/null
+++ b/x11-libs/qwt-qt3/Manifest
@@ -0,0 +1,16 @@
+DIST qwt-5.0.2.tar.bz2 1666468 RMD160 1a80bb31eaa0d1488594507acb022ca268dcc2ce SHA1 f1a415847691e271e9f6b3b243ab2e7cb270a034 SHA256 1e09af748c42f70771334db7bad04c3e39cf0f80fe4da993345c366575b2408d
+EBUILD qwt-qt3-5.0.2.ebuild 1634 RMD160 c3a8a6ac3e08cdc5a6f9dfa6264fd499389447df SHA1 04b51afef2dee9e3a501fc681c4d75a7d3269a9a SHA256 b385f45708de00bea7f9307ae8b44c4a5d17c4a70ec59f8f74fac4e2cd5de8ce
+MD5 760f491ecc883b3b3fd471b31ab88077 qwt-qt3-5.0.2.ebuild 1634
+RMD160 c3a8a6ac3e08cdc5a6f9dfa6264fd499389447df qwt-qt3-5.0.2.ebuild 1634
+SHA256 b385f45708de00bea7f9307ae8b44c4a5d17c4a70ec59f8f74fac4e2cd5de8ce qwt-qt3-5.0.2.ebuild 1634
+MISC ChangeLog 302 RMD160 56c085bbb683d128fd5dcc8f96b59ca091235c00 SHA1 461e80d063c639e26a70b8f27bbb9a8485f8d619 SHA256 2b67e055b3acfbb8b9463bfd0ace1691f8f98fdd445d8f045e6effdce096319b
+MD5 ad7ade1d68c2d0592f4d07aca3f59a20 ChangeLog 302
+RMD160 56c085bbb683d128fd5dcc8f96b59ca091235c00 ChangeLog 302
+SHA256 2b67e055b3acfbb8b9463bfd0ace1691f8f98fdd445d8f045e6effdce096319b ChangeLog 302
+MISC metadata.xml 172 RMD160 535e918f13049ee3867da5e68128925f97b8f422 SHA1 142b7c45d6835f6c4a84615d9d18a84aa809ecd3 SHA256 94059f58eb87b143fe1616e60f4a1a48d346b443a67786b196eb25c958f9e43f
+MD5 91be6d950510a0f8e5b416d0ad1327ce metadata.xml 172
+RMD160 535e918f13049ee3867da5e68128925f97b8f422 metadata.xml 172
+SHA256 94059f58eb87b143fe1616e60f4a1a48d346b443a67786b196eb25c958f9e43f metadata.xml 172
+MD5 e2daf8cf3e1a1bf1f0af057838762ffc files/digest-qwt-qt3-5.0.2 235
+RMD160 88cc0dccbed1be6d933be9c70e3855b920227014 files/digest-qwt-qt3-5.0.2 235
+SHA256 7874cd392a342a91b124f62aa7fa67cb31cd23dd3ec40c388dd69570f0518810 files/digest-qwt-qt3-5.0.2 235
diff --git a/x11-libs/qwt-qt3/files/digest-qwt-qt3-5.0.2 b/x11-libs/qwt-qt3/files/digest-qwt-qt3-5.0.2
new file mode 100644
index 000000000000..69d00e719e93
--- /dev/null
+++ b/x11-libs/qwt-qt3/files/digest-qwt-qt3-5.0.2
@@ -0,0 +1,3 @@
+MD5 53adbb313c478dd4aae4f1c864a2037e qwt-5.0.2.tar.bz2 1666468
+RMD160 1a80bb31eaa0d1488594507acb022ca268dcc2ce qwt-5.0.2.tar.bz2 1666468
+SHA256 1e09af748c42f70771334db7bad04c3e39cf0f80fe4da993345c366575b2408d qwt-5.0.2.tar.bz2 1666468
diff --git a/x11-libs/qwt-qt3/metadata.xml b/x11-libs/qwt-qt3/metadata.xml
new file mode 100644
index 000000000000..057d8ff80f65
--- /dev/null
+++ b/x11-libs/qwt-qt3/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>sci</herd>
+<herd>qt</herd>
+</pkgmetadata>
diff --git a/x11-libs/qwt-qt3/qwt-qt3-5.0.2.ebuild b/x11-libs/qwt-qt3/qwt-qt3-5.0.2.ebuild
new file mode 100644
index 000000000000..8daea96400c2
--- /dev/null
+++ b/x11-libs/qwt-qt3/qwt-qt3-5.0.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt-qt3/qwt-qt3-5.0.2.ebuild,v 1.1 2007/06/21 18:16:51 caleb Exp $
+
+inherit multilib eutils
+
+MY_P=${P/-qt3/}
+
+SRC_URI="mirror://sourceforge/qwt/${MY_P}.tar.bz2"
+HOMEPAGE="http://qwt.sourceforge.net/"
+DESCRIPTION="2D plotting library for Qt4"
+LICENSE="qwt"
+KEYWORDS="~amd64 ~x86"
+SLOT="5"
+IUSE="doc"
+
+QWTVER="5.0.2"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="=x11-libs/qt-3*
+ >=sys-apps/sed-4"
+
+src_unpack () {
+ unpack ${A}
+
+ cd ${S}
+
+ sed -i -e "s:TARGET = qwt:TARGET = qwt-qt3:" src/src.pro
+ sed -i -e "s:-lqwt:-lqwt-qt3:" designer/designer.pro
+
+ qwtconfig=${S}/"qwtconfig.pri"
+ echo > ${qwtconfig} ""
+ echo >> ${qwtconfig} "target.path = /usr/$(get_libdir)"
+ echo >> ${qwtconfig} "headers.path = /usr/include/qwt-qt3"
+ echo >> ${qwtconfig} "doc.path = /usr/share/doc/${PF}"
+ echo >> ${qwtconfig}
+ echo >> ${qwtconfig} "CONFIG += qt warn_on thread"
+ echo >> ${qwtconfig} "CONFIG += release"
+ echo >> ${qwtconfig} "CONFIG += QwtDll QwtPlot QwtWidgets QwtDesigner"
+
+ # Can also do QwtExamples for example building
+
+ echo >> ${qwtconfig} "QMAKE_CFLAGS_RELEASE += ${CFLAGS}"
+ echo >> ${qwtconfig} "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}"
+
+ if ! useq doc; then
+ echo >> "${S}/src/src.pro" "INSTALLS = target headers"
+ fi
+
+}
+
+src_compile () {
+ # -j1 due to parallel build failures ( bug # 170625 )
+ /usr/qt/3/bin/qmake QMAKE=/usr/qt/3/bin/qmake qwt.pro
+ MAKEOPTS="$MAKEOPTS -j1" emake || die
+}
+
+src_install () {
+ make INSTALL_ROOT=${D} install
+ rm ${D}usr/$(get_libdir)/libqwt-qt3.so
+}