sbcl 2.1.11 rebuild
[arch-packages.git] / ffmpegthumbnailer / repos / extra-x86_64 / PKGBUILD
blob2c0da6a135aec6f7dcb6421c73b89af95083ec77
1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: boromil@gmail.com
4 pkgname=ffmpegthumbnailer
5 pkgver=2.2.2
6 pkgrel=2
7 pkgdesc="Lightweight video thumbnailer that can be used by file managers."
8 url="https://github.com/dirkvdb/ffmpegthumbnailer"
9 license=('GPL2')
10 arch=('x86_64')
11 depends=('ffmpeg' 'libjpeg' 'libpng')
12 makedepends=('cmake')
13 optdepends=('gvfs: support for gio uris')
14 source=("https://github.com/dirkvdb/$pkgname/archive/$pkgver.tar.gz")
15 sha1sums=('1b35a8afc94edd9135baef9e5259a40b4c0d4d79')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
19   mkdir -p build
20   cd build
21   cmake .. \
22         -DCMAKE_INSTALL_PREFIX=/usr \
23         -DENABLE_GIO=ON \
24         -DENABLE_THUMBNAILER=ON
25   make
28 package() {
29   cd "${srcdir}/${pkgname}-${pkgver}"/build
30   make DESTDIR="${pkgdir}" install