1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 20:22:38 +01:00

x11-libs/bamf: depends on dev-util/gtk-doc, fix automake issue

This commit is contained in:
2021-07-25 12:34:41 +02:00
parent 22c9f5068d
commit 66496c62e6
2 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,53 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VALA_MIN_API_VERSION=0.20
VALA_USE_DEPEND=vapigen
inherit vala autotools
DESCRIPTION="BAMF Application Matching Framework"
HOMEPAGE="https://launchpad.net/bamf"
SRC_URI="http://launchpad.net/${PN}/0.5/${PV}/+download/${P}.tar.xz"
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.38.0:2
gnome-base/libgtop:2
x11-libs/gtk+:3
x11-libs/libX11
>=x11-libs/libwnck-3.4.7:3"
DEPEND="${RDEPEND}
$(vala_depend)
dev-libs/libxml2
dev-libs/libxslt
introspection? ( dev-libs/gobject-introspection )"
BDEPEND="virtual/pkgconfig
dev-util/gtk-doc"
DOCS=(AUTHORS COPYING COPYING.LGPL ChangeLog NEWS README TODO)
PATCHES=(
"${FILESDIR}/${PN}-0.5.4-fix-deprecated-g-type-class-add-private.patch"
)
src_prepare() {
if use introspection; then
vala_src_prepare
export VALA_API_GEN="${VAPIGEN}"
fi
default
eautoreconf
}
src_configure() {
econf $(use_enable introspection )
}