45708b0dbe
Bump to v2018.9 added ostree-finalize-staged.path throughac1a919ffd
However, this file was not added in the tarball until commit:62594765b2
So use the new 2018.9.1 tarball to get this file otherwise build with systemd will fail Fixes: - http://autobuild.buildroot.org/results/fc6435282630e60927f88bf5954805ebbaa60cb3 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
82 lines
2.3 KiB
Makefile
82 lines
2.3 KiB
Makefile
################################################################################
|
|
#
|
|
# libostree
|
|
#
|
|
################################################################################
|
|
|
|
LIBOSTREE_VERSION_MAJOR = 2018.9
|
|
LIBOSTREE_VERSION= $(LIBOSTREE_VERSION_MAJOR).1
|
|
LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz
|
|
LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION_MAJOR)
|
|
|
|
LIBOSTREE_LICENSE = LGPL-2.0+
|
|
LIBOSTREE_LICENSE_FILES = COPYING
|
|
LIBOSTREE_DEPENDENCIES = e2fsprogs host-bison host-pkgconf libfuse libglib2 libgpg-error libgpgme xz
|
|
LIBOSTREE_INSTALL_STAGING = YES
|
|
|
|
LIBOSTREE_CONF_ENV = \
|
|
GPG_ERROR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config
|
|
LIBOSTREE_CONF_OPTS += \
|
|
--with-gpgme-prefix=$(STAGING_DIR)/usr \
|
|
--disable-gtk-doc \
|
|
--disable-gtk-doc-html \
|
|
--disable-gtk-doc-pdf \
|
|
--disable-man
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBOSTREE_CONF_OPTS += --with-openssl
|
|
LIBOSTREE_DEPENDENCIES += openssl
|
|
else
|
|
LIBOSTREE_CONF_OPTS += --without-openssl
|
|
endif
|
|
|
|
# Avahi support needs libavahi-client, which is built by avahi if avahi-daemon
|
|
# and dbus is selected. Since there is no BR2_PACKAGE_LIBAVAHI_CLIENT config
|
|
# option yet, use the avahi-daemon and dbus config symbols to check for
|
|
# libavahi-client.
|
|
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy)
|
|
LIBOSTREE_CONF_OPTS += --with-avahi
|
|
LIBOSTREE_DEPENDENCIES += avahi
|
|
else
|
|
LIBOSTREE_CONF_OPTS += --without-avahi
|
|
endif
|
|
|
|
#cURL support depends on libsoup
|
|
ifeq ($(BR2_PACKAGE_LIBSOUP),y)
|
|
LIBOSTREE_CONF_OPTS += --with-soup
|
|
LIBOSTREE_DEPENDENCIES += libsoup
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
LIBOSTREE_CONF_OPTS += --with-curl
|
|
LIBOSTREE_DEPENDENCIES += libcurl
|
|
else
|
|
LIBOSTREE_CONF_OPTS += --without-curl
|
|
endif
|
|
else
|
|
LIBOSTREE_CONF_OPTS += --without-soup --without-curl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
|
|
LIBOSTREE_CONF_OPTS += --with-libarchive
|
|
LIBOSTREE_DEPENDENCIES += libarchive
|
|
else
|
|
LIBOSTREE_CONF_OPTS += --without-libarchive
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
|
LIBOSTREE_CONF_OPTS += --with-selinux
|
|
LIBOSTREE_DEPENDENCIES += libselinux
|
|
else
|
|
LIBOSTREE_CONF_OPTS += --without-selinux
|
|
endif
|
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
LIBOSTREE_CONF_OPTS += \
|
|
--with-libsystemd \
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
|
LIBOSTREE_DEPENDENCIES += systemd
|
|
else
|
|
LIBOSTREE_CONF_OPTS += --without-libsystemd
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|