summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-10-05 06:52:40 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-10-05 07:14:37 (GMT)
commit31699a57d643cdc473123ff5701bcc33cd0ee4e6 (patch)
treecbddfb58096cbcff0158233ec6dde201c36264fb
parent85c45df2fa58a24ab220fd454867fa16311435e4 (diff)
downloadbuildroot-31699a57d643cdc473123ff5701bcc33cd0ee4e6.tar.gz
buildroot-31699a57d643cdc473123ff5701bcc33cd0ee4e6.tar.bz2
package: add librsvg package
librsvg is a svg renderer. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES2
-rw-r--r--package/Config.in1
-rw-r--r--package/librsvg/Config.in14
-rw-r--r--package/librsvg/librsvg.mk18
4 files changed, 34 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index c3f8a9e..4a382a2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -21,7 +21,7 @@
Alpha, Cris, IA64 and Sparc64 architecture support removed.
- New packages: xz
+ New packages: librsvg, xz
Updated/fixed packages: acpid, alsa-lib, argus, at, autoconf,
automake, avahi, axel, beecrypt, berkeleydb, bind, bmon, boa,
diff --git a/package/Config.in b/package/Config.in
index ce6057b..5e08d59 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -263,6 +263,7 @@ source "package/libgail/Config.in"
source "package/libglade/Config.in"
source "package/libgtk2/Config.in"
source "package/libpng/Config.in"
+source "package/librsvg/Config.in"
source "package/libsvgtiny/Config.in"
source "package/libungif/Config.in"
source "package/pango/Config.in"
diff --git a/package/librsvg/Config.in b/package/librsvg/Config.in
new file mode 100644
index 0000000..fdb7d31
--- /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 0000000..98bb25c
--- /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))