[arch-commits] Commit in ffmpegthumbnailer/trunk (PKGBUILD ffmpegthumbnailer.desktop)
Ronald van Haren
ronald at archlinux.org
Fri Sep 2 16:48:38 UTC 2011
Date: Friday, September 2, 2011 @ 12:48:38
Author: ronald
Revision: 136889
upgpkg: ffmpegthumbnailer 2.0.7-1
update to 2.0.7; FS#24105 generate thumbnails in nautilus
Added:
ffmpegthumbnailer/trunk/ffmpegthumbnailer.desktop
Modified:
ffmpegthumbnailer/trunk/PKGBUILD
---------------------------+
PKGBUILD | 12 +++++++++---
ffmpegthumbnailer.desktop | 4 ++++
2 files changed, 13 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-09-02 16:27:34 UTC (rev 136888)
+++ PKGBUILD 2011-09-02 16:48:38 UTC (rev 136889)
@@ -3,7 +3,7 @@
# Contributor: boromil at 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 @@
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 @@
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
}
Added: ffmpegthumbnailer.desktop
===================================================================
--- ffmpegthumbnailer.desktop (rev 0)
+++ ffmpegthumbnailer.desktop 2011-09-02 16:48:38 UTC (rev 136889)
@@ -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;
More information about the arch-commits
mailing list