initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_GCR
|
||||
bool "gcr"
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # gnupg2
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
depends on !BR2_STATIC_LIBS # p11-kit
|
||||
select BR2_PACKAGE_GNUPG2 # runtime
|
||||
select BR2_PACKAGE_LIBGCRYPT
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_P11_KIT
|
||||
help
|
||||
Library for cryptographic UIs and accessing PKCS#11 modules.
|
||||
|
||||
https://developer.gnome.org/gcr/
|
||||
|
||||
comment "gcr needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,3 @@
|
||||
# From http://ftp.acc.umu.se/pub/gnome/sources/gcr/3.40/gcr-3.40.0.sha256sum
|
||||
sha256 b9d3645a5fd953a54285cc64d4fc046736463dbd4dcc25caf5c7b59bed3027f5 gcr-3.40.0.tar.xz
|
||||
sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 COPYING
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# gcr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GCR_VERSION_MAJOR = 3.40
|
||||
GCR_VERSION = $(GCR_VERSION_MAJOR).0
|
||||
GCR_SITE = http://ftp.acc.umu.se/pub/gnome/sources/gcr/$(GCR_VERSION_MAJOR)
|
||||
GCR_SOURCE = gcr-$(GCR_VERSION).tar.xz
|
||||
GCR_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
libgcrypt \
|
||||
libglib2 \
|
||||
p11-kit \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
GCR_INSTALL_STAGING = YES
|
||||
GCR_CONF_OPTS = \
|
||||
-Dgpg_path=/usr/bin/gpg2 \
|
||||
-Dgtk_doc=false
|
||||
# Even though COPYING is v2 the code states v2.1+
|
||||
GCR_LICENSE = LGPL-2.1+
|
||||
GCR_LICENSE_FILES = COPYING
|
||||
GCR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
GCR_DEPENDENCIES += gobject-introspection host-libxslt host-vala
|
||||
GCR_CONF_OPTS += -Dintrospection=true
|
||||
else
|
||||
GCR_CONF_OPTS += -Dintrospection=false
|
||||
endif
|
||||
|
||||
# Only the X11 backend is supported for the simple GUI
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
||||
GCR_DEPENDENCIES += libgtk3
|
||||
GCR_CONF_OPTS += -Dgtk=true
|
||||
else
|
||||
GCR_CONF_OPTS += -Dgtk=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user