1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils wxwidgets autotools
7 MY_P=XaraLX-${PV/_pre/r}
9 DESCRIPTION="Xara LX is a commercial vector graphics platform, recently made
10 available on Gentoo as a free OpenSource port."
11 HOMEPAGE="http://www.xaraxtreme.org"
12 SRC_URI="http://downloads2.xara.com/opensource/${MY_P}.tar.bz2"
19 RDEPEND="x11-libs/gtk+
20 >=x11-libs/wxGTK-2.6.3
22 >=media-libs/libpng-1.2.8
26 >=dev-libs/libxml2-2.6.0"
29 >=sys-devel/gettext-0.14.3"
34 export WX_GTK_VER="2.6"
35 need-wxwidgets unicode
46 econf --with-wx-config=${WX_CONFIG} --with-wx-base-config=${WX_CONFIG} \
49 emake || die "emake failed"
53 # For now installs just the bin
54 emake DESTDIR="${D}" install || die "emake install failed"
59 # Fix and install desktop file
60 sed -i -e "s#c=xaralx#c=XaraLX#g" ${PN}.desktop