1 |
jlec 10/04/30 19:31:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qwt-5.2.1.ebuild |
5 |
Log: |
6 |
Version Bump #317171 |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.76 x11-libs/qwt/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qwt/ChangeLog?rev=1.76&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qwt/ChangeLog?rev=1.76&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qwt/ChangeLog?r1=1.75&r2=1.76 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v |
19 |
retrieving revision 1.75 |
20 |
retrieving revision 1.76 |
21 |
diff -u -r1.75 -r1.76 |
22 |
--- ChangeLog 20 Feb 2010 17:28:09 -0000 1.75 |
23 |
+++ ChangeLog 30 Apr 2010 19:31:05 -0000 1.76 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for x11-libs/qwt |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.75 2010/02/20 17:28:09 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.76 2010/04/30 19:31:05 jlec Exp $ |
29 |
+ |
30 |
+*qwt-5.2.1 (30 Apr 2010) |
31 |
+ |
32 |
+ 30 Apr 2010; Justin Lecher <jlec@g.o> +qwt-5.2.1.ebuild: |
33 |
+ Version Bump #317171 |
34 |
|
35 |
20 Feb 2010; Raúl Porcel <armin76@g.o> qwt-5.2.0.ebuild: |
36 |
Add ~alpha wrt #303677 |
37 |
|
38 |
|
39 |
|
40 |
1.1 x11-libs/qwt/qwt-5.2.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qwt/qwt-5.2.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qwt/qwt-5.2.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: qwt-5.2.1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2010 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-5.2.1.ebuild,v 1.1 2010/04/30 19:31:05 jlec Exp $ |
50 |
|
51 |
EAPI="3" |
52 |
inherit eutils qt4 |
53 |
|
54 |
DESCRIPTION="2D plotting library for Qt4" |
55 |
HOMEPAGE="http://qwt.sourceforge.net/" |
56 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
57 |
|
58 |
LICENSE="qwt" |
59 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
60 |
SLOT="5" |
61 |
IUSE="doc examples svg" |
62 |
|
63 |
DEPEND="x11-libs/qt-gui:4 |
64 |
svg? ( x11-libs/qt-svg:4 )" |
65 |
RDEPEND="${DEPEND}" |
66 |
|
67 |
src_prepare() { |
68 |
cat > qwtconfig.pri <<-EOF |
69 |
target.path = "${EPREFIX}"/usr/$(get_libdir) |
70 |
headers.path = "${EPREFIX}"/usr/include/qwt5 |
71 |
doc.path = "${EPREFIX}"/usr/share/doc/${PF} |
72 |
CONFIG += qt warn_on thread release |
73 |
CONFIG += QwtDll QwtPlot QwtWidgets QwtDesigner |
74 |
VERSION = ${PV} |
75 |
EOF |
76 |
# don't build examples - fix the qt files to build once installed |
77 |
cat > examples/examples.pri <<-EOF |
78 |
include( qwtconfig.pri ) |
79 |
TEMPLATE = app |
80 |
MOC_DIR = moc |
81 |
INCLUDEPATH += "${EPREFIX}"/usr/include/qwt5 |
82 |
DEPENDPATH += "${EPREFIX}"/usr/include/qwt5 |
83 |
LIBS += -lqwt |
84 |
EOF |
85 |
sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die |
86 |
sed -i -e 's/headers doc/headers/' src/src.pro || die |
87 |
qt4_src_prepare |
88 |
} |
89 |
|
90 |
src_configure() { |
91 |
use svg && echo >> qwtconfig.pri "CONFIG += QwtSVGItem" |
92 |
cp qwtconfig.pri examples/qwtconfig.pri |
93 |
eqmake4 |
94 |
} |
95 |
src_compile() { |
96 |
# split compilation to allow parallel building |
97 |
emake sub-src || die "emake library failed" |
98 |
emake || die "emake failed" |
99 |
} |
100 |
|
101 |
src_install () { |
102 |
emake INSTALL_ROOT="${D}" install || die "emake install failed" |
103 |
dodoc CHANGES README |
104 |
insinto /usr/share/doc/${PF} |
105 |
if use doc; then |
106 |
doman doc/man/*/* || die |
107 |
doins -r doc/html || die |
108 |
fi |
109 |
if use examples; then |
110 |
doins -r examples || die |
111 |
fi |
112 |
} |