summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93e4bcc59d921aac01e6df333b72f4c7117c642c (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
# Maintainer: Evert Vorster (evorster@gmail.com)
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=movit-git
pkgver=r923.7af0417
pkgrel=2
pkgdesc="The modern video toolkit"
arch=(x86_64)
url="http://movit.sesse.net/"
license=('GPL')
depends=('fftw' 'libepoxy')
provides=('movit')
conflicts=('movit')
makedepends=('gtest' 'eigen' 'libpng' 'sdl2_image')
optdepends=('libpng12: demo application', 'sdl_image: demo application')
source=('git+http://git.sesse.net/movit')
sha1sums=('SKIP')
#options=(debug !strip)

pkgver() {
  cd movit
  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
	cd movit
	./autogen.sh
        sed -ie 's/libpng12/libpng/g' configure
	./configure --prefix=/usr
	make GTEST_DIR=/usr/src/googletest
}

package() {
	cd movit
	make DESTDIR="${pkgdir}" install 
}