From: Romain Naour Date: Tue, 26 Dec 2017 21:10:06 +0000 (+0100) Subject: package/libgta: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7555a2ae1a7941f2ed0761425253048c0551bc40;p=buildroot.git package/libgta: new package Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/DEVELOPERS b/DEVELOPERS index 50bc87a8e4..829c2d67d7 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1466,6 +1466,7 @@ F: package/iqvlinux/ F: package/irrlicht/ F: package/liblinear/ F: package/lensfun/ +F: package/libgta/ F: package/libspatialindex/ F: package/linux-syscall-support/ F: package/lugaru/ diff --git a/package/Config.in b/package/Config.in index fe03e08292..e6e37cff00 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1130,6 +1130,7 @@ menu "Graphics" source "package/libglew/Config.in" source "package/libglfw/Config.in" source "package/libglu/Config.in" + source "package/libgta/Config.in" source "package/libgtk2/Config.in" source "package/libgtk3/Config.in" source "package/libmediaart/Config.in" diff --git a/package/libgta/Config.in b/package/libgta/Config.in new file mode 100644 index 0000000000..894dced096 --- /dev/null +++ b/package/libgta/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBGTA + bool "libgta" + select BR2_PACKAGE_BZIP2 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_XZ + help + Libgta is a portable library that implements the Generic + Tagged Array (GTA) file format. + + http://gta.nongnu.org diff --git a/package/libgta/libgta.hash b/package/libgta/libgta.hash new file mode 100644 index 0000000000..d5fceb4205 --- /dev/null +++ b/package/libgta/libgta.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 1d2ff713955eee28310de082a8fd8e236403c27dee3716ba1238c56e6643e4fb libgta-1.0.8.tar.xz +sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING diff --git a/package/libgta/libgta.mk b/package/libgta/libgta.mk new file mode 100644 index 0000000000..1189feeff9 --- /dev/null +++ b/package/libgta/libgta.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# libgta +# +################################################################################ + +LIBGTA_VERSION = 1.0.8 +LIBGTA_SITE = http://download.savannah.nongnu.org/releases/gta +LIBGTA_SOURCE = libgta-$(LIBGTA_VERSION).tar.xz +LIBGTA_INSTALL_STAGING = YES +LIBGTA_DEPENDENCIES = host-pkgconf bzip2 xz zlib +LIBGTA_LICENSE = LGPL-2.1+ +LIBGTA_LICENSE_FILES = COPYING + +LIBGTA_CONF_OPTS += -DGTA_BUILD_DOCUMENTATION=OFF + +ifeq ($(BR2_STATIC_LIBS),) +LIBGTA_CONF_OPTS += -DGTA_BUILD_SHARED_LIB=ON +else +LIBGTA_CONF_OPTS += -DGTA_BUILD_SHARED_LIB=OFF +endif + +ifeq ($(BR2_SHARED_LIBS),) +LIBGTA_CONF_OPTS += -DGTA_BUILD_STATIC_LIB=ON +else +LIBGTA_CONF_OPTS += -DGTA_BUILD_STATIC_LIB=OFF +endif + +$(eval $(cmake-package))