updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / totem-mythtv / PKGBUILD
blobbfa25edb35ff79474bc5bf6f388ea7a6e4acf7c2
1 # Contributor: twa022 <twa022@gmail.com>
3 pkgname=totem-mythtv
4 pkgver=2.28.4
5 pkgrel=1
6 url="http://projects.gnome.org/totem/"
7 pkgdesc="Mythtv plugin for Totem."
8 arch=(i686 x86_64)
9 license=('GPL')
10 depends=("totem>=$pkgver" 'gmyth>=0.7.1' 'gmyth-upnp>=0.7.1')
11 makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils>=0.16.0')
12 options=('!libtool' '!emptydirs')
13 install=${pkgname}.install
14 ## Is the .schemas file necessary, one does not get created with make
15 source=(http://ftp.gnome.org/pub/gnome/sources/totem/2.28/totem-${pkgver}.tar.bz2
16         ${pkgname}.schemas)
18 build() {
19   cd "${srcdir}/totem-${pkgver}"
20   ./configure --prefix=/usr --sysconfdir=/etc \
21     --libexecdir=/usr/lib/totem \
22     --localstatedir=/var --disable-static \
23         --disable-browser-plugins \
24         --with-dbus --enable-python \
25         --disable-scrollkeeper --disable-nautilus || return 1
26   cd src/plugins/mythtv
27   make || return 1
28   make DESTDIR="${pkgdir}" install || return 1
29   install -D -m644 ${srcdir}/${pkgname}.schemas ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas
32 md5sums=('a08fca39db3c3e7885c584e0fd533f5a'
33          '3f4336a62214dbf9e93ce3d92c718d96')