source "package/gdk-pixbuf/Config.in"
source "package/giblib/Config.in"
source "package/giflib/Config.in"
+ source "package/granite/Config.in"
source "package/graphite2/Config.in"
source "package/gtkmm3/Config.in"
source "package/harfbuzz/Config.in"
--- /dev/null
+config BR2_PACKAGE_GRANITE
+ bool "granite"
+ depends on BR2_USE_WCHAR
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_PACKAGE_LIBGTK3
+ select BR2_PACKAGE_LIBGEE
+ select BR2_PACKAGE_LIBGLIB2
+ help
+ An extension to GTK+ that provides several useful widgets and
+ classes to ease application development.
+
+ https://launchpad.net/granite
+
+comment "granite needs libgtk3 and a toolchain w/ wchar, threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_PACKAGE_LIBGTK3 || !BR2_USE_WCHAR \
+ || !BR2_TOOLCHAIN_HAS_THREADS
--- /dev/null
+# From https://launchpad.net/granite/0.3/0.3.1/+download/granite-0.3.1.tar.xz/+md5
+md5 4297d4fcec8cfe2e08b460a45c779bbe granite-0.3.1.tar.xz
+# Calculated based on the hash above
+sha256 8ec1d61f9aba75f1b3a745e721288b0dfb34cb11d1307be80cef7b0571c2dec6 granite-0.3.1.tar.xz
--- /dev/null
+################################################################################
+#
+# granite
+#
+################################################################################
+
+GRANITE_VERSION_MAJOR = 0.3
+GRANITE_VERSION = $(GRANITE_VERSION_MAJOR).1
+GRANITE_SITE = https://launchpad.net/granite/$(GRANITE_VERSION_MAJOR)/$(GRANITE_VERSION)/+download
+GRANITE_SOURCE = granite-$(GRANITE_VERSION).tar.xz
+GRANITE_DEPENDENCIES = host-pkgconf host-vala libgee libglib2 libgtk3
+GRANITE_INSTALL_STAGING = YES
+GRANITE_LICENSE = LGPLv3+
+GRANITE_LICENSE_FILES = COPYING
+
+$(eval $(cmake-package))