1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools eutils versionator
9 DESCRIPTION="GTK+ based GUI for xneur"
10 HOMEPAGE="http://www.xneur.ru/"
11 SRC_URI="http://dists.xneur.ru/release-${PV}/tgz/${P}.tar.bz2"
15 KEYWORDS="~amd64 ~x86"
18 COMMON_DEPEND="gnome-base/libglade:2.0
20 >=sys-devel/gettext-0.16.1
21 >=x11-libs/gtk+-2.18:2
22 >=x11-misc/xneur-$(get_version_component_range 1-2)"
23 RDEPEND="${COMMON_DEPEND}
24 nls? ( virtual/libintl )"
25 DEPEND="${COMMON_DEPEND}
26 nls? ( sys-devel/gettext )
30 rm -f m4/{lt~obsolete,ltoptions,ltsugar,ltversion,libtool}.m4 \
31 ltmain.sh aclocal.m4 || die
32 sed -i "s/-Werror -g0//" configure.in || die
37 econf $(use_enable nls)
41 emake DESTDIR="${D}" install
42 dodoc AUTHORS ChangeLog NEWS
43 doicon pixmaps/gxneur.png