aboutsummaryrefslogtreecommitdiff
path: root/package/granite
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2016-03-09 10:15:45 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-22 23:33:47 +0100
commitace94165d8f2cd82188e212e45c6f7bd10f597ed (patch)
tree0b0ea7fd9bf0dfbffb1e5efb879915ef081caa45 /package/granite
parent7b7ce072e58d23e110d23fd7c509ba7e62ed85ff (diff)
downloadbuildroot-ace94165d8f2cd82188e212e45c6f7bd10f597ed.tar.gz
buildroot-ace94165d8f2cd82188e212e45c6f7bd10f597ed.tar.bz2
granite: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/granite')
-rw-r--r--package/granite/Config.in18
-rw-r--r--package/granite/granite.hash4
-rw-r--r--package/granite/granite.mk16
3 files changed, 38 insertions, 0 deletions
diff --git a/package/granite/Config.in b/package/granite/Config.in
new file mode 100644
index 0000000000..fef5e27add
--- /dev/null
+++ b/package/granite/Config.in
@@ -0,0 +1,18 @@
+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
diff --git a/package/granite/granite.hash b/package/granite/granite.hash
new file mode 100644
index 0000000000..5ce95e6278
--- /dev/null
+++ b/package/granite/granite.hash
@@ -0,0 +1,4 @@
+# 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
diff --git a/package/granite/granite.mk b/package/granite/granite.mk
new file mode 100644
index 0000000000..dd5a09e5ff
--- /dev/null
+++ b/package/granite/granite.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# 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))