mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BRLTTY_VERSION = 5.6
|
||||
BRLTTY_VERSION = 6.1
|
||||
BRLTTY_SOURCE = brltty-$(BRLTTY_VERSION).tar.xz
|
||||
BRLTTY_SITE = http://brltty.com/archive
|
||||
BRLTTY_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install
|
||||
@@ -12,9 +12,16 @@ BRLTTY_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install
|
||||
BRLTTY_LICENSE = LGPL-2.1+
|
||||
BRLTTY_LICENSE_FILES = LICENSE-LGPL README
|
||||
|
||||
BRLTTY_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-autoconf host-pkgconf \
|
||||
BRLTTY_DEPENDENCIES = \
|
||||
$(TARGET_NLS_DEPENDENCIES) \
|
||||
host-autoconf \
|
||||
host-gawk \
|
||||
host-pkgconf \
|
||||
$(if $(BR2_PACKAGE_AT_SPI2_CORE),at-spi2-core)
|
||||
|
||||
BRLTTY_CONF_ENV = \
|
||||
PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/bin/pkgconf
|
||||
|
||||
BRLTTY_CONF_OPTS = \
|
||||
--disable-java-bindings \
|
||||
--disable-lisp-bindings \
|
||||
@@ -22,14 +29,14 @@ BRLTTY_CONF_OPTS = \
|
||||
--disable-python-bindings \
|
||||
--disable-tcl-bindings \
|
||||
--disable-x \
|
||||
--without-espeak-ng \
|
||||
--without-midi-package \
|
||||
--without-mikropuhe --without-speechd --without-swift \
|
||||
--without-theta --without-viavoice
|
||||
--without-theta
|
||||
|
||||
# Autoreconf is needed because we're patching configure.ac in
|
||||
# 0002-Check-for-ioperm-to-make-sure-the-platform-supports-.patch. However,
|
||||
# a plain autoreconf doesn't work, because this package is only
|
||||
# autoconf-based.
|
||||
# 0001-Fix-linking-error-on-mips64el. However, a plain autoreconf doesn't work,
|
||||
# because this package is only autoconf-based.
|
||||
define BRLTTY_AUTOCONF
|
||||
cd $(BRLTTY_SRCDIR) && $(AUTOCONF)
|
||||
endef
|
||||
@@ -50,6 +57,14 @@ else
|
||||
BRLTTY_CONF_OPTS += --without-espeak
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXPAT),y)
|
||||
# host-expat is needed by tbl2hex's host program
|
||||
BRLTTY_DEPENDENCIES += host-expat expat
|
||||
BRLTTY_CONF_OPTS += --enable-expat
|
||||
else
|
||||
BRLTTY_CONF_OPTS += --disable-expat
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FLITE),y)
|
||||
BRLTTY_DEPENDENCIES += flite
|
||||
BRLTTY_CONF_OPTS += --with-flite=$(STAGING_DIR)/usr
|
||||
@@ -71,6 +86,16 @@ else
|
||||
BRLTTY_CONF_OPTS += --without-curses
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE2_32),y)
|
||||
BRLTTY_DEPENDENCIES += pcre2
|
||||
BRLTTY_CONF_OPTS += --with-rgx-package
|
||||
else ifeq ($(BR2_PACKAGE_PCRE_32),y)
|
||||
BRLTTY_DEPENDENCIES += pcre
|
||||
BRLTTY_CONF_OPTS += --with-rgx-package
|
||||
else
|
||||
BRLTTY_CONF_OPTS += --without-rgx-package
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
BRLTTY_DEPENDENCIES += systemd
|
||||
BRLTTY_CONF_OPTS += --with-service-package
|
||||
@@ -103,10 +128,6 @@ endef
|
||||
define BRLTTY_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/brltty/brltty.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/brltty.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/brltty.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/brltty.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user