package/libgta: new package
Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b99c7563d0
commit
7555a2ae1a
|
@ -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/
|
||||
|
|
|
@ -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"
|
||||
|
|
10
package/libgta/Config.in
Normal file
10
package/libgta/Config.in
Normal file
|
@ -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
|
3
package/libgta/libgta.hash
Normal file
3
package/libgta/libgta.hash
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Locally calculated
|
||||
sha256 1d2ff713955eee28310de082a8fd8e236403c27dee3716ba1238c56e6643e4fb libgta-1.0.8.tar.xz
|
||||
sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING
|
29
package/libgta/libgta.mk
Normal file
29
package/libgta/libgta.mk
Normal file
|
@ -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))
|
Loading…
Reference in a new issue