summaryrefslogtreecommitdiff
path: root/extra/thunar-media-tags-plugin/PKGBUILD
blob: 7cdda5203bdfe35cbbb569d88ca97862f66e7952 (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
38
39
40
41
42
43
44
45
46
47
# $Id: PKGBUILD 108077 2011-01-29 12:18:52Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=thunar-media-tags-plugin
pkgver=0.1.2.99.git20110129
pkgrel=1
pkgdesc="adds special features for media files to the Thunar File Manager"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-media-tags-plugin"
groups=('xfce4-goodies')
depends=('taglib' 'thunar')
makedepends=('intltool' 'xfce4-dev-tools')
options=('!libtool')
source=(#http://archive.xfce.org/src/thunar-plugins/${pkgname}/0.1/${pkgname}-${pkgver}.tar.bz2
	# broken master http://git.xfce.org/thunar-plugins/thunar-media-tags-plugin/snapshot/thunar-media-tags-plugin-8d29c1f4672f41baabc84ec02630c79793ead159.tar.bz2
	# thunarx-2 branch 
	#http://git.xfce.org/thunar-plugins/thunar-media-tags-plugin/snapshot/thunar-media-tags-plugin-270924abcab81275dede68d882936c14b238b3ec.tar.bz2
	ftp://ftp.archlinux.org/other/$pkgname/thunar-media-tags-plugin-270924abcab81275dede68d882936c14b238b3ec.tar.bz2
	0001-Switch-to-the-new-tooltip-api-in-gtk-depend-on-gtk-2.patch
	04_fix-implicit-dso-linking.patch)
md5sums=('faf79a2568ae7b76477ddd0d9ffe9380'
         '199e0f657333ed1d09947b7d4fdeb493'
         'b310ccc46752f672a1030c4e17093b77')

build() {
#  cd ${srcdir}/${pkgname}-${pkgver}
  cd ${srcdir}/${pkgname}*
  # fixes for new thunar taken from http://bugzilla.xfce.org/show_bug.cgi?id=6295
  patch -Np1 -i ${srcdir}/0001-Switch-to-the-new-tooltip-api-in-gtk-depend-on-gtk-2.patch
  patch -Np1 -i ${srcdir}/04_fix-implicit-dso-linking.patch
  xdt-autogen
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--localstatedir=/var \
	--disable-static \
	--disable-debug
  make
}

package() {
#  cd ${srcdir}/${pkgname}-${pkgver}
  cd ${srcdir}/${pkgname}*
  make DESTDIR=${pkgdir} install
}