4 pkgdesc="MATE Media Tools"
7 depends=('gstreamer0.10-base-plugins' 'mate-panel' 'libmatenotify' 'pulseaudio')
8 makedepends=('mate-doc-utils' 'pkgconfig' 'mate-settings-daemon' 'intltool' 'mate-icon-theme' 'libpulse')
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')
17 cd "${srcdir}/${pkgname}"
20 mate-doc-prepare --force --copy
25 intltoolize --automake --copy --force
26 automake --add-missing
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 \
40 --enable-profiles --enable-grecord \
41 --enable-gstprops --enable-gstmix || return 1
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