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/PKGBUILD46
1 files changed, 35 insertions, 11 deletions
diff --git a/community/cinnamon-control-center/PKGBUILD b/community/cinnamon-control-center/PKGBUILD
index f5b764b2e..1aba7553d 100644
--- a/community/cinnamon-control-center/PKGBUILD
+++ b/community/cinnamon-control-center/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 84767 2013-02-24 13:00:25Z faidoc $
+# $Id: PKGBUILD 85223 2013-02-27 18:49:20Z bgyorgy $
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com
# Based on gnome-control-center:
# Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
@@ -6,35 +6,47 @@
pkgname=cinnamon-control-center
pkgver=1.7.1
-pkgrel=1
+pkgrel=2
pkgdesc="The Control Center for Cinnamon"
arch=('i686' 'x86_64')
-depends=('accountsservice' 'cups-pk-helper' 'gnome-bluetooth' 'gnome-desktop' 'gnome-menus'
- 'gnome-online-accounts' 'gnome-settings-daemon' 'gsettings-desktop-schemas' 'gtk3'
- 'libgtop' 'libsocialweb' 'network-manager-applet' 'sound-theme-freedesktop' 'upower'
- 'libpwquality' 'libsystemd' 'libgnomekbd' 'cheese' 'cinnamon')
+depends=('cinnamon' 'cheese' 'libgnomekbd' 'libgtop' 'network-manager-applet')
optdepends=('mesa-demos: provides glxinfo for graphics information'
'gnome-color-manager: for color management tasks')
-makedepends=('gnome-doc-utils' 'intltool' 'gnome-common' 'docbook-xsl')
+makedepends=('intltool' 'gnome-common')
url="https://github.com/linuxmint/cinnamon-control-center"
install=cinnamon-control-center.install
license=('GPL')
options=('!libtool' '!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz"
- "pulse3.0.patch")
+ "pulse3.0.patch"
+ "sound-nua-rename.patch"
+ "fix-audio-input-icons.patch"
+ "fix-faces-location.patch")
sha256sums=('eab36af1accfce7b4d5eaf07a865d7290add07b875ed5e52072c1ad2e8570c1e'
- 'ddf7c99a1d45a7be54e69e90f194e33f3e56a7f294aa369bfb2e541d8241156e')
+ 'ddf7c99a1d45a7be54e69e90f194e33f3e56a7f294aa369bfb2e541d8241156e'
+ '2f49543e4ccabf5c8ce1cd9e4c37e5b291c23cff494eaa671857b2dcf7af4c5b'
+ '2cefa2764db206c9c6258e3f374988056907dda0c5bbeedbc249fc7c058a0d6b'
+ '7360f3e018765e80a7afc5a469c1d54ec3fdeb7e58c867596ef26773fb8e7a8a')
build() {
cd $pkgname-$pkgver
patch -Np1 -i ../pulse3.0.patch
+ # Upstream patch: Change sound module registered name from sound-nua to 'sound'
+ patch -Np1 -i ../sound-nua-rename.patch
+
+ # Fix icons on Sound preferences dialog
+ patch -Np1 -i ../fix-audio-input-icons.patch
+
+ # Fix faces location on User accounts dialog
+ patch -Np1 -i ../fix-faces-location.patch
+
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
- --enable-systemd --with-libsocialweb \
+ --enable-systemd \
--disable-update-mimedb
#https://bugzilla.gnome.org/show_bug.cgi?id=656229
@@ -47,7 +59,19 @@ package() {
make DESTDIR="$pkgdir" install
+ # Remove unused stuff
+ make -C panels/datetime DESTDIR="$pkgdir" uninstall
+ make -C panels/printers DESTDIR="$pkgdir" uninstall
+ make -C panels/sound DESTDIR="$pkgdir" uninstall
+ make -C panels/sound/data DESTDIR="$pkgdir" install
+ make -C shell DESTDIR="$pkgdir" uninstall
+ make -C shell DESTDIR="$pkgdir" install-libLTLIBRARIES
+
+ # Remove broken desktop files
+ rm -R "$pkgdir/usr/share/applications"
+ rm -R "$pkgdir/etc"
+
# Fix a warning
chown 102:0 "$pkgdir/usr/share/polkit-1/rules.d"
chmod 700 "$pkgdir/usr/share/polkit-1/rules.d"
-} \ No newline at end of file
+}