updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / mate-media / PKGBUILD
blob4b90666b79a1fcf2b1b55cb09f395b8baac07d69
1 pkgname=mate-media
2 pkgver=2011.08.31
3 pkgrel=1
4 pkgdesc="MATE Media Tools"
5 arch=(i686 x86_64)
6 license=('GPL')
7 depends=('gstreamer0.10-base-plugins' 'mate-panel' 'libmatenotify' 'pulseaudio')
8 makedepends=('mate-doc-utils' 'pkgconfig' 'mate-settings-daemon' 'intltool' 'mate-icon-theme' 'libpulse')
9 groups=('mate-extras')
10 options=(!emptydirs !libtool)
11 url="http://matsusoft.com.ar/projects"
12 install=mate-media.install
13 source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
14 sha256sums=('9a2051c67bfdb9fc9dd2e55a3c0d733b4b230a3ef1d9c0a5bf2aac11ea068189')
16 build() {
17         cd "${srcdir}/${pkgname}"
19         # brute force
20         mate-doc-prepare --force --copy
21         automake
22         autoconf
23         autoreconf -i --force
24         aclocal
25         intltoolize --automake --copy --force
26         automake --add-missing
28         # Optional Features:
29         #    --enable-pulseaudio     Enable PulseAudio support [default=auto]
30         #    --enable-profiles       enable mate media profiles
31         #    --enable-grecord        enable mate sound recorder
32         #    --enable-gstprops       enable gstreamer properties
33         #    --enable-gstmix         enable gstreamer mixer
34         ./configure --prefix=/usr --sysconfdir=/etc \
35                 --libexecdir=/usr/lib/${pkgname} \
36                 --localstatedir=/var --disable-static \
37                 --disable-schemas-install \
38                 --disable-scrollkeeper \
39                 --enable-pulseaudio \
40                 --enable-profiles --enable-grecord \
41                 --enable-gstprops --enable-gstmix || return 1
43         make || return 1
46 package() {
47         cd "${srcdir}/${pkgname}"
49         make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
50         #rm -f ${pkgdir}/usr/lib/*.la # can be used options=(!libtools)
52         install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
53         mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
54         rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas