blob: 3072717717a5101a41f47cb3d93cfddd878b782b (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# $Id: PKGBUILD 105085 2014-01-31 11:55:11Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>
pkgbase=mate-settings-daemon
pkgname=("${pkgbase}-pulseaudio" "${pkgbase}-gstreamer")
pkgver=1.6.2
pkgrel=6
pkgdesc="The MATE Settings daemon"
url="http://mate-desktop.org"
arch=('i686' 'x86_64')
license=('GPL')
depends=('dbus-glib' 'dconf' 'fontconfig' 'gstreamer0.10-base' 'gtk2'
'libcanberra-pulse' 'libmatekbd' 'libnotify' 'libxt' 'mate-desktop'
'nss' 'polkit' 'pulseaudio-alsa')
makedepends=('mate-common' 'perl-xml-parser')
source=("http://pub.mate-desktop.org/releases/1.6/${pkgbase}-${pkgver}.tar.xz")
sha1sums=('76c50bddcffd6b0415b058c828784bcd11c034ee')
install=${pkgbase}.install
build() {
cd "${srcdir}"
cp -a ${pkgbase}-${pkgver}{,-gstreamer}
# build for pulseaudio
cd "${srcdir}/${pkgbase}-${pkgver}"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/${pkgbase} \
--sysconfdir=/etc \
--enable-polkit \
--enable-pulse \
--disable-gstreamer \
--disable-static
make
# build for gstreamer
cd "${srcdir}/${pkgbase}-${pkgver}-gstreamer"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/${pkgbase} \
--sysconfdir=/etc \
--enable-polkit \
--enable-gstreamer \
--disable-pulse \
--disable-static
make
}
package_mate-settings-daemon-pulseaudio() {
groups=('mate')
pkgdesc="The MATE Settings daemon (pulseaudio)"
depends=('dbus-glib' 'dconf' 'fontconfig' 'gtk2' 'libcanberra-pulse'
'libmatekbd' 'libnotify' 'libxt' 'mate-desktop' 'nss' 'polkit'
'pulseaudio-alsa')
conflicts=("${pkgbase}-gstreamer" 'mate-media-gstreamer')
provides=("${pkgbase}")
replaces=("${pkgbase}")
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
package_mate-settings-daemon-gstreamer() {
pkgdesc="The MATE Settings daemon (GStreamer)"
depends=('dbus-glib' 'dconf' 'fontconfig' 'gstreamer0.10-base' 'gtk2'
'libmatekbd' 'libnotify' 'libxt' 'mate-desktop' 'nss' 'polkit')
conflicts=("${pkgbase}-pulseaudio" 'mate-media-pulseaudio')
provides=("${pkgbase}")
cd "${srcdir}/${pkgbase}-${pkgver}-gstreamer"
make DESTDIR="${pkgdir}" install
}
|