summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-06-19 18:36:54 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-06-19 18:36:54 +0000
commit9c1ad35b350676727bbcbc822e2c5daee2fcd7fa (patch)
treed228e6cbc33d40f7c5b06cefb03f5cdd60a22eb3 /x11-libs/qwt
parentStable on amd64/x86 wrt bug #181059. (diff)
downloadgentoo-2-9c1ad35b350676727bbcbc822e2c5daee2fcd7fa.tar.gz
gentoo-2-9c1ad35b350676727bbcbc822e2c5daee2fcd7fa.tar.bz2
gentoo-2-9c1ad35b350676727bbcbc822e2c5daee2fcd7fa.zip
version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r--x11-libs/qwt/ChangeLog7
-rw-r--r--x11-libs/qwt/files/digest-qwt-5.0.23
-rw-r--r--x11-libs/qwt/qwt-5.0.2.ebuild61
3 files changed, 70 insertions, 1 deletions
diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog
index 90ba7d29ddfd..79a842e8d901 100644
--- a/x11-libs/qwt/ChangeLog
+++ b/x11-libs/qwt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/qwt
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.43 2007/05/16 15:22:31 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.44 2007/06/19 18:36:54 caleb Exp $
+
+*qwt-5.0.2 (19 Jun 2007)
+
+ 19 Jun 2007; Caleb Tennis <caleb@gentoo.org> +qwt-5.0.2.ebuild:
+ version bump
16 May 2007; Markus Rothe <corsair@gentoo.org> qwt-5.0.0_rc1.ebuild,
qwt-5.0.1.ebuild:
diff --git a/x11-libs/qwt/files/digest-qwt-5.0.2 b/x11-libs/qwt/files/digest-qwt-5.0.2
new file mode 100644
index 000000000000..69d00e719e93
--- /dev/null
+++ b/x11-libs/qwt/files/digest-qwt-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/qwt-5.0.2.ebuild b/x11-libs/qwt/qwt-5.0.2.ebuild
new file mode 100644
index 000000000000..b65479a50265
--- /dev/null
+++ b/x11-libs/qwt/qwt-5.0.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-5.0.2.ebuild,v 1.1 2007/06/19 18:36:54 caleb Exp $
+
+inherit multilib eutils
+
+SRC_URI="mirror://sourceforge/qwt/${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"
+
+DEPEND="=x11-libs/qt-4*
+ >=sys-apps/sed-4"
+
+src_unpack () {
+ unpack ${A}
+
+ cd ${S}
+
+ qwtconfig=${S}/"qwtconfig.pri"
+ echo > ${qwtconfig} ""
+ echo >> ${qwtconfig} "target.path = /usr/$(get_libdir)"
+ echo >> ${qwtconfig} "headers.path = /usr/include/qwt5"
+ 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}"
+
+ # They got the version wrong
+ sed -e "s/5.0.0/5.0.1/g" -i "${S}/src/src.pro"
+
+ if ! useq doc; then
+ echo >> "${S}/src/src.pro" "INSTALLS = target headers"
+ fi
+
+}
+
+src_compile () {
+ # -j1 due to parallel build failures ( bug # 170625 )
+ /usr/bin/qmake qwt.pro
+ MAKEOPTS="$MAKEOPTS -j1" emake || die
+
+ cd designer
+ /usr/bin/qmake qwtplugin.pro
+ MAKEOPTS="$MAKETOPS -j1" emake || die
+}
+
+src_install () {
+ make INSTALL_ROOT=${D} install
+}