diff options
Diffstat (limited to 'x11-libs/bamf/bamf-0.3.6-r200.ebuild')
-rw-r--r-- | x11-libs/bamf/bamf-0.3.6-r200.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/x11-libs/bamf/bamf-0.3.6-r200.ebuild b/x11-libs/bamf/bamf-0.3.6-r200.ebuild new file mode 100644 index 0000000..3cef17d --- /dev/null +++ b/x11-libs/bamf/bamf-0.3.6-r200.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +VALA_USE_DEPEND=vapigen + +inherit autotools vala + +DESCRIPTION="BAMF Application Matching Framework" +HOMEPAGE="https://launchpad.net/bamf" +SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection" + +RDEPEND="dev-libs/dbus-glib + >=dev-libs/glib-2.30:2 + gnome-base/libgtop:2 + x11-libs/bamf:3 + x11-libs/libX11 + x11-libs/gtk+:2 + x11-libs/libwnck:1" +DEPEND="${RDEPEND} + $(vala_depend) + virtual/pkgconfig" + +src_prepare() { + sed -i -e "s:-Wall -Werror::" configure.in || die + sed -e "/src/d" \ + -e "/data/d" \ + -e "/tests\/bamfdaemon/d" \ + -e "s: doc: \$(NULL):" \ + -i Makefile.am || die + eautoreconf + + vala_src_prepare +} + +src_configure() { + VALA_API_GEN="${VAPIGEN}" \ + econf \ + --with-gtk=2 \ + --disable-gtk-doc-html \ + --disable-webapps \ + $(use_enable introspection) +} + +src_install() { + default + find "${ED}" -name "*.la" -exec rm {} + || die +} |