granite: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2016-03-09 10:15:45 -03:00 committed by Thomas Petazzoni
parent 7b7ce072e5
commit ace94165d8
4 changed files with 39 additions and 0 deletions

View file

@ -887,6 +887,7 @@ menu "Graphics"
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"

18
package/granite/Config.in Normal file
View file

@ -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

View file

@ -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

View file

@ -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))