[arch-commits] Commit in xine-lib/trunk (ChangeLog PKGBUILD xine-imagemagick.patch)

Eric Bélanger eric at archlinux.org
Fri Nov 28 02:42:12 UTC 2008


    Date: Thursday, November 27, 2008 @ 21:42:11
  Author: eric
Revision: 19598

upgpkg: xine-lib 1.1.15-3
    Added jack support (close FS#12020), Fixed several build issue (close FS#12117)

Added:
  xine-lib/trunk/xine-imagemagick.patch
Modified:
  xine-lib/trunk/ChangeLog
  xine-lib/trunk/PKGBUILD

------------------------+
 ChangeLog              |    6 ++++++
 PKGBUILD               |   28 ++++++++++++++++++----------
 xine-imagemagick.patch |   11 +++++++++++
 3 files changed, 35 insertions(+), 10 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2008-11-28 02:08:49 UTC (rev 19597)
+++ ChangeLog	2008-11-28 02:42:11 UTC (rev 19598)
@@ -1,3 +1,9 @@
+2008-11-27  Eric Belanger  <eric at archlinux.org>
+
+	* xine-lib 1.1.15-3
+	* Added jack support (close FS#12020)
+	* Fixed several build issue (close FS#12117)
+
 2008-08-14  Eric Belanger  <eric at archlinux.org>
 
 	* xine-lib 1.1.15-1

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-28 02:08:49 UTC (rev 19597)
+++ PKGBUILD	2008-11-28 02:42:11 UTC (rev 19598)
@@ -4,33 +4,41 @@
 
 pkgname=xine-lib
 pkgver=1.1.15
-pkgrel=2
+pkgrel=3
 pkgdesc="A free video player for Unix"
 arch=('i686' 'x86_64')
 url="http://xinehq.de/"
 license=('LGPL' 'GPL')
 depends=('libgl' 'libxvmc' 'esd' 'flac>=1.1.4' 'libvorbis' 'sdl' 'libmng' 'libtheora'
          'libxcb' 'wavpack' 'ffmpeg>=20080715')
-makedepends=('pkgconfig' 'libtool' 'automake' 'autoconf' 'imagemagick' 
-             'smbclient' 'mesa' 'alsa-lib' 'vcdimager')
+makedepends=('pkgconfig' 'libtool' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib' 
+             'vcdimager' 'jack-audio-connection-kit')
 options=('!libtool')
 source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2
-        xine-lib-1.1.1-configure-no-mcpu-march.patch xine-header.patch)
-md5sums=('42a2b4893b7f892eb334de2fc36d49c8' '9776df4eb54d2f1f68d8268adbc3b5c2'
-         'b139ee72700f8d118f9051e9140473f5')
+        xine-lib-1.1.1-configure-no-mcpu-march.patch xine-header.patch xine-imagemagick.patch)
+md5sums=('42a2b4893b7f892eb334de2fc36d49c8' '9776df4eb54d2f1f68d8268adbc3b5c2'\
+         'b139ee72700f8d118f9051e9140473f5' '45d248d45b747f049129925cbf25716d')
+sha1sums=('bcb567ea2a11c5f26b2384d5400b8466ea9048c6'
+          '121a8358d7919b2e51067412373f52848290338a'
+          '30cd75db3f0c0002f467d85466f1c404452397df'
+          'f0a0c04d5dfa3d0cd9246a1310f628deff489c12')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  patch -Np0 -i ../xine-lib-1.1.1-configure-no-mcpu-march.patch || return 1
-  patch -p0 -i ../xine-header.patch || return 1
+
+  patch -p0 < ../xine-lib-1.1.1-configure-no-mcpu-march.patch || return 1
+  patch -p0 <../xine-header.patch || return 1
+  patch -p1 <../xine-imagemagick.patch || return 1
+
   libtoolize --force --copy || return 1
   aclocal -I m4 || return 1
   autoconf || return 1
   automake --add-missing || return 1
 
   ./configure --prefix=/usr --with-w32-path=/usr/lib/codecs \
-    --with-xv-path=/usr/lib --with-libflac --with-wavpack \
-    --without-arts --without-jack --without-speex \
+    --with-xv-path=/usr/lib --with-xxmc-path=/usr/lib --with-xvmc-path=/usr/lib \
+    --with-libflac --with-wavpack \
+    --without-arts --with-jack --without-speex \
     --disable-gnomevfs --without-pulseaudio --disable-aalib \
     --disable-modplug --with-external-ffmpeg || return 1
   make || return 1

Added: xine-imagemagick.patch
===================================================================
--- xine-imagemagick.patch	                        (rev 0)
+++ xine-imagemagick.patch	2008-11-28 02:42:11 UTC (rev 19598)
@@ -0,0 +1,11 @@
+--- xine-lib-1.1.15.orig/src/libxinevdec/image.c
++++ xine-lib-1.1.15/src/libxinevdec/image.c
+@@ -110,7 +110,7 @@
+     width = MagickGetImageWidth(wand) & ~1; /* must be even for init_yuv_planes */
+     height = MagickGetImageHeight(wand);
+     img_buf = malloc(width * height * 3);
+-    MagickGetImagePixels(wand, 0, 0, width, height, "RGB", CharPixel, img_buf);
++    MagickGetAuthenticPixels(wand, 0, 0, width, height, "RGB", CharPixel, img_buf);
+     DestroyMagickWand(wand);
+ 
+     _x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_WIDTH, width);




More information about the arch-commits mailing list