1 # Contributor: Connor Behan <connor.behan@gmail.com>
3 pkgname=thunar-extended
6 pkgdesc="Thunar with cursor audio preview and extra options for trash, desktop files and user actions"
8 license=('GPL2' 'LGPL2.1')
9 url="http://thunar.xfce.org"
13 provides=('thunar=1.3.0')
14 depends=('desktop-file-utils' 'libexif>=0.6.19' 'hicolor-icon-theme' 'libnotify' 'udev' \
15 'gtk2' 'exo>=0.6.0' 'libxfce4util>=4.8.1' 'libxfce4ui' 'libpng' 'libjpeg>=8.0.1')
16 makedepends=('intltool' 'pkgconfig' 'gtk-doc' 'xfce4-panel>=4.8' 'xfce4-dev-tools')
17 optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
18 'gamin: for monitoring file changes without gvfs'
19 'xfce4-panel: for trash applet'
20 'tumbler: for thumbnail previews'
21 'thunar-volman: manages removable devices'
22 'thunar-archive-plugin: create and deflate archives'
23 'thunar-media-tags-plugin: view/edit id3/ogg tags')
25 install=thunar.install
26 backup=('etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla')
27 source=(http://archive.xfce.org/src/xfce/thunar/1.3/Thunar-${pkgver}.tar.bz2 more_options.patch uca_num_files.patch preview.patch org.freedesktop.udisks.pkla)
30 cd ${srcdir}/Thunar-${pkgver}
31 patch -Np1 -i ../more_options.patch
32 patch -Np1 -i ../uca_num_files.patch
33 patch -Np1 -i ../preview.patch
35 xdt-autogen || return 1
37 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
38 --localstatedir=/var --disable-static --disable-wallpaper-plugin \
39 --enable-gstreamer --enable-gio-unix --enable-dbus --enable-exif \
40 --enable-pcre --enable-gudev --disable-startup-notification \
41 --enable-notifications --enable-gtk-doc
47 cd ${srcdir}/Thunar-${pkgver}
48 make DESTDIR=${pkgdir} install || return 1
49 sed -i 's:x-directory/gnome-default-handler;::' \
50 ${pkgdir}/usr/share/applications/Thunar-folder-handler.desktop
52 # Install udisks permission file
53 install -dm700 ${pkgdir}/etc/polkit-1/localauthority
54 install -dm755 ${pkgdir}/etc/polkit-1/localauthority/50-local.d
55 install -m644 ${srcdir}/org.freedesktop.udisks.pkla ${pkgdir}/etc/polkit-1/localauthority/50-local.d/
57 md5sums=('ab6f728384c0d925b40afae2f41268f3' '9806ecf2b2795712380b740437ba86a4' '69d88bc605687dd7ca0a0b84ab9da879' '189a505e82851d0c045a20ad2817ffbe' 'a7ddb5eec02d9a8e91a2997862e73cd8')