summaryrefslogtreecommitdiff
path: root/extra/ffmpegthumbnailer/PKGBUILD
blob: 3042e89bfa16a973f951d75410c76db32f3c5a17 (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
# $Id: PKGBUILD 199810 2013-11-17 05:20:09Z allan $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: boromil@gmail.com

pkgname=ffmpegthumbnailer
pkgver=2.0.8
pkgrel=5
pkgdesc="Lightweight video thumbnailer that can be used by file managers."
url="http://code.google.com/p/ffmpegthumbnailer/"
license=('GPL2')
arch=('i686' 'x86_64' 'mips64el')
depends=('ffmpeg' 'libjpeg' 'libpng')
optdepends=('gvfs: support for gio uris')
source=("http://ffmpegthumbnailer.googlecode.com/files/$pkgname-$pkgver.tar.gz"
        "ffmpegthumbnailer-2.0.8-memcpy.patch")
sha1sums=('2c54ca16efd953f46547e22799cfc40bd9c24533'
          'c23ef173f98c928fcacacd6e6060dab2e56f1239')

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p0 -i "${srcdir}/ffmpegthumbnailer-2.0.8-memcpy.patch"
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --enable-gio --enable-thumbnailer
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}