blob: 364d90813e557795389d0afddf0d2292d442fef8 (
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
71
72
73
74
75
76
77
78
79
|
# $Id: PKGBUILD 89378 2013-04-29 01:43:41Z bgyorgy $
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com>
# Contributor: M0Rf30
# Contributor: unifiedlinux
# Contributor: CReimer
pkgname=cinnamon
pkgver=1.7.7
pkgrel=1
pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
arch=('i686' 'x86_64' 'mips64el')
url="http://cinnamon.linuxmint.com/"
license=('GPL2')
depends=('accountsservice' 'caribou' 'clutter-gtk' 'gjs' 'gnome-bluetooth'
'gnome-icon-theme' 'gnome-menus' 'gnome-settings-daemon' 'gnome-session'
'gnome-themes-standard' 'gstreamer0.10' 'libgnome-keyring' 'librsvg'
'networkmanager' 'muffin' 'pygtk' 'python2-dbus' 'python2-imaging'
'python2-pyinotify' 'python2-lxml' 'webkitgtk3' 'gnome-settings-daemon-compat')
makedepends=('gnome-common' 'intltool')
optdepends=('cinnamon-control-center: extended configurations for Cinnamon'
'cinnamon-screensaver: lock screen'
'gucharmap: show character table from Keyboard applet'
'libgnomekbd: show keyboard layout from Keyboard applet'
'nemo: the official Cinnamon file manager (forked from Nautilus)')
options=('!libtool' '!emptydirs')
install=${pkgname}.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/Cinnamon/tarball/$pkgver"
"keyboard_applet.patch"
"fix-control-center-check.patch"
"gnome-3.8.patch"
"switch-applications.patch"
"fallback-helpers.patch")
md5sums=('a0ed2648d1d95edeac2e45e2c11508fe'
'2b1ece84416c3e4de030be15f1774d82'
'c3f25b06d345d9d36c197cd96e08f496'
'5136c2901dfda09e8b969a8b62b59209'
'3880fa4c5234771644e5b57a1ade4456'
'0dac5a546bf16921a4fdde8525366a24')
build() {
cd ${srcdir}/linuxmint-Cinnamon*
# Python2 fix
sed -i 's|#! /usr/bin/python|#! /usr/bin/python2|' \
files/usr/bin/$pkgname-menu-editor \
files/usr/share/$pkgname/applets/panel-launchers@$pkgname.org/$pkgname-add-panel-launcher.py
find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
# Fix Keyboard applet
# https://github.com/linuxmint/Cinnamon/issues/1337
patch -Np1 -i ../keyboard_applet.patch
# Check for the cc-panel path, not for the unneeded binary
patch -Np1 -i ../fix-control-center-check.patch
# https://github.com/linuxmint/Cinnamon/pull/1888
patch -Np1 -i ../gnome-3.8.patch
# Fix windows switcher keybinding with default settings in GNOME 3.8
patch -Np1 -i ../switch-applications.patch
# Start media keys and mount helpers with the session
patch -Np1 -i ../fallback-helpers.patch
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/cinnamon \
--localstatedir=/var \
--disable-static \
--disable-schemas-compile \
--enable-compile-warnings=yes \
--with-session-tracking=systemd
make
}
package() {
cd ${srcdir}/linuxmint-Cinnamon*
make DESTDIR="${pkgdir}" install
}
|