summaryrefslogtreecommitdiff
path: root/community/gmerlin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gmerlin/PKGBUILD')
-rw-r--r--community/gmerlin/PKGBUILD30
1 files changed, 21 insertions, 9 deletions
diff --git a/community/gmerlin/PKGBUILD b/community/gmerlin/PKGBUILD
index 097526889..392438eb8 100644
--- a/community/gmerlin/PKGBUILD
+++ b/community/gmerlin/PKGBUILD
@@ -1,24 +1,36 @@
-# $Id: PKGBUILD 43364 2011-03-25 11:11:43Z mherych $
+# $Id: PKGBUILD 54036 2011-08-12 13:08:25Z lfleischer $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
pkgname=gmerlin
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
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')
-optdepends=('esound')
+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')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
options=('!libtool')
md5sums=('60d3c5081c8685ee7bc1afdfac8f6dc6')
+
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
+
rm -rf cpuinfo.sh
- ./configure --prefix=/usr \
- --without-doxygen
- make || return 1
- make DESTDIR=$pkgdir install
- rm -rf $pkgdir/usr/share/info/dir
+
+ ./configure --prefix=/usr --without-doxygen
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir/usr/share/info/dir"
}