summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-03-05 11:42:42 +0000
committerJustin Lecher <jlec@gentoo.org>2011-03-05 11:42:42 +0000
commitf7dbb4ed5b77de37ac96698e42c8c4d34ec3100f (patch)
tree8ef7fcf17dd4ea92c4a2cdbd8b9f190d09a57dd7 /x11-libs
parentVersion Bump (diff)
downloadgentoo-2-f7dbb4ed5b77de37ac96698e42c8c4d34ec3100f.tar.gz
gentoo-2-f7dbb4ed5b77de37ac96698e42c8c4d34ec3100f.tar.bz2
gentoo-2-f7dbb4ed5b77de37ac96698e42c8c4d34ec3100f.zip
Moved from qt4 -> qt4-r2 eclass
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qwt/ChangeLog6
-rw-r--r--x11-libs/qwt/qwt-5.2.1.ebuild16
-rw-r--r--x11-libs/qwt/qwt-6.0.0_rc5.ebuild17
3 files changed, 19 insertions, 20 deletions
diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog
index 8ee127ca096b..c703b148432f 100644
--- a/x11-libs/qwt/ChangeLog
+++ b/x11-libs/qwt/ChangeLog
@@ -1,6 +1,10 @@
# 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.81 2011/03/05 11:34:43 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.82 2011/03/05 11:42:42 jlec Exp $
+
+ 05 Mar 2011; Justin Lecher <jlec@gentoo.org> qwt-5.2.1.ebuild,
+ qwt-6.0.0_rc5.ebuild:
+ Moved from qt4 -> qt4-r2 eclass
*qwt-6.0.0_rc5 (05 Mar 2011)
diff --git a/x11-libs/qwt/qwt-5.2.1.ebuild b/x11-libs/qwt/qwt-5.2.1.ebuild
index c00e1017bf5a..e0a4d1f11005 100644
--- a/x11-libs/qwt/qwt-5.2.1.ebuild
+++ b/x11-libs/qwt/qwt-5.2.1.ebuild
@@ -1,9 +1,10 @@
# 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-5.2.1.ebuild,v 1.5 2011/03/05 11:34:43 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-5.2.1.ebuild,v 1.6 2011/03/05 11:42:42 jlec Exp $
EAPI="3"
-inherit eutils qt4
+
+inherit eutils qt4-r2
DESCRIPTION="2D plotting library for Qt4"
HOMEPAGE="http://qwt.sourceforge.net/"
@@ -20,6 +21,8 @@ DEPEND="
svg? ( x11-libs/qt-svg:4 )"
RDEPEND="${DEPEND}"
+DOCS="CHANGES README"
+
src_prepare() {
cat > qwtconfig.pri <<-EOF
target.path = "${EPREFIX}/usr/$(get_libdir)"
@@ -40,14 +43,10 @@ src_prepare() {
EOF
sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die
sed -i -e 's/headers doc/headers/' src/src.pro || die
- qt4_src_prepare
-}
-
-src_configure() {
use svg && echo >> qwtconfig.pri "CONFIG += QwtSVGItem"
cp qwtconfig.pri examples/qwtconfig.pri
- eqmake4
}
+
src_compile() {
# split compilation to allow parallel building
emake sub-src || die "emake library failed"
@@ -55,8 +54,7 @@ src_compile() {
}
src_install () {
- emake INSTALL_ROOT="${D}" install || die "emake install failed"
- dodoc CHANGES README
+ qt4-r2_src_install
insinto /usr/share/doc/${PF}
if use doc; then
doman doc/man/*/* || die
diff --git a/x11-libs/qwt/qwt-6.0.0_rc5.ebuild b/x11-libs/qwt/qwt-6.0.0_rc5.ebuild
index 93bb9d818113..a248498f0673 100644
--- a/x11-libs/qwt/qwt-6.0.0_rc5.ebuild
+++ b/x11-libs/qwt/qwt-6.0.0_rc5.ebuild
@@ -1,9 +1,10 @@
# 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.1 2011/03/05 11:34:43 jlec Exp $
+# $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
+
+inherit eutils qt4-r2
MY_P="${PN}-${PV/_/-}"
@@ -24,6 +25,8 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}"/${MY_P}
+DOCS="CHANGES README"
+
src_prepare() {
cat > qwtconfig.pri <<-EOF
QWT_INSTALL_LIBS = "${EPREFIX}/usr/$(get_libdir)"
@@ -39,7 +42,6 @@ src_prepare() {
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 )
@@ -51,14 +53,10 @@ src_prepare() {
EOF
sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die
sed -i -e 's/target doc/target/' src/src.pro || die
- qt4_src_prepare
-}
-
-src_configure() {
use svg && echo >> qwtconfig.pri "CONFIG += QwtSvg"
cp *.pri examples/ || die
- eqmake4
}
+
src_compile() {
# split compilation to allow parallel building
emake sub-src || die "emake library failed"
@@ -66,8 +64,7 @@ src_compile() {
}
src_install () {
- emake INSTALL_ROOT="${D}" install || die "emake install failed"
- dodoc CHANGES README
+ qt4-r2_src_install
insinto /usr/share/doc/${PF}
if use doc; then
doman doc/man/*/* || die