summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-09-19 11:49:50 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-09-19 11:49:50 +0000
commita8e1b0e75dfbaf217dc74fa8779a0e55ab2b44a0 (patch)
tree15a46192f090041b2eccb3960fcd66b8cadd3eed /x11-libs
parentAdded missing metadata. (diff)
downloadgentoo-2-a8e1b0e75dfbaf217dc74fa8779a0e55ab2b44a0.tar.gz
gentoo-2-a8e1b0e75dfbaf217dc74fa8779a0e55ab2b44a0.tar.bz2
gentoo-2-a8e1b0e75dfbaf217dc74fa8779a0e55ab2b44a0.zip
bump to new rc
(Portage version: 2.1.1_rc1-r5)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qwt/ChangeLog7
-rw-r--r--x11-libs/qwt/files/digest-qwt-5.0.0_rc03
-rw-r--r--x11-libs/qwt/qwt-5.0.0_rc0.ebuild58
3 files changed, 67 insertions, 1 deletions
diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog
index f5842abe7097..d43e00f1e1d2 100644
--- a/x11-libs/qwt/ChangeLog
+++ b/x11-libs/qwt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/qwt
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.33 2006/07/21 17:55:57 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.34 2006/09/19 11:49:50 caleb Exp $
+
+*qwt-5.0.0_rc0 (19 Sep 2006)
+
+ 19 Sep 2006; Caleb Tennis <caleb@gentoo.org> +qwt-5.0.0_rc0.ebuild:
+ bump to new rc
21 Jul 2006; Caleb Tennis <caleb@gentoo.org>
+files/qwt-20060130-buildfix.patch, qwt-5_pre20060130.ebuild:
diff --git a/x11-libs/qwt/files/digest-qwt-5.0.0_rc0 b/x11-libs/qwt/files/digest-qwt-5.0.0_rc0
new file mode 100644
index 000000000000..1ee2547b5668
--- /dev/null
+++ b/x11-libs/qwt/files/digest-qwt-5.0.0_rc0
@@ -0,0 +1,3 @@
+MD5 86931308138503f8a74551391f9c3353 qwt-5.0.0rc0.tar.bz2 1446915
+RMD160 d3c9bd0a93a568995636798406039ba393ba9c50 qwt-5.0.0rc0.tar.bz2 1446915
+SHA256 e1eb67ceefe27f3fdcc53d55fc4c6416a4a3e123e20beef02dd4280dea6c0ff5 qwt-5.0.0rc0.tar.bz2 1446915
diff --git a/x11-libs/qwt/qwt-5.0.0_rc0.ebuild b/x11-libs/qwt/qwt-5.0.0_rc0.ebuild
new file mode 100644
index 000000000000..7daf444fece2
--- /dev/null
+++ b/x11-libs/qwt/qwt-5.0.0_rc0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-5.0.0_rc0.ebuild,v 1.1 2006/09/19 11:49:50 caleb Exp $
+
+inherit multilib eutils
+
+MY_PV="${PV/_/}"
+
+SRC_URI="mirror://sourceforge/qwt/${PN}-${MY_PV}.tar.bz2"
+HOMEPAGE="http://qwt.sourceforge.net/"
+DESCRIPTION="2D plotting library for Qt4"
+LICENSE="qwt"
+KEYWORDS="~ppc64 ~x86"
+SLOT="5"
+IUSE="doc"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+QWTVER="5.0.0"
+
+DEPEND="=x11-libs/qt-4*
+ >=sys-apps/sed-4"
+
+src_unpack () {
+ unpack ${A}
+# epatch ${FILESDIR}/qwt-20060130-buildfix.patch
+ cd ${S}
+ find . -type f -name "*.pro" | while read file; do
+ sed -e 's/.*no-exceptions.*//g' -i ${file}
+ echo >> ${file} "QMAKE_CFLAGS_RELEASE += ${CFLAGS}"
+ echo >> ${file} "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}"
+ done
+ find examples -type f -name "*.pro" | while read file; do
+ echo >> ${file} "INCLUDEPATH += /usr/include/qwt"
+ done
+}
+
+src_compile () {
+ /usr/bin/qmake qwt.pro
+ emake || die
+
+ cd designer
+ /usr/bin/qmake qwtplugin.pro
+ emake || die
+}
+
+src_install () {
+ ls -l lib
+ dolib lib/libqwt.so.${QWTVER}
+ dosym libqwt.so.${QWTVER} /usr/$(get_libdir)/libqwt.so
+ dosym libqwt.so.${QWTVER} /usr/$(get_libdir)/libqwt.so.${QWTVER/.*/}
+ use doc && (dodir /usr/share/doc/${PF}
+ cp -pPR examples ${D}/usr/share/doc/${PF}/
+ dohtml doc/html/*)
+ mkdir -p ${D}/usr/include/qwt5/
+ install include/* ${D}/usr/include/qwt5/
+ insinto /usr/$(get_libdir)/qt4/plugins/designer
+ doins designer/plugins/designer/libqwt_designer_plugin.so
+}