diff options
Diffstat (limited to 'dev-libs/libindicate/libindicate-12.10.1-r4.ebuild')
-rw-r--r-- | dev-libs/libindicate/libindicate-12.10.1-r4.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/libindicate/libindicate-12.10.1-r4.ebuild b/dev-libs/libindicate/libindicate-12.10.1-r4.ebuild new file mode 100644 index 000000000000..2124b53457b2 --- /dev/null +++ b/dev-libs/libindicate/libindicate-12.10.1-r4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VALA_USE_DEPEND="vapigen" + +inherit autotools vala + +DESCRIPTION="Library to raise flags on DBus for other components of the desktop" +HOMEPAGE="https://launchpad.net/libindicate" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="3" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86" +IUSE="gtk +introspection" +RESTRICT="test" # consequence of the -no-mono.patch + +RDEPEND=" + dev-libs/dbus-glib + dev-libs/glib:2 + dev-libs/libdbusmenu[introspection?] + dev-libs/libxml2 + gtk? ( + dev-libs/libdbusmenu[gtk3] + x11-libs/gtk+:3 + ) + introspection? ( >=dev-libs/gobject-introspection-1 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/gnome-doc-utils + dev-util/gtk-doc-am + gnome-base/gnome-common + virtual/pkgconfig + $(vala_depend) +" + +PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + vala_setup + + # python bindings are only for GTK+-2.x + econf \ + $(use_enable gtk) \ + $(use_enable introspection) \ + --disable-python \ + --disable-scrollkeeper \ + --with-gtk=3 +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |