Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c775276fa9c54e05439f0716b64ceae21c8229c9

commit c775276fa9c54e05439f0716b64ceae21c8229c9
Author: crazy <[EMAIL PROTECTED]>
Date:   Sun Apr 13 00:25:27 2008 +0200

transcode-1.0.5-2-i686
* rebuilt with imagemagick
* added and patch to fix detection for newer imagemagick

diff --git a/source/xapps-extra/transcode/FrugalBuild 
b/source/xapps-extra/transcode/FrugalBuild
index 923f28c..50b65b3 100644
--- a/source/xapps-extra/transcode/FrugalBuild
+++ b/source/xapps-extra/transcode/FrugalBuild
@@ -3,23 +3,26 @@

pkgname=transcode
pkgver=1.0.5
-pkgrel=1
+pkgrel=2
pkgdesc="A suite of command line utilities for transcoding various video, 
audio, and container formats."
url="http://www.transcoding.org/cgi-bin/transcode";
-depends=('mjpegtools>=1.9.0rc2' 'mpeg2dec' 'imagemagick' 'ffmpeg>=20070422' 
'libdvdread' 'libxv' 'libtheora' 'libfame')
+depends=('mjpegtools>=1.9.0rc2' 'mpeg2dec' 'imagemagick>=6.4.0_4' 
'ffmpeg>=20070422' 'libdvdread' 'libxv' 'libtheora' 'libfame')
groups=('xapps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump $url|grep released|sed 1q|cut -d ' ' -f12"
-source=(http://fromani.exit1.org/$pkgname-$pkgver.tar.bz2)
+source=(http://fromani.exit1.org/$pkgname-$pkgver.tar.bz2 
imagemagick-detection-fix.patch)
license="GPL"
options=('scriptlet')
-sha1sums=('96f8746a8d54c3ed78f0b5eb32ff7c72313e8e6b')
+sha1sums=('96f8746a8d54c3ed78f0b5eb32ff7c72313e8e6b' \
+          '806c71f961cf049522c352fcdb0da6e4554c0ec4')

build()
{
Fcd
+       Fpatchall
Fautoreconf
-       Fmake --enable-netstream \
+       Fconf \
+               --enable-netstream \
--enable-v4l \
--enable-lame \
--enable-oss \
@@ -41,6 +44,7 @@ build()
--enable-imagemagick \
--enable-a52-default-decoder \
--disable-nuv
+       make || Fdie
Fmakeinstall
}

diff --git a/source/xapps-extra/transcode/imagemagick-detection-fix.patch 
b/source/xapps-extra/transcode/imagemagick-detection-fix.patch
new file mode 100644
index 0000000..37bdce2
--- /dev/null
+++ b/source/xapps-extra/transcode/imagemagick-detection-fix.patch
@@ -0,0 +1,27 @@
+--- transcode-1.0.5/configure.in       2008-01-05 15:37:14.000000000 +0100
++++ transcode-1.0.5-p/configure.in     2008-04-13 00:09:49.000000000 +0200
+@@ -14,6 +14,7 @@
+
+ # Checks for programs.
+ AC_PROG_CC
++AM_PROG_CC_C_O
+ AC_PROG_GCC_TRADITIONAL
+ AC_PROG_CXX
+ AC_PROG_AWK
+@@ -27,7 +28,6 @@
+ AS=$CC
+ CCAS='$(CC)'
+ AC_SUBST(CCAS)
+-AC_PROG_CC
+ AC_SUBST(CCASFLAGS)
+ ASFLAGS="$CCASFLAGS"
+ AC_SUBST(ASFLAGS)
+@@ -1235,7 +1235,7 @@
+ IMAGEMAGICK_EXTRA_LIBS="$IMAGEMAGICK_EXTRA_LIBS -lz -lm"
+ dnl MagickWand libraries/headers always (?) are a superset of MagickCore ones.
+ TC_PKG_CHECK(imagemagick, no, IMAGEMAGICK, Wand-config, [magick/api.h],
+- Magick, InitializeMagick, Wand, [http://www.imagemagick.org/])
++ MagickCore, InitializeMagick, Wand, [http://www.imagemagick.org/])
+ TC_PKG_HAVE(imagemagick, IMAGEMAGICK)
+ if test x"$have_imagemagick" = x"yes" ; then
+   AC_CHECK_HEADER([wand/magick-wand.h],
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to