summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-06-21 18:16:51 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-06-21 18:16:51 +0000
commitaf5e62ac1e770927410af97b56a994ab9b56bcc7 (patch)
tree4d59b05c18fdc21276816f4892bb47ffed65b248 /x11-libs/qwt-qt3
parentMove app-emacs/ebuild-mode to app-emacs/gentoo-syntax and version bump. (diff)
downloadhistorical-af5e62ac1e770927410af97b56a994ab9b56bcc7.tar.gz
historical-af5e62ac1e770927410af97b56a994ab9b56bcc7.tar.bz2
historical-af5e62ac1e770927410af97b56a994ab9b56bcc7.zip
Initial import, based off of x11-libs/qwt, but built against qt3
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'x11-libs/qwt-qt3')
-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..a3ee76c1e866
--- /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 1642 RMD160 592ab39e027020422d8d7bb5cba6b814094e69ff SHA1 10013a2e75395d5cd4123a94768dc02ef81ace49 SHA256 11fc6e1bda992ab76f7cf212f1d8219b5e23367ae23c69ce83e9b2db9e9c2919
+MD5 80994e35b95de23cc830cf35d98bfa8e qwt-qt3-5.0.2.ebuild 1642
+RMD160 592ab39e027020422d8d7bb5cba6b814094e69ff qwt-qt3-5.0.2.ebuild 1642
+SHA256 11fc6e1bda992ab76f7cf212f1d8219b5e23367ae23c69ce83e9b2db9e9c2919 qwt-qt3-5.0.2.ebuild 1642
+MISC ChangeLog 389 RMD160 1888a68aecab8e1a268815ca3c4befbb2d4eae7d SHA1 ce2435e882a7173dcc70289d825f79dcd479d07b SHA256 dffc16cd4ac2b564cc8b4df3fba5b3420d8962dc39e790ef317ef7d0bc68f5e0
+MD5 7fef02c5abdd25923218ba79295e98b7 ChangeLog 389
+RMD160 1888a68aecab8e1a268815ca3c4befbb2d4eae7d ChangeLog 389
+SHA256 dffc16cd4ac2b564cc8b4df3fba5b3420d8962dc39e790ef317ef7d0bc68f5e0 ChangeLog 389
+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
+}