summaryrefslogtreecommitdiffstats
path: root/abs/core/mjpegtools/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-02 23:51:04 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-02 23:51:04 (GMT)
commit212d7147e4e2b55550a9d275899af03ce0729d2a (patch)
treedd4cb398b2e4f65bf6657416d189d77a017b514a /abs/core/mjpegtools/PKGBUILD
parent979c2ff50ec4af61e468c5e1afc484d52f5fd655 (diff)
downloadlinhes_pkgbuild-212d7147e4e2b55550a9d275899af03ce0729d2a.zip
linhes_pkgbuild-212d7147e4e2b55550a9d275899af03ce0729d2a.tar.gz
linhes_pkgbuild-212d7147e4e2b55550a9d275899af03ce0729d2a.tar.bz2
mjpegtools: update to 2.1.0
Diffstat (limited to 'abs/core/mjpegtools/PKGBUILD')
-rw-r--r--abs/core/mjpegtools/PKGBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/abs/core/mjpegtools/PKGBUILD b/abs/core/mjpegtools/PKGBUILD
index 3615c32..189c71c 100644
--- a/abs/core/mjpegtools/PKGBUILD
+++ b/abs/core/mjpegtools/PKGBUILD
@@ -1,36 +1,35 @@
-# $Id: PKGBUILD 148854 2012-02-05 11:52:58Z ibiru $
+# $Id$
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Maintainer: Roberto Carvajal <roberto@archlinux.org>
pkgname=mjpegtools
-pkgver=2.0.0
+pkgver=2.1.0
pkgrel=1
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)
+arch=('i686' 'x86_64')
license=('GPL')
url="http://mjpeg.sourceforge.net/"
depends=('libjpeg' 'libpng' 'sdl' 'gcc-libs' 'libdv')
makedepends=('gtk2' 'v4l-utils')
optdepends=('gtk2: glav GUI')
-options=('!makeflags' '!libtool')
+options=('!makeflags')
install=mjpegtools.install
-source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz
- mjpegtools-v4l-2.6.38.patch gcc_3.7.patch)
+source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz)
+md5sums=('57bf5dd78976ca9bac972a6511b236f3')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np0 -i "${srcdir}/mjpegtools-v4l-2.6.38.patch"
- patch -Np1 -i "${srcdir}/gcc_3.7.patch"
+prepare() {
+ cd ${pkgname}-${pkgver}
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --enable-largefile
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -m644 mpeg2enc/mpeg2syntaxcodes.h "${pkgdir}/usr/include/mjpegtools/mpeg2enc/"
}
-md5sums=('903e1e3b967eebcc5fe5626d7517dc46'
- '44006d6f844017fe57aa123aa43f4508'
- '7c9b3d4a1f3a10e3263a6a110b0f55cc')