blob: 3fed7aae2df5a9d917c1e1180e6375a545694b39 (
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
|
# $Id: PKGBUILD 23110 2010-08-06 11:01:51Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: boromil@gmail.com
pkgname=ffmpegthumbnailer
pkgver=2.0.7
pkgrel=2
pkgdesc="Lightweight video thumbnailer that can be used by file managers."
url="http://code.google.com/p/ffmpegthumbnailer/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('ffmpeg' 'libjpeg' 'libpng')
optdepends=('gvfs: support for gio uris')
source=("http://ffmpegthumbnailer.googlecode.com/files/$pkgname-$pkgver.tar.gz"
'ffmpegthumbnailer.desktop')
options=('!libtool')
sha1sums=('b8f5371aa995fefd1fb75e306e8cd76e8c9f3a73'
'bdd3ae35a5c6f0e1f4b0c7926f72b3429b2eaa53')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-gio
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# FS#24105: Generate thumbnails in nautilus
install -Dm644 ${srcdir}/ffmpegthumbnailer.desktop \
${pkgdir}/usr/share/thumbnailers/ffmpegthumbnailer.desktop
}
|