summaryrefslogtreecommitdiff
path: root/community/mlt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mlt/PKGBUILD')
-rw-r--r--community/mlt/PKGBUILD59
1 files changed, 0 insertions, 59 deletions
diff --git a/community/mlt/PKGBUILD b/community/mlt/PKGBUILD
deleted file mode 100644
index 47abd671d..000000000
--- a/community/mlt/PKGBUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-# $Id: PKGBUILD 94893 2013-08-01 06:55:10Z bpiotrowski $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Fabian Schoelzel <myfirstname.mylastname@googlemail.com>
-# Contributor: funkyou <spamopfer@nickname.berlin.de>
-# Contributor: tardo <tardo@nagi-fanboi.net>
-# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
-
-pkgbase=mlt
-pkgname=('mlt' 'mlt-python-bindings')
-pkgver=0.9.0
-pkgrel=3
-pkgdesc="An open source multimedia framework"
-arch=('i686' 'x86_64')
-url="http://www.mltframework.org"
-license=('GPL')
-makedepends=('sdl_image' 'libsamplerate' 'libdv' 'qt4' 'sox' 'libxml2' 'gtk2' 'ffmpeg'
- 'frei0r-plugins' 'swig' 'python2' "jack" "ladspa")
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
- fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch)
-md5sums=('1cd2d73f3ffe77a43980e99aaa4ea06c'
- '8227e7a1b059b1b16901166d2a508317')
-
-build() {
- # mlt
- cd "$srcdir/mlt-$pkgver"
-
- msg "SSE2=$SSE2"
- ./configure --prefix=/usr --disable-gtk2 \
- --avformat-vdpau \
- --avformat-swscale \
- --enable-gpl --enable-gpl3
- make
-
- # mlt python bindings
- cd "$srcdir/mlt-$pkgver/src/swig/python"
- sed -i 's_path=`which python_path=`which python2_' build
- sed -i 's_`python -c_`python2 -c_' build
- sed -i 's#python-config#python2-config#' build
- ./build
-}
-
-package_mlt() {
- depends=('sdl_image' 'libsamplerate' 'libdv' 'sox' 'libxml2' 'ffmpeg' 'frei0r-plugins')
- optdepends=('jack' 'libexif' 'qt4' 'gtk2' "ladspa")
- conflicts=('mlt++<=0.3.8')
-
- cd "$srcdir/mlt-$pkgver"
- make DESTDIR="$pkgdir" install
-}
-
-package_mlt-python-bindings() {
- depends=('python2' 'mlt')
-
- cd "$srcdir/mlt-$pkgver/src/swig/python"
- mkdir -p "$pkgdir/usr/lib/python2.7/"
- install -m755 mlt.py "$pkgdir/usr/lib/python2.7/"
- install -m755 _mlt.so "$pkgdir/usr/lib/python2.7/"
- install -m755 mlt_wrap.o "$pkgdir/usr/lib/python2.7/"
-}