Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # $Id$
- # Contributor: Damir Perisa <damir.perisa@bluewin.ch>
- # Contributor: Roberto Carvajal <roberto@archlinux.org>
- # Mantainer: Lorenzo Ferrillo <lorenzofer at live dot com>
- _basename=mjpegtools
- pkgname=lib32-${_basename}
- pkgver=2.1.0
- pkgrel=5
- 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. 32bit libraries"
- arch=('x86_64')
- license=('GPL')
- url="http://mjpeg.sourceforge.net/"
- depends=('mjpegtools' 'lib32-libjpeg' 'lib32-libpng' 'lib32-sdl' 'gcc-libs-multilib' 'lib32-libdv')
- makedepends=('lib32-gtk2' 'lib32-v4l-utils')
- source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${_basename}-${pkgver}.tar.gz v4l.patch avoid_fno_pic.patch package.patch)
- md5sums=('57bf5dd78976ca9bac972a6511b236f3' 'SKIP' 'SKIP')
- prepare() {
- cd ${_basename}-${pkgver}
- patch --forward --strip=1 --input="${srcdir}/package.patch"
- sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
- }
- build() {
- cd ${_basename}-${pkgver}
- export CC="gcc -m32 "
- export CXX="g++ -m32 "
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
- patch -Np1 -i "${srcdir}/avoid_fno_pic.patch"
- #patch -Np0 -i "${srcdir}/v4l.patch" #video4linux is failing compilation
- autoreconf -f -i
- ./configure --prefix=/usr --libdir=/usr/lib32 --enable-largefile --without-libquicktime
- # make clean
- make
- }
- package() {
- cd ${_basename}-${pkgver}
- make DESTDIR="${pkgdir}" install
- rm ${pkgdir}/usr/include ${pkgdir}/usr/share ${pkgdir}/usr/bin -Rf
- }
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- '787539b49d11fdfd6fbd63da85049e9f')
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- 'ee0816cd7623ce4574e16197dab22e78')
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- 'bb6a4c6b74d56b77c9e22d7cc6a30534')
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- 'c50bf6a7df776db849950dcd9358abe2')
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- 'd1d3cecf7d8865e085eaa0158c23de63')
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- '523e5e4e3a7e8b1cd815feeae4832c1a')
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- '8cb74c3cd2b55136a0704e6b3d316fca')
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- '1cd89b9f3c08956ab5802e955d3ed290')
- md5sums=('57bf5dd78976ca9bac972a6511b236f3'
- '2697adb8b28e458761566e6a3b31fc8b'
- 'c828133801331a04236b7e277bc4ca7a'
- 'f30990150bf1088c375f495f59dece11')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement