2012-08-09 15:59:42 +02:00
|
|
|
# Template file for 'cinnamon'
|
|
|
|
pkgname=cinnamon
|
2012-11-28 20:20:48 +01:00
|
|
|
version=1.6.7
|
2013-03-28 09:10:19 +01:00
|
|
|
revision=2
|
2012-08-09 16:17:03 +02:00
|
|
|
short_desc="The Cinnamon desktop (gnome-shell fork)"
|
2012-08-09 15:59:42 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
|
|
|
long_desc="
|
|
|
|
Cinnamon is a Linux desktop which provides advanced innovative features and
|
|
|
|
a traditional user experience.
|
|
|
|
|
|
|
|
The desktop layout is similar to Gnome 2.
|
|
|
|
The underlying technology is forked from Gnome Shell.
|
|
|
|
The emphasis is put on making users feel at home and providing them with an
|
|
|
|
easy to use and comfortable desktop experience."
|
|
|
|
|
2013-03-28 09:10:19 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
|
|
|
|
configure_args="--disable-schemas-compile --enable-compile-warnings=yes
|
|
|
|
--disable-static --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
|
|
|
|
|
|
|
|
hostmakedepends="pkg-config which gnome-common gettext-devel
|
|
|
|
gnome-doc-utils intltool gobject-introspection"
|
|
|
|
|
|
|
|
makedepends="dbus-glib-devel libxml2-devel gtk+3-devel
|
|
|
|
libmuffin-devel>=1.1.2_2 gjs-devel gnome-menus-devel>=3.6.0 GConf-devel
|
|
|
|
libsoup-devel libcanberra-devel libcroco-devel MesaLib-devel clutter-devel>=1.14
|
|
|
|
polkit-devel NetworkManager-devel libgnome-keyring-devel>=3.6.0
|
|
|
|
gnome-desktop-devel>=3.6.0 gnome-bluetooth-devel>=3.6.0 pulseaudio-devel
|
|
|
|
startup-notification-devel"
|
|
|
|
|
2012-10-19 11:36:45 +02:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
2012-09-27 14:30:38 +02:00
|
|
|
LDFLAGS="-lgthread-2.0"
|
2012-09-20 14:34:50 +02:00
|
|
|
|
2012-10-19 11:36:45 +02:00
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/linuxmint/Cinnamon.git"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone -b ${version} $url ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2012-08-09 15:59:42 +02:00
|
|
|
pre_configure() {
|
2012-09-22 17:14:03 +02:00
|
|
|
_cur="/usr/lib/gnome-session/gnome-session-check-accelerated"
|
|
|
|
_new="/usr/libexec/gnome-session-check-accelerated"
|
|
|
|
|
2012-08-09 16:11:16 +02:00
|
|
|
# Fix path to gnome-session-check-accelerated
|
2012-09-22 17:14:03 +02:00
|
|
|
sed -i -e "s|${_cur}|${_new}|g" \
|
2012-08-09 16:11:16 +02:00
|
|
|
files/usr/share/gnome-session/sessions/cinnamon.session
|
2012-08-09 15:59:42 +02:00
|
|
|
./autogen.sh
|
2012-09-22 17:14:03 +02:00
|
|
|
|
|
|
|
# Workaround for 'Unknown attribute IN (Gtk.ShadowType)' in
|
|
|
|
# cinnamon-settings.
|
|
|
|
sed -i -e "s|Gtk.ShadowType.IN|Gtk.ShadowType.NONE|g" \
|
|
|
|
files/usr/lib/cinnamon-settings/cinnamon-settings.py
|
2012-10-19 11:58:14 +02:00
|
|
|
# Workaround for 'Unknown attribute MODIFIER_TAP in
|
|
|
|
# Gtk.CellRendererAccelMode in cinnamon-settings.
|
|
|
|
sed -i -e "s|Gtk.CellRendererAccelMode.MODIFIER_TAP|Gtk.CellRendererAccelMode.GTK|g" \
|
|
|
|
files/usr/lib/cinnamon-settings/cinnamon-settings.py
|
2012-08-09 15:59:42 +02:00
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
cinnamon_package() {
|
|
|
|
pycompile_dirs="usr/lib/cinnamon-settings usr/lib/cinnamon-menu-editor"
|
|
|
|
depends="desktop-file-utils caribou pulseaudio mesa-demos
|
|
|
|
libmuffin>=1.1.2_2 muffin>=1.1.2_2 python-gconf
|
|
|
|
python-lxml python-imaging"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|