summaryrefslogtreecommitdiff
path: root/community/thunar-thumbnailers
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/thunar-thumbnailers
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/thunar-thumbnailers')
-rwxr-xr-xcommunity/thunar-thumbnailers/PKGBUILD33
-rw-r--r--community/thunar-thumbnailers/thunar-thumbnailers.install16
2 files changed, 49 insertions, 0 deletions
diff --git a/community/thunar-thumbnailers/PKGBUILD b/community/thunar-thumbnailers/PKGBUILD
new file mode 100755
index 000000000..4772f1339
--- /dev/null
+++ b/community/thunar-thumbnailers/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 35176 2010-12-16 23:26:22Z andrea $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: boromil@gmail.com
+
+pkgname=thunar-thumbnailers
+pkgver=0.4.1
+pkgrel=3
+pkgdesc="The thunar-thumbnailers project provides additional thumbnailers for Thunar, that also cover less common file formats"
+url="http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers/"
+license=('GPL2')
+arch=('i686' 'x86_64')
+groups=('xfce4-goodies')
+depends=('imagemagick' 'ffmpegthumbnailer')
+optdepends=('raw-thumbnailer: support for Raw Digital Camera Images'
+ 'dcraw: support for Raw Digital Camera Image')
+makedepends=('raw-thumbnailer' 'dcraw' 'unzip')
+options=('!libtool')
+install=thunar-thumbnailers.install
+source=(http://archive.xfce.org/src/apps/${pkgname}/0.4/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('041b8aa0576e15491661741d1868547f')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --enable-ffmpeg --enable-raw \
+ --libexecdir=/usr/lib/xfce4
+
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
diff --git a/community/thunar-thumbnailers/thunar-thumbnailers.install b/community/thunar-thumbnailers/thunar-thumbnailers.install
new file mode 100644
index 000000000..b62faf707
--- /dev/null
+++ b/community/thunar-thumbnailers/thunar-thumbnailers.install
@@ -0,0 +1,16 @@
+post_install() {
+cat << _EOF
+==> important installation notes:
+ ----------------------------------------
+ After installing it is necessary to run:
+ /usr/lib/thunar-vfs-update-thumbnailers-cache-1
+ as a user to regenerate the cache of thumbnailers.
+ You may also need to log out and back in for the new
+ thumbnailers to work.
+_EOF
+
+}
+
+post_upgrade() {
+ post_install
+}