summaryrefslogtreecommitdiff
path: root/community/cinnamon-control-center/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cinnamon-control-center/PKGBUILD')
-rw-r--r--community/cinnamon-control-center/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/community/cinnamon-control-center/PKGBUILD b/community/cinnamon-control-center/PKGBUILD
index 1aba7553d..c066ea4b3 100644
--- a/community/cinnamon-control-center/PKGBUILD
+++ b/community/cinnamon-control-center/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 85223 2013-02-27 18:49:20Z bgyorgy $
+# $Id: PKGBUILD 85563 2013-03-03 05:46:41Z bgyorgy $
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com
# Based on gnome-control-center:
# Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
@@ -6,13 +6,13 @@
pkgname=cinnamon-control-center
pkgver=1.7.1
-pkgrel=2
+pkgrel=3
pkgdesc="The Control Center for Cinnamon"
arch=('i686' 'x86_64')
-depends=('cinnamon' 'cheese' 'libgnomekbd' 'libgtop' 'network-manager-applet')
+depends=('cinnamon' 'cheese' 'libgtop' 'network-manager-applet')
optdepends=('mesa-demos: provides glxinfo for graphics information'
'gnome-color-manager: for color management tasks')
-makedepends=('intltool' 'gnome-common')
+makedepends=('intltool' 'gnome-common' 'libgnomekbd')
url="https://github.com/linuxmint/cinnamon-control-center"
install=cinnamon-control-center.install
license=('GPL')
@@ -42,6 +42,9 @@ build() {
# Fix faces location on User accounts dialog
patch -Np1 -i ../fix-faces-location.patch
+ # Use freedesktop as default sound theme instead of ubuntu (otherwise the Sound panel craches)
+ patch -RNp1 -i debian/patches/98_default_sound_theme.patch
+
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
@@ -67,6 +70,9 @@ package() {
make -C shell DESTDIR="$pkgdir" uninstall
make -C shell DESTDIR="$pkgdir" install-libLTLIBRARIES
+ # Remove Region panel, because it's not compatible with gnome-settings-daemon 3.6
+ make -C panels/region DESTDIR="$pkgdir" uninstall
+
# Remove broken desktop files
rm -R "$pkgdir/usr/share/applications"
rm -R "$pkgdir/etc"