summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mjpegtools/PKGBUILD
blob: 86078862a62a4ac18cc82d3972f80561aefb6e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 pkgname=mjpegtools
 pkgver=1.9.0
 pkgrel=2
 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'  'gcc-libs' '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 )
	  
	  build() {
		    cd ${startdir}/src/${pkgname}-${pkgver}
		      ./configure --prefix=/usr
		         find -name Makefile -exec sed -i -e 's:-march=k8 -mtune=k8::' -e 's:-march=pentium3 -mtune=pentium3::' {} \;
		 }