|
Lines 2-41
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/wxsvg/wxsvg-1.0_beta7.ebuild,v 1.6 2007/06/17 11:22:45 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/wxsvg/wxsvg-1.0_beta7.ebuild,v 1.6 2007/06/17 11:22:45 armin76 Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils wxwidgets |
5 |
inherit autotools wxwidgets |
| 6 |
|
6 |
|
| 7 |
MY_PV="${PV/_beta/b}" |
7 |
MY_PV="${PV/_beta/b}" |
| 8 |
|
8 |
|
| 9 |
DESCRIPTION="C++ library to create, manipulate and render SVG files." |
9 |
DESCRIPTION="C++ library to create, manipulate and render SVG files." |
| 10 |
HOMEPAGE="http://wxsvg.sourceforge.net/" |
10 |
HOMEPAGE="http://wxsvg.sourceforge.net/" |
| 11 |
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}_1.tar.gz" |
11 |
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" |
| 12 |
|
12 |
|
| 13 |
LICENSE="wxWinLL-3" |
13 |
LICENSE="wxWinLL-3" |
| 14 |
KEYWORDS="~amd64 ~ppc x86" |
14 |
KEYWORDS="~amd64 ~ppc x86" |
| 15 |
SLOT="0" |
15 |
SLOT="0" |
| 16 |
IUSE="" |
16 |
IUSE="" |
| 17 |
|
17 |
|
| 18 |
DEPEND="=x11-libs/wxGTK-2.6* |
18 |
RDEPEND="=x11-libs/wxGTK-2.8* |
| 19 |
>=dev-libs/glib-2.12 |
19 |
>=dev-libs/glib-2.12 |
| 20 |
>=dev-libs/libxml2-2.6.26 |
20 |
>=dev-libs/libxml2-2.6.26 |
| 21 |
>=media-libs/fontconfig-2.4 |
21 |
>=media-libs/fontconfig-2.4 |
| 22 |
>=media-libs/freetype-2.2.0 |
22 |
>=media-libs/freetype-2.2.0 |
| 23 |
>=media-libs/libart_lgpl-2.3.17 |
23 |
>=media-libs/libart_lgpl-2.3.17 |
| 24 |
>=x11-libs/pango-1.14.9 |
24 |
>=x11-libs/pango-1.14.9" |
|
|
25 |
DEPEND="${RDEPEND} |
| 25 |
dev-util/pkgconfig" |
26 |
dev-util/pkgconfig" |
| 26 |
|
27 |
|
| 27 |
S=${WORKDIR}/${PN}-${MY_PV} |
28 |
S="${WORKDIR}/${PN}-${MY_PV}" |
| 28 |
|
29 |
|
| 29 |
src_unpack() { |
30 |
src_unpack() { |
| 30 |
unpack ${A} |
31 |
unpack ${A} |
| 31 |
cd "${S}" |
32 |
cd "${S}" |
| 32 |
|
33 |
AT_M4DIR="${S}" eautoreconf |
| 33 |
epatch "${FILESDIR}"/${P}-freetype.patch |
|
|
| 34 |
} |
34 |
} |
| 35 |
|
35 |
|
| 36 |
src_compile() { |
36 |
src_compile() { |
| 37 |
export WX_GTK_VER="2.6" |
37 |
export WX_GTK_VER="2.8" |
| 38 |
need-wxwidgets gtk2 |
38 |
need-wxwidgets unicode |
| 39 |
myconf="${myconf} --with-wx-config=${WX_CONFIG}" |
39 |
myconf="${myconf} --with-wx-config=${WX_CONFIG}" |
| 40 |
|
40 |
|
| 41 |
econf ${myconf} || die "econf failed" |
41 |
econf ${myconf} || die "econf failed" |