2013-08-22 23:32:44 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# harfbuzz
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-01-04 22:02:11 +01:00
|
|
|
HARFBUZZ_VERSION = 2.7.4
|
package/harfbuzz: bump to version 2.6.8
- update home page URL (old one is redirected to github)
- change download to new location (github)
- update license hash because of copyright year update:
diff COPING:
-Copyright © 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019 Google, Inc.
-Copyright © 2019 Facebook, Inc.
+Copyright © 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020 Google, Inc.
+Copyright © 2018,2019,2020 Ebrahim Byagowi
+Copyright © 2019,2020 Facebook, Inc.
note: newer versions (2.7.x) require a migration to meson
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-10 15:26:13 +02:00
|
|
|
HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION)
|
2019-06-22 19:54:54 +02:00
|
|
|
HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz
|
2013-10-08 22:36:48 +02:00
|
|
|
HARFBUZZ_LICENSE = MIT, ISC (ucdn library)
|
2019-06-22 19:54:54 +02:00
|
|
|
HARFBUZZ_LICENSE_FILES = COPYING
|
2021-03-05 23:27:44 +01:00
|
|
|
HARFBUZZ_CPE_ID_VENDOR = harfbuzz_project
|
2013-08-22 23:32:44 +02:00
|
|
|
HARFBUZZ_INSTALL_STAGING = YES
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS = \
|
|
|
|
-Dfontconfig=disabled \
|
|
|
|
-Dgdi=disabled \
|
|
|
|
-Ddirectwrite=disabled \
|
|
|
|
-Dcoretext=disabled \
|
|
|
|
-Dtests=disabled \
|
|
|
|
-Ddocs=disabled \
|
|
|
|
-Dbenchmark=disabled \
|
|
|
|
-Dicu_builtin=false \
|
|
|
|
-Dexperimental_api=false \
|
|
|
|
-Dfuzzer_ldflags=""
|
2015-04-19 11:48:18 +02:00
|
|
|
|
|
|
|
# freetype & glib2 support required by host-pango
|
|
|
|
HOST_HARFBUZZ_DEPENDENCIES = \
|
|
|
|
host-freetype \
|
|
|
|
host-libglib2
|
|
|
|
HOST_HARFBUZZ_CONF_OPTS = \
|
2020-09-10 20:18:55 +02:00
|
|
|
-Dglib=enabled \
|
|
|
|
-Dgobject=disabled \
|
|
|
|
-Dcairo=disabled \
|
|
|
|
-Dfontconfig=disabled \
|
|
|
|
-Dicu=disabled \
|
|
|
|
-Dgraphite=disabled \
|
|
|
|
-Dfreetype=enabled \
|
|
|
|
-Dgdi=disabled \
|
|
|
|
-Ddirectwrite=disabled \
|
|
|
|
-Dcoretext=disabled \
|
|
|
|
-Dtests=disabled \
|
|
|
|
-Dintrospection=disabled \
|
|
|
|
-Ddocs=disabled \
|
|
|
|
-Dbenchmark=disabled \
|
|
|
|
-Dicu_builtin=false \
|
|
|
|
-Dexperimental_api=false \
|
|
|
|
-Dfuzzer_ldflags=""
|
2014-04-07 23:55:20 +02:00
|
|
|
|
2019-06-23 21:03:09 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
HARFBUZZ_DEPENDENCIES += cairo
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dcairo=enabled
|
2013-08-22 23:32:44 +02:00
|
|
|
else
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dcairo=disabled
|
2013-08-22 23:32:44 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
HARFBUZZ_DEPENDENCIES += freetype
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dfreetype=enabled
|
2013-08-22 23:32:44 +02:00
|
|
|
else
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dfreetype=disabled
|
2013-08-22 23:32:44 +02:00
|
|
|
endif
|
|
|
|
|
2020-09-24 21:06:14 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += gobject-introspection
|
|
|
|
HARFBUZZ_CONF_OPTS += \
|
|
|
|
-Dgobject=enabled \
|
|
|
|
-Dintrospection=enabled
|
|
|
|
else
|
|
|
|
HARFBUZZ_CONF_OPTS += \
|
|
|
|
-Dgobject=disabled \
|
|
|
|
-Dintrospection=disabled
|
|
|
|
endif
|
|
|
|
|
2016-01-14 17:20:52 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GRAPHITE2),y)
|
|
|
|
HARFBUZZ_DEPENDENCIES += graphite2
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dgraphite=enabled
|
2016-01-14 17:20:52 +01:00
|
|
|
else
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dgraphite=disabled
|
2016-01-14 17:20:52 +01:00
|
|
|
endif
|
|
|
|
|
2013-08-22 23:32:44 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
HARFBUZZ_DEPENDENCIES += libglib2
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dglib=enabled
|
2013-08-22 23:32:44 +02:00
|
|
|
else
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dglib=disabled
|
2013-08-22 23:32:44 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ICU),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
HARFBUZZ_DEPENDENCIES += icu
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dicu=enabled
|
2013-08-22 23:32:44 +02:00
|
|
|
else
|
2020-09-10 20:18:55 +02:00
|
|
|
HARFBUZZ_CONF_OPTS += -Dicu=disabled
|
2013-08-22 23:32:44 +02:00
|
|
|
endif
|
|
|
|
|
2020-09-10 20:18:55 +02:00
|
|
|
$(eval $(meson-package))
|
|
|
|
$(eval $(host-meson-package))
|