blob: 9c63f67423063bf8fceaab1ac029c9f8e8ec51ea (
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
|
# Maintainer: Markus Kalb <mk@filmkreis.tu-darmstadt.de>
# Contributor: Stefan Karner <stefan.karner@student.tuwien.ac.at>
pkgname=libsub-git
pkgver=0.r325.79ec1e0
pkgrel=1
pkgdesc="libsub is a small C++ library to read and write subtitles in a few different formats (currently STL, SubRip and DCP)"
arch=('i686' 'x86_64')
url="http://carlh.net/libsub"
license=('GPL')
depends=('libdcp' 'liblocked-sstream' 'libcxml>=0.15.1' 'openssl' 'libxml++>=2.6' 'xmlsec' 'openjpeg' 'libsigc++>=2.0' 'boost-libs>=1.45')
makedepends=('python2' 'boost>=1.45')
provides=('libsub')
conflicts=('libsub')
#source=("libsub-git::git+https://github.com/cth103/libsub.git#branch=1.0")
source=("libsub-git::git://git.carlh.net/git/libsub.git#branch=1.0")
sha512sums=('SKIP')
pkgver() {
cd libsub-git
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
CXXFLAGS="$CXXFLAGS -std=c++11"
cd libsub-git
python2 waf configure --prefix=/usr --enable-debug
python2 waf build
}
package() {
cd libsub-git
python2 waf install --destdir=$pkgdir
}
|