archrelease: copy trunk to extra-x86_64
[arch-packages.git] / tumbler / trunk / PKGBUILD
blobc86cf8fb0908b09c9444e45a16883e503db4398d
1 # Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
2 # Contributor: Andreas Radke <andyrtr@archlinux.org>
3 # Contributor: Jan Jezek <honzin.jezek@gmail.com>
5 pkgname=tumbler
6 pkgver=4.16.0
7 pkgrel=3
8 pkgdesc="D-Bus service for applications to request thumbnails"
9 arch=('x86_64')
10 url="https://docs.xfce.org/xfce/tumbler/start"
11 license=('GPL2' 'LGPL')
12 groups=('xfce4')
13 depends=('gdk-pixbuf2')
14 makedepends=('intltool' 'python' 'ffmpegthumbnailer' 'poppler-glib' 'libgsf'
15              'libgepub' 'libopenraw' 'freetype2')
16 optdepends=('ffmpegthumbnailer: video thumbnails'
17             'poppler-glib: PDF thumbnails'
18             'libgsf: ODF thumbnails'
19             'libgepub: EPUB thumbnails'
20             'libopenraw: RAW thumbnails'
21             'freetype2: font thumbnails')
22 backup=('etc/xdg/tumbler/tumbler.rc')
23 source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
24 sha256sums=('9b0b7fed0c64041733d490b1b307297984629d0dd85369749617a8766850af66')
26 prepare() {
27   cd "$srcdir/$pkgname-$pkgver"
29   # Fix build with libopenraw 0.3
30   sed -i 's|libopenraw-gnome-0.1|libopenraw-gnome-0.3|' configure
33 build() {
34   cd "$srcdir/$pkgname-$pkgver"
36   ./configure \
37     --prefix=/usr \
38     --sysconfdir=/etc \
39     --libexecdir=/usr/lib/xfce4 \
40     --disable-static \
41     --disable-debug \
42     --disable-gstreamer-thumbnailer
43   make
46 package() {
47   cd "$srcdir/$pkgname-$pkgver"
48   make DESTDIR="$pkgdir" install
51 # vim:set ts=2 sw=2 et: