1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 13:52:40 +01:00

- Add x11-misc/plank & 11-libs/bamf (dependency)

This commit is contained in:
2016-03-29 22:21:32 +02:00
parent 57568ac001
commit 8bcfef40e8
4 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
VALA_MIN_API_VERSION=0.20
VALA_USE_DEPEND=vapigen
inherit vala autotools-utils python-r1
DESCRIPTION="BAMF Application Matching Framework"
HOMEPAGE="https://launchpad.net/bamf"
SRC_URI="http://launchpad.net/${PN}/0.5/${PV}/+download/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+introspection doc static-libs"
RDEPEND="
dev-libs/dbus-glib
dev-util/gdbus-codegen
dev-libs/glib:2
gnome-base/libgtop:2
x11-libs/gtk+:3
x11-libs/libX11
>=x11-libs/libwnck-3.4.7:3"
DEPEND="${RDEPEND}
$(vala_depend)
${PYTHON_DEPS}
dev-libs/libxml2[python]
dev-libs/libxslt[python]
doc? ( dev-util/gtk-doc )
introspection? ( dev-libs/gobject-introspection )
virtual/pkgconfig"
DOCS=(AUTHORS COPYING COPYING.LGPL ChangeLog NEWS README TODO)
src_prepare() {
sed -i 's/-Werror//' configure
autotools-utils_src_prepare
vala_src_prepare
}
src_configure() {
local myeconfargs=(
--disable-gtktest
--disable-webapps
$(use_enable doc gtk-doc)
$(use_enable introspection)
VALA_API_GEN="${VAPIGEN}"
)
python_setup
autotools-utils_src_configure
}