[vlc-devel] [PATCH 08/10] Build SVG decoder
jpsaman at videolan.org
jpsaman at videolan.org
Mon May 12 12:04:28 CEST 2014
From: Jean-Paul Saman <jpsaman at videolan.org>
---
configure.ac | 3 ++-
modules/codec/Makefile.am | 7 +++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 2f28385..f77846c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3236,9 +3236,10 @@ then
fi
dnl
-dnl SVG module
+dnl SVG module (text rendering and image decoding)
dnl
PKG_ENABLE_MODULES_VLC([SVG], [], [librsvg-2.0 >= 2.9.0], [SVG rendering library],[auto])
+PKG_ENABLE_MODULES_VLC([SVGDEC], [], [librsvg-2.0 >= 2.9.0 cairo >= 1.13.1], [SVG image decoder library],[auto])
dnl
dnl android surface module
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 14500c6..c7cea97 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -109,6 +109,13 @@ libjpeg_plugin_la_LIBADD = -ljpeg
EXTRA_LTLIBRARIES += libjpeg_plugin.la
codec_LTLIBRARIES += $(LTLIBjpeg)
+libsvgdec_plugin_la_SOURCES = codec/svg.c
+libsvgdec_plugin_la_CFLAGS = $(AM_CLAGS) $(CFLAGS_svgdec)
+libsvgdec_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' $(LDFLAGS_svg)
+libsvgdec_plugin_la_LIBADD = $(LIBS_svgdec)
+EXTRA_LTLIBRARIES += libsvgdec_plugin.la
+codec_LTLIBRARIES += $(LTLIBsvgdec)
+
libsdl_image_plugin_la_SOURCES = codec/sdl_image.c
libsdl_image_plugin_la_CFLAGS = $(AM_CFLAGS) $(SDL_IMAGE_CFLAGS)
libsdl_image_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
--
1.9.0
More information about the vlc-devel
mailing list