Lines 2-7
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-gfx/zphoto/zphoto-1.2-r2.ebuild,v 1.3 2006/11/16 17:23:58 ticho Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/zphoto/zphoto-1.2-r2.ebuild,v 1.3 2006/11/16 17:23:58 ticho Exp $ |
4 |
|
4 |
|
|
|
5 |
WX_GTK_VER="2.6" |
6 |
|
7 |
inherit wxwidgets |
8 |
|
5 |
IUSE="wxwindows" |
9 |
IUSE="wxwindows" |
6 |
|
10 |
|
7 |
DESCRIPTION="A zooming photo album generator in Flash" |
11 |
DESCRIPTION="A zooming photo album generator in Flash" |
Lines 16-38
Link Here
|
16 |
|| ( >=media-libs/imlib2-1.1.0 >=media-gfx/imagemagick-5.5.7 ) |
20 |
|| ( >=media-libs/imlib2-1.1.0 >=media-gfx/imagemagick-5.5.7 ) |
17 |
app-arch/zip |
21 |
app-arch/zip |
18 |
>=dev-libs/popt-1.6.3 |
22 |
>=dev-libs/popt-1.6.3 |
19 |
wxwindows? ( >=x11-libs/wxGTK-2.4.2-r2 )" |
23 |
wxwindows? ( =x11-libs/wxGTK-2.6* )" |
20 |
|
24 |
|
21 |
src_compile() { |
25 |
src_compile() { |
22 |
|
26 |
|
23 |
local myconf="--disable-avifile" |
27 |
local myconf="--disable-avifile" |
24 |
|
28 |
|
25 |
if use wxwindows ; then |
29 |
if use wxwindows ; then |
26 |
if has_version '>=x11-libs/wxGTK-2.6' ; then |
30 |
need-wxwidgets gtk2 |
27 |
wx_config="/usr/bin/wx-config-2.6" |
31 |
sed -i -e 's@\($WXCONFIG --cflags\)@\1 --unicode=no@' \ |
28 |
sed -i -e 's@\($WXCONFIG --cflags\)@\1 --unicode=no@' \ |
32 |
-e 's@\($WXCONFIG --libs\)@\1 --unicode=no@' \ |
29 |
-e 's@\($WXCONFIG --libs\)@\1 --unicode=no@' \ |
33 |
configure || die |
30 |
configure || die |
34 |
|
31 |
sed -i -e 's@FALSE@false@g' wxzphoto.cpp || die |
35 |
sed -i -e 's@FALSE@false@g' wxzphoto.cpp || die |
32 |
else |
|
|
33 |
wx_config="/usr/bin/wxgtk2-2.4-config" |
34 |
fi |
35 |
myconf="--with-wx-config=$wx_config" |
36 |
else |
36 |
else |
37 |
myconf="--disable-wx" |
37 |
myconf="--disable-wx" |
38 |
fi |
38 |
fi |