summaryrefslogtreecommitdiff
path: root/extra/ffmpegthumbnailer/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-23 13:22:09 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-23 13:22:09 -0300
commit2906c522e750f7e013d7af606f01ad849a7d3876 (patch)
treed62491c93d6534817db7f9b7d07adf64b9670b48 /extra/ffmpegthumbnailer/PKGBUILD
parent193046ad8ed67a836ffe11e235296e6201e56ce8 (diff)
parentbd614ac21d2754d778a796cd5e92d1568ec8baec (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/mesa/PKGBUILD extra/nmap/PKGBUILD extra/openmpi/PKGBUILD extra/rasqal/PKGBUILD extra/sqlite/PKGBUILD extra/totem/PKGBUILD extra/xorg-server/PKGBUILD multilib/lib32-e2fsprogs/PKGBUILD multilib/lib32-libcups/PKGBUILD multilib/lib32-mesa/PKGBUILD staging/libreoffice/PKGBUILD testing/udev/PKGBUILD testing/udev/initcpio-hooks-udev testing/udev/initcpio-install-udev
Diffstat (limited to 'extra/ffmpegthumbnailer/PKGBUILD')
-rw-r--r--extra/ffmpegthumbnailer/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/ffmpegthumbnailer/PKGBUILD b/extra/ffmpegthumbnailer/PKGBUILD
index 1b6bc3143..e931b2a3a 100644
--- a/extra/ffmpegthumbnailer/PKGBUILD
+++ b/extra/ffmpegthumbnailer/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=ffmpegthumbnailer
pkgver=2.0.7
-pkgrel=3
+pkgrel=4
pkgdesc="Lightweight video thumbnailer that can be used by file managers."
url="http://code.google.com/p/ffmpegthumbnailer/"
license=('GPL2')
@@ -12,14 +12,18 @@ 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.desktop')
+ 'ffmpegthumbnailer.desktop' 'ffmpegapi_fix_r241.patch')
options=('!libtool')
sha1sums=('b8f5371aa995fefd1fb75e306e8cd76e8c9f3a73'
- 'bdd3ae35a5c6f0e1f4b0c7926f72b3429b2eaa53')
+ 'bdd3ae35a5c6f0e1f4b0c7926f72b3429b2eaa53'
+ '4e1a6a0f06ae3ae322ea44046599ebf3ab693cb6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # Don't use deprecated (removed?) ffmpeg api
+ patch -Np0 -i "${srcdir}/ffmpegapi_fix_r241.patch"
+
./configure --prefix=/usr --enable-gio
make
}
@@ -29,6 +33,7 @@ package() {
make DESTDIR="${pkgdir}" install
# FS#24105: Generate thumbnails in nautilus
+ # FS#26540: Rename to .thumbnailer for nautilus
install -Dm644 "${srcdir}/ffmpegthumbnailer.desktop" \
- "${pkgdir}/usr/share/thumbnailers/ffmpegthumbnailer.desktop"
+ "${pkgdir}/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer"
}