# Template file for 'cinnamon' pkgname=cinnamon version=1.8.8 revision=3 patch_args="-Np1" short_desc="The Cinnamon desktop (gnome-shell fork)" maintainer="Juan RP " 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." build_style=gnu-configure configure_args="--disable-schemas-compile --enable-compile-warnings=yes --disable-static --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt --with-session-tracking=systemd" hostmakedepends="pkg-config which gnome-common gettext-devel gnome-doc-utils intltool gobject-introspection>=1.36.0_2" makedepends="dbus-glib-devel libxml2-devel gtk+3-devel libmuffin-devel>=1.8_2 gjs-devel gnome-menus-devel>=3.8 GConf-devel libsoup-devel libcanberra-devel libcroco-devel MesaLib-devel clutter-devel>=1.14 polkit-devel NetworkManager-devel libgnome-keyring-devel>=3.8 systemd-devel gnome-desktop-devel>=3.8 pulseaudio-devel startup-notification-devel gnome-settings-daemon-compat caribou mesa-demos python-gconf python-lxml python-imaging" do_fetch() { local url="git://github.com/linuxmint/Cinnamon.git" msg_normal "Fetching source from $url ...\n" git clone -b ${version} $url ${pkgname}-${version} } pre_configure() { _cur="/usr/lib/gnome-session/gnome-session-check-accelerated" _new="/usr/libexec/gnome-session-check-accelerated" # Fix path to gnome-session-check-accelerated sed -i -e "s|${_cur}|${_new}|g" \ files/usr/share/gnome-session/sessions/cinnamon.session ./autogen.sh } cinnamon_package() { pycompile_dirs="usr/lib/cinnamon-settings usr/lib/cinnamon-menu-editor" depends="desktop-file-utils caribou pulseaudio mesa-demos libmuffin>=1.8.2 muffin>=1.8.2 gnome-settings-daemon-compat python-gconf python-lxml python-imaging" pkg_install() { vmove all } }