diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-12 00:04:34 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-12 00:04:34 (GMT) |
commit | 74fc0c6f2d5998e99a18036f64ca9e17fa60d63f (patch) | |
tree | 28c72497a8a62f33b6eb63cf6e512fb5c03e6996 /abs/core/mjpegtools/PKGBUILD | |
parent | 7122059e0230222e84b86deb1d9e8b03e74e72c0 (diff) | |
download | linhes_pkgbuild-74fc0c6f2d5998e99a18036f64ca9e17fa60d63f.zip linhes_pkgbuild-74fc0c6f2d5998e99a18036f64ca9e17fa60d63f.tar.gz linhes_pkgbuild-74fc0c6f2d5998e99a18036f64ca9e17fa60d63f.tar.bz2 |
mjpegtools: bump for sdl
Diffstat (limited to 'abs/core/mjpegtools/PKGBUILD')
-rw-r--r-- | abs/core/mjpegtools/PKGBUILD | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/abs/core/mjpegtools/PKGBUILD b/abs/core/mjpegtools/PKGBUILD index 13c9061..bf31ebf 100644 --- a/abs/core/mjpegtools/PKGBUILD +++ b/abs/core/mjpegtools/PKGBUILD @@ -1,29 +1,41 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 84755 2010-07-04 03:32:01Z eric $ # Contributor: Damir Perisa <damir.perisa@bluewin.ch> # Mantainer: Roberto Carvajal <roberto@archlinux.org> pkgname=mjpegtools pkgver=1.9.0 -pkgrel=11 -pkgdesc="The mjpeg programs are a set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video under Linux. " +pkgrel=12 +pkgdesc="Set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video" arch=(i686 x86_64) license=('GPL') url="http://mjpeg.sourceforge.net/" -depends=('libpng' 'sdl' 'gcc' 'libdv' 'libjpeg6') -makedepends=('gtk2' 'libjpeg6') +depends=('libjpeg>=8' 'libpng>=1.4.0' 'sdl' 'gcc-libs' 'libdv' 'libjpeg6') +makedepends=('gtk2>=2.18.6') +optdepends=('gtk2: glav GUI') options=('!makeflags' '!libtool') +install=mjpegtools.install source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz - mjpegtools-1.8.0-gcc41.patch) + mjpegtools-1.9.0-glibc-2.10.patch + png2yuv-fix-memleak.patch + mjpegtools-1.9.0-jpeg-7.patch) +md5sums=('309a6fcf0900a010d6a9c1e91afc2f5c' 'b8ae66237d83be533db8eea166fd3357'\ + '39e1def8fb0f7c58a217b22dc251a86a' 'ccc7562a3933877d3362da7cf4695ea0') +sha1sums=('1701233354c7ea86b5b7808c4dd5d03a71118e48' '3029f0e835e693b144298ed9f8143c9566be26f3'\ + '8af5c3747756353bef56d03bafbdd086ff15c02c' '2bdb1b3b8591cede11d4a133a758e8ead35db4dd') build() { - cd ${startdir}/src/${pkgname}-${pkgver} - # patch -Np1 -i ${startdir}/src/mjpegtools-1.8.0-gcc41.patch || return 1 -env CPPFLAGS="-I/opt/libjpeg6/include" LDFLAGS="-L/opt/libjpeg6/lib" ./configure --prefix=/usr --enable-static-build - find -name Makefile -exec sed -i -e 's:-march=k8 -mtune=k8::' -e 's:-march=pentium3 -mtune=pentium3::' {} \; - - make || return 1 - make DESTDIR=${startdir}/pkg install + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure + patch -Np1 -i "$srcdir/mjpegtools-1.9.0-glibc-2.10.patch" + patch -Np1 -i "${srcdir}/png2yuv-fix-memleak.patch" + patch -Np0 -i "${srcdir}/mjpegtools-1.9.0-jpeg-7.patch" + env CPPFLAGS="-I/opt/libjpeg6/include" LDFLAGS="-L/opt/libjpeg6/lib" + ./configure --prefix=/usr --enable-largefile + make +} - install -m644 mpeg2enc/mpeg2syntaxcodes.h \ - ${startdir}/pkg/usr/include/mjpegtools/mpeg2enc/ +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m644 mpeg2enc/mpeg2syntaxcodes.h "${pkgdir}/usr/include/mjpegtools/mpeg2enc/" } |