package/graphene: new package
a dependency for gtk4 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f30386f508
commit
e67ab71bf6
5 changed files with 55 additions and 0 deletions
|
|
@ -1148,6 +1148,7 @@ F: package/copas/
|
|||
F: package/coxpcall/
|
||||
F: package/dado/
|
||||
F: package/ficl/
|
||||
F: package/graphene/
|
||||
F: package/janet/
|
||||
F: package/libtomcrypt/
|
||||
F: package/libtommath/
|
||||
|
|
|
|||
|
|
@ -1662,6 +1662,7 @@ menu "Graphics"
|
|||
source "package/giblib/Config.in"
|
||||
source "package/giflib/Config.in"
|
||||
source "package/granite/Config.in"
|
||||
source "package/graphene/Config.in"
|
||||
source "package/graphite2/Config.in"
|
||||
source "package/gtkmm3/Config.in"
|
||||
source "package/gtksourceview/Config.in"
|
||||
|
|
|
|||
6
package/graphene/Config.in
Normal file
6
package/graphene/Config.in
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
config BR2_PACKAGE_GRAPHENE
|
||||
bool "graphene"
|
||||
help
|
||||
A thin layer of types for graphic libraries.
|
||||
|
||||
https://ebassi.github.io/graphene/
|
||||
3
package/graphene/graphene.hash
Normal file
3
package/graphene/graphene.hash
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Locally calculated
|
||||
sha256 922dc109d2dc5dc56617a29bd716c79dd84db31721a8493a13a5f79109a4a4ed graphene-1.10.8.tar.gz
|
||||
sha256 cfd9fd7b2be592d2c0910d32dc1d8910c08dc0670b1d9ce417a82fa9eb788df9 LICENSE.txt
|
||||
44
package/graphene/graphene.mk
Normal file
44
package/graphene/graphene.mk
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
################################################################################
|
||||
#
|
||||
# graphene
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GRAPHENE_VERSION = 1.10.8
|
||||
GRAPHENE_SITE = $(call github,ebassi,graphene,$(GRAPHENE_VERSION))
|
||||
GRAPHENE_LICENSE = MIT
|
||||
GRAPHENE_LICENSE_FILES = LICENSE.txt
|
||||
GRAPHENE_INSTALL_STAGING = YES
|
||||
|
||||
GRAPHENE_CONF_OPTS = \
|
||||
-Dtests=false \
|
||||
-Dinstalled_tests=false \
|
||||
-Dgtk_doc=false
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||
GRAPHENE_CONF_OPTS += -Dgobject_types=true
|
||||
GRAPHENE_DEPENDENCIES += libglib2
|
||||
else
|
||||
GRAPHENE_CONF_OPTS += -Dgobject_types=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
GRAPHENE_CONF_OPTS += -Dintrospection=enabled
|
||||
GRAPHENE_DEPENDENCIES += gobject-introspection
|
||||
else
|
||||
GRAPHENE_CONF_OPTS += -Dintrospection=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
|
||||
GRAPHENE_CONF_OPTS += -Dsse2=true
|
||||
else
|
||||
GRAPHENE_CONF_OPTS += -Dsse2=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
||||
GRAPHENE_CONF_OPTS += -Darm_neon=true
|
||||
else
|
||||
GRAPHENE_CONF_OPTS += -Darm_neon=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Loading…
Add table
Reference in a new issue