From 6143b1ae5682f2160346671951b6d92a90a043a3 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 6 Mar 2011 09:10:55 +0000 Subject: Versio 6 slotted to 6 (Portage version: 2.2.0_alpha26/cvs/Linux x86_64) --- x11-libs/qwt/ChangeLog | 8 +++- x11-libs/qwt/qwt-6.0.0_rc5-r1.ebuild | 79 ++++++++++++++++++++++++++++++++++++ x11-libs/qwt/qwt-6.0.0_rc5.ebuild | 76 ---------------------------------- 3 files changed, 86 insertions(+), 77 deletions(-) create mode 100644 x11-libs/qwt/qwt-6.0.0_rc5-r1.ebuild delete mode 100644 x11-libs/qwt/qwt-6.0.0_rc5.ebuild (limited to 'x11-libs') diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog index c703b148432f..5fbd2144db8a 100644 --- a/x11-libs/qwt/ChangeLog +++ b/x11-libs/qwt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/qwt # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.82 2011/03/05 11:42:42 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.83 2011/03/06 09:10:55 jlec Exp $ + +*qwt-6.0.0_rc5-r1 (06 Mar 2011) + + 06 Mar 2011; Justin Lecher -qwt-6.0.0_rc5.ebuild, + +qwt-6.0.0_rc5-r1.ebuild: + Versio 6 slotted to 6 05 Mar 2011; Justin Lecher qwt-5.2.1.ebuild, qwt-6.0.0_rc5.ebuild: diff --git a/x11-libs/qwt/qwt-6.0.0_rc5-r1.ebuild b/x11-libs/qwt/qwt-6.0.0_rc5-r1.ebuild new file mode 100644 index 000000000000..03899ba1e533 --- /dev/null +++ b/x11-libs/qwt/qwt-6.0.0_rc5-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-6.0.0_rc5-r1.ebuild,v 1.1 2011/03/06 09:10:55 jlec Exp $ + +EAPI="3" + +inherit eutils qt4-r2 + +MY_P="${PN}-${PV/_/-}" + +DESCRIPTION="2D plotting library for Qt4" +HOMEPAGE="http://qwt.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}-beta/${PV/_/-}/${MY_P}.tar.bz2" + +LICENSE="qwt" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" +SLOT="6" +IUSE="doc examples svg" + +DEPEND=" + x11-libs/qt-gui:4 + doc? ( ! qwtconfig.pri <<-EOF + QWT_INSTALL_LIBS = "${EPREFIX}/usr/$(get_libdir)" + QWT_INSTALL_HEADERS = "${EPREFIX}/usr/include/qwt6" + QWT_INSTALL_DOCS = "${EPREFIX}/usr/share/doc/${PF}" + QWT_CONFIG += QwtDll QwtPlot QwtWidgets QwtDesigner + VERSION = ${PV/_*} + QWT_INSTALL_PLUGINS = "${EPREFIX}/usr/$(get_libdir)/qt4/plugins/designer6" + QWT_INSTALL_FEATURES = "${EPREFIX}/usr/$(get_libdir)/qt4/features6" + EOF + + cat > qwtbuild.pri <<-EOF + QWT_CONFIG += qt warn_on thread release no_keywords + EOF + + # don't build examples - fix the qt files to build once installed + cat > examples/examples.pri <<-EOF + include( qwtconfig.pri ) + TEMPLATE = app + MOC_DIR = moc + INCLUDEPATH += "${EPREFIX}/usr/include/qwt6" + DEPENDPATH += "${EPREFIX}/usr/include/qwt6" + LIBS += -lqwt + EOF + sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die + sed \ + -e 's/target doc/target/' \ + -e "/^TARGET/s:qwt:qwt6:g" \ + -i src/src.pro || die + use svg && echo >> qwtconfig.pri "CONFIG += QwtSvg" + cp *.pri examples/ || die +} + +src_compile() { + # split compilation to allow parallel building + emake sub-src || die "emake library failed" + emake || die "emake failed" +} + +src_install () { + qt4-r2_src_install + insinto /usr/share/doc/${PF} + if use doc; then + doman doc/man/*/* || die + doins -r doc/html || die + fi + if use examples; then + doins -r examples || die + fi +} diff --git a/x11-libs/qwt/qwt-6.0.0_rc5.ebuild b/x11-libs/qwt/qwt-6.0.0_rc5.ebuild deleted file mode 100644 index a248498f0673..000000000000 --- a/x11-libs/qwt/qwt-6.0.0_rc5.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-6.0.0_rc5.ebuild,v 1.2 2011/03/05 11:42:42 jlec Exp $ - -EAPI="3" - -inherit eutils qt4-r2 - -MY_P="${PN}-${PV/_/-}" - -DESCRIPTION="2D plotting library for Qt4" -HOMEPAGE="http://qwt.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/${PN}/${PN}-beta/${PV/_/-}/${MY_P}.tar.bz2" - -LICENSE="qwt" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" -SLOT="5" -IUSE="doc examples svg" - -DEPEND=" - x11-libs/qt-gui:4 - doc? ( ! qwtconfig.pri <<-EOF - QWT_INSTALL_LIBS = "${EPREFIX}/usr/$(get_libdir)" - QWT_INSTALL_HEADERS = "${EPREFIX}/usr/include/qwt5" - QWT_INSTALL_DOCS = "${EPREFIX}/usr/share/doc/${PF}" - QWT_CONFIG += QwtDll QwtPlot QwtWidgets QwtDesigner - VERSION = ${PV} - QWT_INSTALL_PLUGINS = "${EPREFIX}/usr/$(get_libdir)/qt4/plugins/designer" - QWT_INSTALL_FEATURES = "${EPREFIX}/usr/$(get_libdir)/qt4/features" - EOF - - cat > qwtbuild.pri <<-EOF - QWT_CONFIG += qt warn_on thread release no_keywords - EOF - - # don't build examples - fix the qt files to build once installed - cat > examples/examples.pri <<-EOF - include( qwtconfig.pri ) - TEMPLATE = app - MOC_DIR = moc - INCLUDEPATH += "${EPREFIX}/usr/include/qwt5" - DEPENDPATH += "${EPREFIX}/usr/include/qwt5" - LIBS += -lqwt - EOF - sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die - sed -i -e 's/target doc/target/' src/src.pro || die - use svg && echo >> qwtconfig.pri "CONFIG += QwtSvg" - cp *.pri examples/ || die -} - -src_compile() { - # split compilation to allow parallel building - emake sub-src || die "emake library failed" - emake || die "emake failed" -} - -src_install () { - qt4-r2_src_install - insinto /usr/share/doc/${PF} - if use doc; then - doman doc/man/*/* || die - doins -r doc/html || die - fi - if use examples; then - doins -r examples || die - fi -} -- cgit v1.2.3-65-gdbad