summaryrefslogtreecommitdiff
path: root/extra/tumbler/PKGBUILD
blob: ffefa723433d9622fd61e0b4c86f8cb404a68229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 138679 2011-09-27 15:18:13Z tpowa $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan Jezek <honzin.jezek@gmail.com>

pkgname=tumbler
pkgver=0.1.22
pkgrel=2
pkgdesc="D-Bus service for applications to request thumbnails"
url="http://git.xfce.org/xfce/tumbler/"
license=('GPL2' 'LGPL')
arch=('i686' 'x86_64')
groups=('xfce4')
depends=('poppler-glib' 'dbus-glib')
makedepends=('intltool' 'ffmpegthumbnailer')
optdepends=('ffmpegthumbnailer:	for video thumbnails'
            'gstreamer0.10: for video thumbnails')
options=('!libtool')
source=(http://archive.xfce.org/src/apps/${pkgname}/0.1/${pkgname}-${pkgver}.tar.bz2
        fix-video-image.patch)

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i ../fix-video-image.patch
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--disable-static \
	--disable-debug
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=$pkgdir install
}
md5sums=('e7ba3b8f21f8f7e736f1e214906b4ca9'
         'be9b0f1c3a4b0be102774c84d5ac29e6')