2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-10-05 08:52:40 +02:00
|
|
|
#
|
|
|
|
# librsvg
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-10-05 08:52:40 +02:00
|
|
|
|
2020-09-24 22:59:24 +02:00
|
|
|
LIBRSVG_VERSION_MAJOR = 2.50
|
2020-12-21 14:22:49 +01:00
|
|
|
LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).2
|
2015-12-14 12:14:49 +01:00
|
|
|
LIBRSVG_SITE = http://ftp.gnome.org/pub/gnome/sources/librsvg/$(LIBRSVG_VERSION_MAJOR)
|
|
|
|
LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz
|
2010-10-05 08:52:40 +02:00
|
|
|
LIBRSVG_INSTALL_STAGING = YES
|
2020-09-12 19:24:00 +02:00
|
|
|
LIBRSVG_CONF_ENV = \
|
|
|
|
LIBS=$(TARGET_NLS_LIBS) \
|
|
|
|
RUST_TARGET=$(RUSTC_TARGET_NAME)
|
2020-06-07 00:33:06 +02:00
|
|
|
LIBRSVG_CONF_OPTS = --disable-pixbuf-loader --disable-tools
|
2015-12-14 12:14:49 +01:00
|
|
|
HOST_LIBRSVG_CONF_OPTS = --enable-introspection=no
|
2020-09-12 19:24:00 +02:00
|
|
|
LIBRSVG_DEPENDENCIES = cairo host-gdk-pixbuf gdk-pixbuf host-rustc libglib2 libxml2 pango \
|
2019-10-26 12:08:51 +02:00
|
|
|
$(TARGET_NLS_DEPENDENCIES)
|
2020-09-12 19:24:00 +02:00
|
|
|
HOST_LIBRSVG_DEPENDENCIES = host-cairo host-gdk-pixbuf host-libglib2 host-libxml2 host-pango host-rustc
|
2020-09-13 22:49:20 +02:00
|
|
|
LIBRSVG_LICENSE = LGPL-2.1+
|
2014-06-24 20:55:22 +02:00
|
|
|
LIBRSVG_LICENSE_FILES = COPYING.LIB
|
2012-12-28 16:37:36 +01:00
|
|
|
|
2020-06-07 00:33:06 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
|
|
LIBRSVG_CONF_OPTS += --enable-introspection
|
|
|
|
LIBRSVG_DEPENDENCIES += gobject-introspection
|
|
|
|
else
|
|
|
|
LIBRSVG_CONF_OPTS += --disable-introspection
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2015-04-19 11:48:21 +02:00
|
|
|
$(eval $(host-autotools-package))
|