aboutsummaryrefslogtreecommitdiff
path: root/package/librsvg/librsvg.mk
blob: 037e1fbc14acdf1abe9b23c26a3db8402e3e9689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################################################################################
#
# librsvg
#
################################################################################

LIBRSVG_VERSION_MAJOR = 2.42
LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).5
LIBRSVG_SITE = http://ftp.gnome.org/pub/gnome/sources/librsvg/$(LIBRSVG_VERSION_MAJOR)
LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz
LIBRSVG_INSTALL_STAGING = YES
LIBRSVG_CONF_OPTS = --disable-pixbuf-loader --disable-tools --enable-introspection=no
HOST_LIBRSVG_CONF_OPTS = --enable-introspection=no
LIBRSVG_DEPENDENCIES = cairo host-cargo host-gdk-pixbuf gdk-pixbuf libcroco libglib2 libxml2 pango \
	$(if $(BR2_PACKAGE_LIBGTK3),libgtk3)
HOST_LIBRSVG_DEPENDENCIES = host-cairo host-cargo host-gdk-pixbuf host-libcroco host-libglib2 host-libxml2 host-pango
LIBRSVG_LICENSE = LGPL-2.0+
LIBRSVG_LICENSE_FILES = COPYING.LIB

# We're patching configure.ac
LIBRSVG_AUTORECONF = YES
LIBRSVG_CONF_ENV = RUST_TARGET=$(RUSTC_TARGET_NAME)

$(eval $(autotools-package))
$(eval $(host-autotools-package))