summaryrefslogtreecommitdiff
path: root/package/librsvg
diff options
context:
space:
mode:
Diffstat (limited to 'package/librsvg')
-rw-r--r--package/librsvg/Config.in14
-rw-r--r--package/librsvg/librsvg.mk18
2 files changed, 32 insertions, 0 deletions
diff --git a/package/librsvg/Config.in b/package/librsvg/Config.in
new file mode 100644
index 000000000..fdb7d3109
--- /dev/null
+++ b/package/librsvg/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_LIBRSVG
+ bool "librsvg"
+ select BR2_PACKAGE_LIBXML2
+ select BR2_PACKAGE_CAIRO
+ select BR2_PACKAGE_CAIRO_PNG
+ select BR2_PACKAGE_PANGO
+ select BR2_PACKAGE_LIBGLIB2
+ depends on BR2_PACKAGE_LIBGTK2
+ depends on BR2_USE_WCHAR # glib2
+ help
+ The rsvg library is an efficient renderer for Scalable
+ Vector Graphics (SVG) pictures.
+
+ http://librsvg.sourceforge.net/
diff --git a/package/librsvg/librsvg.mk b/package/librsvg/librsvg.mk
new file mode 100644
index 000000000..98bb25c8e
--- /dev/null
+++ b/package/librsvg/librsvg.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# librsvg
+#
+#############################################################
+
+LIBRSVG_VERSION_MAJOR:=2.26
+LIBRSVG_VERSION_MINOR:=3
+LIBRSVG_VERSION:=$(LIBRSVG_VERSION_MAJOR).$(LIBRSVG_VERSION_MINOR)
+LIBRSVG_SOURCE:=librsvg-$(LIBRSVG_VERSION).tar.gz
+LIBRSVG_SITE:=http://ftp.gnome.org/pub/GNOME/sources/librsvg/$(LIBRSVG_VERSION_MAJOR)/
+LIBRSVG_INSTALL_STAGING = YES
+LIBRSVG_INSTALL_TARGET = YES
+LIBRSVG_LIBTOOL_PATCH = NO
+LIBRSVG_CONF_OPT = --disable-tools
+LIBRSVG_DEPENDENCIES = libxml2 cairo pango libglib2 libgtk2
+
+$(eval $(call AUTOTARGETS,package,librsvg))