summaryrefslogtreecommitdiff
path: root/community/gmerlin-avdecoder/PKGBUILD
blob: b697c836d2dbe48f2b17cfb0a17f483e91e5a2bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 66296 2012-02-23 13:44:15Z allan $
# Maintainer: Mateusz Herych <heniekk@gmail.com>

pkgname=gmerlin-avdecoder
pkgver=1.1.0
pkgrel=5
pkgdesc="Media decoding library"
arch=('i686' 'x86_64' 'mips64el')
url="http://gmerlin.sourceforge.net/avdec_frame.html"
license=('GPL')
depends=('gmerlin' 'openjpeg' 'flac' 'smbclient' 'libmad' 'libmpcdec' 'speex'
         'libdca' 'libmpeg2' 'a52dec')
source=(http://downloads.sourceforge.net/sourceforge/gmerlin/gmerlin-avdecoder-$pkgver.tar.gz)
md5sums=('c1ea663e9da631453eec4ac79138b6c5')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  rm -f cpuinfo.sh
  ./configure --prefix=/usr --without-doxygen
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}