summaryrefslogtreecommitdiff
path: root/community/gmerlin/PKGBUILD
blob: adb56b50cc2a1d06be58712767f237d2cbb67045 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id: PKGBUILD 58153 2011-11-07 10:55:45Z spupykin $
# Maintainer: Mateusz Herych <heniekk@gmail.com>

pkgname=gmerlin
pkgver=1.0.0
pkgrel=4
pkgdesc="Multimedia architecture for Linux"
arch=('i686' 'x86_64')
url="http://openmovieeditor.sourceforge.net/HomePage"
license=('GPL')
depends=('gavl' 'libxml2' 'gtk2' 'libxv' 'mesa' 'libvisual' 'libcdio>=0.82' 'musicbrainz' 'mjpegtools')
makedepends=('alsa-lib' 'jack' 'libquicktime' 'pulseaudio' 'v4l-utils')
optdepends=('alsa-lib: for ALSA support'
	    'jack: for JACK support'
	    'libquicktime: for movie encoding'
	    'pulseaudio: for PulseAudio support'
	    'v4l-utils: for video conversion')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
	libpng.patch)
md5sums=('60d3c5081c8685ee7bc1afdfac8f6dc6'
         'c262023434246705296d97bc7337a212')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  rm -rf cpuinfo.sh

  patch -p1 <$srcdir/libpng.patch
  ./configure --prefix=/usr --without-doxygen
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  rm -rf "$pkgdir/usr/share/info/dir"
}