summaryrefslogtreecommitdiff
path: root/extra/ffmpegthumbnailer
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-03 23:14:38 +0000
committerroot <root@rshg054.dnsready.net>2011-09-03 23:14:38 +0000
commit3b18be1752c9fd9fa74eb1314ca97dd61e9ce912 (patch)
tree695198e2351a85f6c3a8fe7ba53ba5e4a4ec2bdd /extra/ffmpegthumbnailer
parentb37ee9de1a430956d9e5958ebd9d7e0dbfc79327 (diff)
Sat Sep 3 23:14:38 UTC 2011
Diffstat (limited to 'extra/ffmpegthumbnailer')
-rw-r--r--extra/ffmpegthumbnailer/PKGBUILD12
-rw-r--r--extra/ffmpegthumbnailer/ffmpegthumbnailer.desktop4
2 files changed, 13 insertions, 3 deletions
diff --git a/extra/ffmpegthumbnailer/PKGBUILD b/extra/ffmpegthumbnailer/PKGBUILD
index 8be79eb47..82a96c06a 100644
--- a/extra/ffmpegthumbnailer/PKGBUILD
+++ b/extra/ffmpegthumbnailer/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: boromil@gmail.com
pkgname=ffmpegthumbnailer
-pkgver=2.0.6
+pkgver=2.0.7
pkgrel=1
pkgdesc="Lightweight video thumbnailer that can be used by file managers."
url="http://code.google.com/p/ffmpegthumbnailer/"
@@ -11,9 +11,11 @@ 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)
+source=(http://ffmpegthumbnailer.googlecode.com/files/$pkgname-$pkgver.tar.gz
+ ffmpegthumbnailer.desktop)
options=(!libtool)
-md5sums=('5003ceaadc1c5a1be1dbb34739a12bab')
+sha1sums=('b8f5371aa995fefd1fb75e306e8cd76e8c9f3a73'
+ 'bdd3ae35a5c6f0e1f4b0c7926f72b3429b2eaa53')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -25,6 +27,10 @@ build() {
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
}
diff --git a/extra/ffmpegthumbnailer/ffmpegthumbnailer.desktop b/extra/ffmpegthumbnailer/ffmpegthumbnailer.desktop
new file mode 100644
index 000000000..79203e5bc
--- /dev/null
+++ b/extra/ffmpegthumbnailer/ffmpegthumbnailer.desktop
@@ -0,0 +1,4 @@
+[Thumbnailer Entry]
+TryExec=ffmpegthumbnailer
+Exec=ffmpegthumbnailer -s %s -i %u -o %o -c png -f -t 10
+MimeType=video/flv;video/webm;video/mkv;video/mp4;video/mpeg;video/avi;video/ogg;video/quicktime;video/x-avi;video/x-flv;video/x-mp4;video/x-mpeg;video/x-webm;video/x-mkv;application/x-extension-webm;video/x-matroska;video/x-ms-wmv;video/x-msvideo;video/x-msvideo/avi;video/x-theora/ogg;video/x-theora/ogv;video/x-ms-asf;video/x-m4v;