blob: 57b1e7092b592437ed0749295ea512da9bd99fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/zphoto/zphoto-1.2-r1.ebuild,v 1.6 2007/04/23 02:03:49 dirtyepic Exp $
inherit wxwidgets
IUSE="wxwindows"
DESCRIPTION="A zooming photo album generator in Flash"
SRC_URI="http://namazu.org/~satoru/zphoto/${P}.tar.gz"
HOMEPAGE="http://namazu.org/~satoru/zphoto/"
SLOT="0"
KEYWORDS="x86"
LICENSE="LGPL-2.1"
DEPEND=">=media-libs/ming-0.2a
|| ( >=media-libs/imlib2-1.1.0 >=media-gfx/imagemagick-5.5.7 )
app-arch/zip
>=dev-libs/popt-1.6.3
wxwindows? ( =x11-libs/wxGTK-2.6* )"
src_compile() {
local myconf="--disable-avifile"
if use wxwindows ; then
WX_GTK_VER="2.6"
need-wxwidgets gtk2
myconf="--with-wx-config=${WX_CONFIG}"
sed -i -e 's@FALSE@false@g' wxzphoto.cpp || die
else
myconf="--disable-wx"
fi
econf ${myconf} || die
emake || die
}
src_install() {
einstall || die
dodoc AUTHORS ChangeLog INSTALL NEWS README
}
|