1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 VALA_MIN_API_VERSION
=0.40
8 inherit cmake-utils gnome2-utils vala
10 DESCRIPTION
="Elementary OS library that extends Gtk+"
11 HOMEPAGE
="https://github.com/elementary/granite"
12 SRC_URI
="https://github.com/elementary/granite/archive/${PV}.tar.gz -> ${P}.tar.gz"
16 KEYWORDS
="amd64 ~arm x86"
21 dev-libs/libgee:0.8[introspection]
22 >=x11-libs/gtk+-3.22:3[introspection]
25 >=dev-lang/vala-0.40.0
26 nls? ( sys-devel/gettext )
32 # Disable building of the demo application (if needed)
33 use demo || cmake_comment_add_subdirectory demo
35 # Disable generation of the translations (if needed)
36 use nls || cmake_comment_add_subdirectory po
38 cmake-utils_src_prepare
44 -DVALA_EXECUTABLE=${VALAC}
47 cmake-utils_src_configure
55 gnome2_icon_cache_update
59 gnome2_icon_cache_update