Initial Commit
- initial default booting image
This commit is contained in:
23
package/gcr/Config.in
Normal file
23
package/gcr/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_GCR
|
||||
bool "gcr"
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -> libgpg-error
|
||||
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 if BR2_PACKAGE_GNUPG2_DEPENDS && !BR2_PACKAGE_GNUPG # runtime
|
||||
select BR2_PACKAGE_GNUPG if !BR2_PACKAGE_GNUPG2_DEPENDS # runtime
|
||||
select BR2_PACKAGE_LIBGCRYPT
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBSECRET
|
||||
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_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
4
package/gcr/gcr.hash
Normal file
4
package/gcr/gcr.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://download.gnome.org/sources/gcr/4.4/gcr-4.4.0.1.sha256sum
|
||||
sha256 0c3c341e49f9f4f2532a4884509804190a0c2663e6120360bb298c5d174a8098 gcr-4.4.0.1.tar.xz
|
||||
# Locally computed
|
||||
sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 COPYING
|
||||
48
package/gcr/gcr.mk
Normal file
48
package/gcr/gcr.mk
Normal file
@@ -0,0 +1,48 @@
|
||||
################################################################################
|
||||
#
|
||||
# gcr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GCR_VERSION_MAJOR = 4.4
|
||||
GCR_VERSION = $(GCR_VERSION_MAJOR).0.1
|
||||
GCR_SITE = https://download.gnome.org/sources/gcr/$(GCR_VERSION_MAJOR)
|
||||
GCR_SOURCE = gcr-$(GCR_VERSION).tar.xz
|
||||
GCR_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
libgcrypt \
|
||||
libglib2 \
|
||||
libsecret \
|
||||
p11-kit \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
GCR_INSTALL_STAGING = YES
|
||||
GCR_CONF_OPTS = -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_GNUPG2),y)
|
||||
GCR_CONF_OPTS += -Dgpg_path=/usr/bin/gpg2
|
||||
else
|
||||
GCR_CONF_OPTS += -Dgpg_path=/usr/bin/gpg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
GCR_DEPENDENCIES += gobject-introspection host-libxslt host-vala
|
||||
GCR_CONF_OPTS += -Dintrospection=true -Dvapi=true
|
||||
else
|
||||
GCR_CONF_OPTS += -Dintrospection=false -Dvapi=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK4_X11),y)
|
||||
GCR_DEPENDENCIES += libgtk4
|
||||
GCR_CONF_OPTS += -Dgtk4=true
|
||||
else ifeq ($(BR2_PACKAGE_LIBGTK4_WAYLAND),y)
|
||||
GCR_DEPENDENCIES += libgtk4
|
||||
GCR_CONF_OPTS += -Dgtk4=true
|
||||
else
|
||||
GCR_CONF_OPTS += -Dgtk4=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user