You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
47 lines
1.1 KiB
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
GNOME2_LA_PUNT="yes"
|
|
inherit gnome2
|
|
|
|
DESCRIPTION="Library for embedding a Clutter canvas (stage) in GTK+"
|
|
HOMEPAGE="https://wiki.gnome.org/Projects/Clutter"
|
|
|
|
LICENSE="LGPL-2.1+"
|
|
SLOT="1.0"
|
|
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
|
|
IUSE="X debug examples gtk +introspection wayland"
|
|
|
|
RDEPEND="
|
|
>=x11-libs/gtk+-3.21.0:3[X=,introspection?,wayland=]
|
|
>=media-libs/clutter-1.23.7:1.0[X=,gtk=,introspection?,wayland=]
|
|
media-libs/cogl:1.0=[introspection?]
|
|
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
>=dev-util/gtk-doc-am-1.24
|
|
>=sys-devel/gettext-0.18
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_configure() {
|
|
gnome2_src_configure \
|
|
--disable-maintainer-flags \
|
|
--enable-deprecated \
|
|
$(usev debug --enable-debug=yes) \
|
|
$(use_enable introspection)
|
|
}
|
|
|
|
src_install() {
|
|
gnome2_src_install
|
|
|
|
if use examples; then
|
|
docinto examples
|
|
dodoc examples/{*.c,redhand.png}
|
|
docompress -x /usr/share/doc/${PF}/examples
|
|
fi
|
|
}
|