mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added extra/mjpegtools 2.0.0-1
This commit is contained in:
parent
e6b1af3163
commit
6715d1de46
2 changed files with 53 additions and 0 deletions
37
extra/mjpegtools/PKGBUILD
Normal file
37
extra/mjpegtools/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# $Id: PKGBUILD 84755 2010-07-04 03:32:01Z eric $
|
||||
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
|
||||
# Mantainer: Roberto Carvajal <roberto@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@plugapps.com>>
|
||||
# - update to version 2.0.0, something compatible with v4l2
|
||||
# - can probably remove this package when upstream catches up
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=mjpegtools
|
||||
pkgver=2.0.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)
|
||||
license=('GPL')
|
||||
url="http://mjpeg.sourceforge.net/"
|
||||
depends=('libjpeg>=8' 'libpng>=1.4.0' 'sdl' 'gcc-libs' 'libdv')
|
||||
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)
|
||||
md5sums=('903e1e3b967eebcc5fe5626d7517dc46')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
|
||||
./configure --prefix=/usr --enable-largefile
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -m644 mpeg2enc/mpeg2syntaxcodes.h "${pkgdir}/usr/include/mjpegtools/mpeg2enc/"
|
||||
}
|
16
extra/mjpegtools/mjpegtools.install
Normal file
16
extra/mjpegtools/mjpegtools.install
Normal file
|
@ -0,0 +1,16 @@
|
|||
infodir=/usr/share/info
|
||||
file=mjpeg-howto.info
|
||||
|
||||
post_install() {
|
||||
[ -x usr/bin/install-info ] || return 0
|
||||
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
[ -x usr/bin/install-info ] || return 0
|
||||
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
|
||||
}
|
Loading…
Reference in a new issue