Initial Commit
- initial default booting image
This commit is contained in:
23
package/gvfs/Config.in
Normal file
23
package/gvfs/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_GVFS
|
||||
bool "gvfs"
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_USE_MMU # dbus, glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, glib2
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_GSETTINGS_DESKTOP_SCHEMAS
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_DBUS
|
||||
select BR2_PACKAGE_SHARED_MIME_INFO
|
||||
help
|
||||
gvfs is a userspace virtual filesystem where mount runs as a
|
||||
separate processes which you talk to via D-Bus. It also
|
||||
contains a gio module that seamlessly adds gvfs support to
|
||||
all applications using the gio API. It also supports exposing
|
||||
the gvfs mounts to non-gio applications using fuse.
|
||||
|
||||
https://gitlab.gnome.org/GNOME/gvfs
|
||||
|
||||
comment "gvfs 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
|
||||
5
package/gvfs/gvfs.hash
Normal file
5
package/gvfs/gvfs.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://download.gnome.org/sources/gvfs/1.57/gvfs-1.57.2.sha256sum
|
||||
sha256 f16bef8eca1fd6c117e85db011d21e915669790d55867349c5f1b291299e9585 gvfs-1.57.2.tar.xz
|
||||
|
||||
# Hash for license file
|
||||
sha256 45cf336e2e48176993babc5aabf44437390f40e6a86a472c6abfc7ce9c035db4 COPYING
|
||||
166
package/gvfs/gvfs.mk
Normal file
166
package/gvfs/gvfs.mk
Normal file
@@ -0,0 +1,166 @@
|
||||
################################################################################
|
||||
#
|
||||
# gvfs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GVFS_VERSION_MAJOR = 1.57
|
||||
GVFS_VERSION = $(GVFS_VERSION_MAJOR).2
|
||||
GVFS_SOURCE = gvfs-$(GVFS_VERSION).tar.xz
|
||||
GVFS_SITE = https://download.gnome.org/sources/gvfs/$(GVFS_VERSION_MAJOR)
|
||||
GVFS_INSTALL_STAGING = YES
|
||||
GVFS_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
host-libglib2 \
|
||||
dbus \
|
||||
gsettings-desktop-schemas \
|
||||
libglib2 \
|
||||
shared-mime-info \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
GVFS_LICENSE = LGPL-2.0+
|
||||
GVFS_LICENSE_FILES = COPYING
|
||||
GVFS_CPE_ID_VENDOR = gnome
|
||||
|
||||
GVFS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
|
||||
# Most of these are missing library support
|
||||
GVFS_CONF_OPTS = \
|
||||
-Dafc=false \
|
||||
-Dgoa=false \
|
||||
-Dgoogle=false \
|
||||
-Donedrive=false \
|
||||
-Dmtp=false \
|
||||
-Dsftp=false
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI),y)
|
||||
GVFS_DEPENDENCIES += avahi
|
||||
GVFS_CONF_OPTS += -Ddnssd=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Ddnssd=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GCR),y)
|
||||
GVFS_DEPENDENCIES += gcr
|
||||
GVFS_CONF_OPTS += -Dgcr=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dgcr=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
GVFS_DEPENDENCIES += udev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
|
||||
GVFS_DEPENDENCIES += libgudev
|
||||
GVFS_CONF_OPTS += -Dgudev=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dgudev=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
|
||||
GVFS_DEPENDENCIES += libarchive
|
||||
GVFS_CONF_OPTS += -Darchive=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Darchive=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBBLURAY),y)
|
||||
GVFS_DEPENDENCIES += libbluray
|
||||
GVFS_CONF_OPTS += -Dbluray=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dbluray=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP)$(BR2_PACKAGE_POLKIT),yy)
|
||||
GVFS_DEPENDENCIES += libcap polkit
|
||||
GVFS_CONF_OPTS += -Dadmin=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dadmin=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCDIO_PARANOIA)$(BR2_PACKAGE_LIBGUDEV),yy)
|
||||
GVFS_DEPENDENCIES += libcdio-paranoia libgudev
|
||||
GVFS_CONF_OPTS += -Dcdda=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dcdda=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFUSE3),y)
|
||||
GVFS_DEPENDENCIES += libfuse3
|
||||
GVFS_CONF_OPTS += -Dfuse=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dfuse=false
|
||||
endif
|
||||
|
||||
# AFP support is anon-only without libgcrypt which isn't very useful
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
GVFS_CONF_OPTS += \
|
||||
-Dafp=true \
|
||||
-Dgcrypt=true
|
||||
GVFS_DEPENDENCIES += libgcrypt
|
||||
else
|
||||
GVFS_CONF_OPTS += \
|
||||
-Dafp=false \
|
||||
-Dgcrypt=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGPHOTO2)$(BR2_PACKAGE_LIBGUDEV),yy)
|
||||
GVFS_DEPENDENCIES += libgphoto2 libgudev
|
||||
GVFS_CONF_OPTS += -Dgphoto2=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dgphoto2=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNFS),y)
|
||||
GVFS_CONF_OPTS += -Dnfs=true
|
||||
GVFS_DEPENDENCIES += libnfs
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dnfs=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECRET),y)
|
||||
GVFS_DEPENDENCIES += libsecret
|
||||
GVFS_CONF_OPTS += -Dkeyring=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dkeyring=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSOUP3)$(BR2_PACKAGE_LIBXML2),yy)
|
||||
GVFS_DEPENDENCIES += libsoup3 libxml2
|
||||
GVFS_CONF_OPTS += -Dhttp=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dhttp=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||
GVFS_DEPENDENCIES += libusb
|
||||
GVFS_CONF_OPTS += -Dlibusb=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dlibusb=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SAMBA4),y)
|
||||
GVFS_DEPENDENCIES += samba4
|
||||
GVFS_CONF_OPTS += -Dsmb=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dsmb=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
GVFS_DEPENDENCIES += systemd
|
||||
GVFS_CONF_OPTS += -Dlogind=true
|
||||
else
|
||||
GVFS_CONF_OPTS += \
|
||||
-Dlogind=false \
|
||||
-Dsystemduserunitdir=no \
|
||||
-Dtmpfilesdir=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UDISKS),y)
|
||||
GVFS_DEPENDENCIES += udisks
|
||||
GVFS_CONF_OPTS += -Dudisks2=true
|
||||
else
|
||||
GVFS_CONF_OPTS += -Dudisks2=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user