summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1cff6b377f00bcef63e4e34f126c9c4a1d14aba4 (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: Markus Kalb <mk@filmkreis.tu-darmstadt.de>
# Contributor: Stefan Karner <stefan.karner@student.tuwien.ac.at>
pkgname=dcpomatic-git
pkgver=0.r8125.5f2676f
pkgrel=1
pkgdesc="A free, open-source program to generate Digital Cinema Packages (DCPs) from videos or images"
arch=('i686' 'x86_64')
url="http://dcpomatic.com/"
license=('GPL2')
depends=('pangomm>=1.4' 'libcxml>=0.15.1' 'libdcp' 'libsub' 'ffmpeg' 'glib2' 'imagemagick' 'openjpeg>=1.5.0' 'openjpeg<=1.5.2' 'libssh' 'wxgtk>=3.0.1' 'libquickmail>=0.1.19' 'libzip' 'xz' 'libsndfile')
makedepends=('python2' 'boost>=1.45' 'git')
provides=('dcpomatic')
conflicts=('dcpomatic')
source=('dcpomatic-git::git://git.carlh.net/git/dcpomatic.git')
sha256sums=('SKIP')

pkgver() {
    cd dcpomatic-git
    printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


build() {
    PKG_CONFIG_LIBDIR="/usr/lib64/pkgconfig/:/usr/lib/pkgconfig/:$PKG_CONFIG_LIBDIR"
    CXXFLAGS="$CXXFLAGS    --std=c++11"
    cd  dcpomatic-git
    python waf configure --prefix=/usr
    python waf build
}


package() {
    cd dcpomatic-git
    python waf install --destdir=$pkgdir
}