diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-11-14 18:57:42 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-11-14 18:57:42 +0000 |
commit | 1b065516fc6c1d2f5ba706d26850a88f93f1b122 (patch) | |
tree | 2ff23ca15978ab82db8b29cec03db3c7aef608f2 /x11-libs/qwt | |
parent | revbump. don't regenerate .c files from .pyx when pyrex is found, upstream sh... (diff) | |
download | gentoo-2-1b065516fc6c1d2f5ba706d26850a88f93f1b122.tar.gz gentoo-2-1b065516fc6c1d2f5ba706d26850a88f93f1b122.tar.bz2 gentoo-2-1b065516fc6c1d2f5ba706d26850a88f93f1b122.zip |
bump, don't install /usr/lib{64}/libqwt.so, because it conflicts with slotted version 5 ebuild
(Portage version: 2.1.3.16)
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r-- | x11-libs/qwt/ChangeLog | 8 | ||||
-rw-r--r-- | x11-libs/qwt/files/digest-qwt-4.2.0-r3 | 3 | ||||
-rw-r--r-- | x11-libs/qwt/qwt-4.2.0-r3.ebuild | 67 |
3 files changed, 77 insertions, 1 deletions
diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog index 512f869ff3d3..d3ae86e4cdf6 100644 --- a/x11-libs/qwt/ChangeLog +++ b/x11-libs/qwt/ChangeLog @@ -1,6 +1,12 @@ # 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.51 2007/11/14 13:07:10 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.52 2007/11/14 18:57:41 caleb Exp $ + +*qwt-4.2.0-r3 (14 Nov 2007) + + 14 Nov 2007; Caleb Tennis <caleb@gentoo.org> +qwt-4.2.0-r3.ebuild: + bump, don't install /usr/lib{64}/libqwt.so, because it conflicts with + slotted version 5 ebuild 14 Nov 2007; Caleb Tennis <caleb@gentoo.org> -qwt-5.0.0_rc1.ebuild, -qwt-5.0.1.ebuild, -qwt-5.0.2.ebuild: diff --git a/x11-libs/qwt/files/digest-qwt-4.2.0-r3 b/x11-libs/qwt/files/digest-qwt-4.2.0-r3 new file mode 100644 index 000000000000..5fc0162890ef --- /dev/null +++ b/x11-libs/qwt/files/digest-qwt-4.2.0-r3 @@ -0,0 +1,3 @@ +MD5 9c828c9a39a83df5d7fa9630ddf812a4 qwt-4.2.0.tar.bz2 973643 +RMD160 3d0f9ff5201008f3c5f3dc28d5801a3f2b0f30b4 qwt-4.2.0.tar.bz2 973643 +SHA256 726d91ae6bc70049590f9e8e16d5f77f9dc1a7dde18950796703f9c0be9a5a6d qwt-4.2.0.tar.bz2 973643 diff --git a/x11-libs/qwt/qwt-4.2.0-r3.ebuild b/x11-libs/qwt/qwt-4.2.0-r3.ebuild new file mode 100644 index 000000000000..955e73b2e6c2 --- /dev/null +++ b/x11-libs/qwt/qwt-4.2.0-r3.ebuild @@ -0,0 +1,67 @@ +# 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-4.2.0-r3.ebuild,v 1.1 2007/11/14 18:57:41 caleb Exp $ + +inherit multilib qt3 + +SRC_URI="mirror://sourceforge/qwt/${P}.tar.bz2" +HOMEPAGE="http://qwt.sourceforge.net/" +DESCRIPTION="2D plotting library for Qt" +LICENSE="qwt" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="doc examples" + +DEPEND="$(qt_min_version 3)" + +src_compile () { + # Remove hardcoded -fno-exceptions from CXXFLAGS + find . -type f -name "*.pro" | while read file; do + sed -i -e 's/-fno-exceptions//g' ${file} \ + || die "sed failed" + done + + # Set include path for bundled examples + find examples -type f -name "*.pro" | while read file; do + echo >> ${file} "INCLUDEPATH += /usr/include/qwt" + done + + eqmake3 + emake || die "emake failed" + + cd designer + eqmake3 qwtplugin.pro + emake || die "emake designer failed" +} + +src_install () { + local QWTVER="${PV}" + + # Library and symlinks + dolib.so lib/libqwt.so.${QWTVER} \ + || die "dolib libqwt.so.${QWTVER} failed" + dosym libqwt.so.${QWTVER} /usr/$(get_libdir)/libqwt.so.${QWTVER%%.*} + dosym libqwt.so.${QWTVER} /usr/$(get_libdir)/libqwt.so.${QWTVER%.*} + + # Header files + dodir /usr/include/qwt + insinto /usr/include/qwt + doins include/* || die "headers installation failed" + + # Designer plugin + insinto "${QTDIR}"/plugins/designer + insopts -m0755 + doins designer/plugins/designer/libqwtplugin.so \ + || die "designer plugin installation failed" + + dodoc CHANGES README + + if use doc; then + doman doc/man/man3/* || die "doman failed" + dohtml doc/html/* || die "dohtml failed" + fi + + if use examples; then + cp -pPR examples "${D}"/usr/share/doc/${PF}/ + fi +} |