diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 04:14:54 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 04:14:54 (GMT) |
commit | ee7d8d75c14ed0ae36cc0e34ae150012c97e197d (patch) | |
tree | 46556f5e4898da764cc831aa760d908c2ccc9961 /abs/core-testing/mjpegtools/PKGBUILD | |
parent | c2941a012cbea19073e72af561b37a1255a1fe6c (diff) | |
download | linhes_pkgbuild-ee7d8d75c14ed0ae36cc0e34ae150012c97e197d.zip linhes_pkgbuild-ee7d8d75c14ed0ae36cc0e34ae150012c97e197d.tar.gz linhes_pkgbuild-ee7d8d75c14ed0ae36cc0e34ae150012c97e197d.tar.bz2 |
Moving mjpeg , libvisual* and transcode to core.
There are pkg's in core that depend on them.
Diffstat (limited to 'abs/core-testing/mjpegtools/PKGBUILD')
-rw-r--r-- | abs/core-testing/mjpegtools/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core-testing/mjpegtools/PKGBUILD b/abs/core-testing/mjpegtools/PKGBUILD new file mode 100644 index 0000000..161e7fc --- /dev/null +++ b/abs/core-testing/mjpegtools/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Contributor: Damir Perisa <damir.perisa@bluewin.ch> +# Mantainer: Roberto Carvajal <roberto@archlinux.org> + +pkgname=mjpegtools +pkgver=1.8.0 +pkgrel=3 +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. " +arch=(i686 x86_64) +license=('GPL') +url="http://mjpeg.sourceforge.net/" +depends=('libjpeg' 'libpng' 'sdl' 'gcc' 'libdv') +makedepends=('gtk2') +options=('!makeflags' '!libtool') +source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz + mjpegtools-1.8.0-gcc41.patch mjpegtools-1.8.0-libc.patch) +md5sums=('6fd98362310480bdaf7171e9659f165f' '803eccd889c60a442ee23ba65951fadc' '23b09a1ccae1b08a15076e696ccfd050') + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} + patch -Np1 -i ${startdir}/src/mjpegtools-1.8.0-gcc41.patch || return 1 + patch -Np1 -i ${startdir}/src/mjpegtools-1.8.0-libc.patch || return 1 + ./configure --prefix=/usr + 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 + + install -m644 mpeg2enc/mpeg2syntaxcodes.h \ + ${startdir}/pkg/usr/include/mjpegtools/mpeg2enc/ +} |