1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils autotools 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 RDEPEND=">=x11-misc/xneur-$(get_version_component_range 1-2)
20 >=sys-devel/gettext-0.16.1
21 >=gnome-base/libglade-2.6.0"
23 >=dev-util/pkgconfig-0.20"
26 rm ltmain.sh aclocal.m4 m4/{lt~obsolete,ltoptions,ltsugar,ltversion,libtool}.m4
27 sed -i "s/-Werror -g0//" configure.in || die
32 econf $(use_enable nls)
36 emake install DESTDIR="${D}" || die
37 dodoc AUTHORS ChangeLog NEWS || die
38 doicon pixmaps/gxneur.png
39 make_desktop_entry "${PN}" "${PN}" ${PN} "GTK;Gnome;Utility;TrayIcon"