diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-11-13 14:14:28 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-11-13 14:14:28 (GMT) |
commit | 9850fb7e394cfc48122dab7db3239b5bd6588467 (patch) | |
tree | 08864d06af7d46f936ee46b99339cc3d0f2189f0 | |
parent | 7581eace52c04e0c3ad58ea59919d8720739c5d4 (diff) | |
download | mxe-9850fb7e394cfc48122dab7db3239b5bd6588467.zip mxe-9850fb7e394cfc48122dab7db3239b5bd6588467.tar.gz mxe-9850fb7e394cfc48122dab7db3239b5bd6588467.tar.bz2 |
package xine-lib: enable graphicsmagick
-rw-r--r-- | src/xine-lib-1-fixes.patch | 41 | ||||
-rw-r--r-- | src/xine-lib.mk | 3 |
2 files changed, 42 insertions, 2 deletions
diff --git a/src/xine-lib-1-fixes.patch b/src/xine-lib-1-fixes.patch index 8dda581..bc720bc 100644 --- a/src/xine-lib-1-fixes.patch +++ b/src/xine-lib-1-fixes.patch @@ -90,3 +90,44 @@ index 0895a2e..51f8855 100644 1.7.7 +From 68609a4508116803346b4fd962f3ed3141c70316 Mon Sep 17 00:00:00 2001 +From: mingw-cross-env +Date: Sun, 13 Nov 2011 13:45:21 +0100 +Subject: [PATCH 3/3] force graphicsmagick over imagemagick + + +diff --git a/configure.ac b/configure.ac +index 6af7ef7..2682e39 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1419,21 +1419,12 @@ AC_ARG_WITH([imagemagick], + AS_HELP_STRING([--without-imagemagick], [Build without ImageMagick image decoder (or GraphicsMagick's compat layer)])) + + if test "x$with_imagemagick" != "xno"; then +- PKG_CHECK_MODULES([WAND], [Wand], [have_imagemagick=yes], [AC_MSG_RESULT([no]); have_imagemagick=no]) +- if test "x$have_imagemagick" = 'xno'; then +- PKG_CHECK_MODULES([MAGICKWAND], [MagickWand], [have_imagemagick=yes], [AC_MSG_RESULT([no]); have_imagemagick=no]) +- dnl Avoid $(WAND_FLAGS) $(MAGICKWAND_FLAGS) ... +- WAND_CFLAGS="$MAGICKWAND_CFLAGS" +- WAND_LIBS="$MAGICKWAND_LIBS" +- fi +- if test "x$have_imagemagick" = 'xno'; then +- PKG_CHECK_MODULES([GRAPHICSMAGICK], [ImageMagick], [have_imagemagick=yes], [AC_MSG_RESULT([no]); have_imagemagick=no]) +- PKG_CHECK_MODULES([GRAPHICSMAGICKWAND], [GraphicsMagickWand], [have_imagemagick=yes], [AC_MSG_RESULT([no]); have_imagemagick=no]) +- dnl The following assignments are safe, since they include +- dnl the flags for plain GraphicsMagick +- WAND_CFLAGS="$GRAPHICSMAGICKWAND_CFLAGS" +- WAND_LIBS="$GRAPHICSMAGICKWAND_LIBS" +- fi ++ PKG_CHECK_MODULES([GRAPHICSMAGICK], [ImageMagick], [have_imagemagick=yes], [AC_MSG_RESULT([no]); have_imagemagick=no]) ++ PKG_CHECK_MODULES([GRAPHICSMAGICKWAND], [GraphicsMagickWand], [have_imagemagick=yes], [AC_MSG_RESULT([no]); have_imagemagick=no]) ++ dnl The following assignments are safe, since they include ++ dnl the flags for plain GraphicsMagick ++ WAND_CFLAGS="$GRAPHICSMAGICKWAND_CFLAGS" ++ WAND_LIBS="$GRAPHICSMAGICKWAND_LIBS" + if test "x$with_imagemagick" = "xyes" && test "x$have_imagemagick" = "xno"; then + AC_MSG_ERROR([ImageMagick support requested, but neither Wand, MagickWand, nor GraphicsMagick were found]) + elif test "x$have_imagemagick" = "xyes"; then +-- +1.7.7 + diff --git a/src/xine-lib.mk b/src/xine-lib.mk index dbabd89..5a429bc 100644 --- a/src/xine-lib.mk +++ b/src/xine-lib.mk @@ -10,7 +10,7 @@ $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_WEBSITE := http://www.xine-project.org/ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xine/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) -$(PKG)_DEPS := gcc faad2 ffmpeg flac fontconfig freetype libiconv libmng pthreads sdl speex theora vorbis zlib +$(PKG)_DEPS := gcc faad2 ffmpeg flac fontconfig freetype graphicsmagick libiconv libmng pthreads sdl speex theora vorbis zlib define $(PKG)_UPDATE wget -q -O- 'http://hg.debian.org/hg/xine-lib/xine-lib/tags' | \ @@ -45,7 +45,6 @@ define $(PKG)_BUILD --without-external-a52dec \ --without-external-libmad \ --without-external-libmpcdec \ - --without-imagemagick \ --with-freetype \ --with-fontconfig \ --without-alsa \ |