void-packages/srcpkgs/cinnamon/template

49 lines
2.3 KiB
Text
Raw Normal View History

2013-12-16 16:09:19 +00:00
# Template file for 'cinnamon'
pkgname=cinnamon
2015-01-24 09:45:29 +00:00
version=2.4.6
revision=1
wrksrc="Cinnamon-${version}"
2013-12-16 16:09:19 +00:00
short_desc="GNOME3 fork of Linux Mint with GNOME2 aspect"
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile --enable-compile-warnings=no"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
2015-01-24 09:45:29 +00:00
gettext-devel glib-devel intltool xmlto docbook-xml gtk-doc git"
2014-08-30 16:39:43 +00:00
makedepends="cjs-devel clutter-gtk-devel cinnamon-menus-devel gstreamer1-devel
2013-12-16 16:09:19 +00:00
muffin-devel webkitgtk-devel libgnomekbd-devel polkit-devel libcanberra-devel
startup-notification-devel pulseaudio-devel dbus-glib-devel GConf-devel
libgnome-keyring-devel NetworkManager-devel libcroco-devel"
depends="
2015-01-24 09:45:29 +00:00
accountsservice caribou cinnamon-settings-daemon>=2.4 cinnamon-session>=2.4 muffin>=2.4
cinnamon-control-center>=2.4 cinnamon-screensaver>=2.4 cinnamon-translations>=2.4 nemo>=2.4
gnome-themes-standard gnome-backgrounds network-manager-applet pygtk python-dbus python-pam
python-pexpect python-inotify python-lxml python-Pillow polkit-gnome"
2013-12-16 16:09:19 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
2015-01-24 09:45:29 +00:00
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=f0f8b0c56e8c6ee53daa06bea28c04967960eefed601db2f0ae745ca2abe78e1
2013-12-16 16:09:19 +00:00
pre_configure() {
# Add polkit agent to required components
sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' files/usr/share/cinnamon-session/sessions/cinnamon*.session
2013-12-16 16:09:19 +00:00
# fix for the python2 PAM module
sed -i 's:import PAM:import pam:' files/usr/lib/cinnamon-settings/modules/cs_user.py
# Use pkexec instead of gksu
sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users
# Check for the cc-panel path, not for the unneeded binary
sed -i 's|/usr/bin/cinnamon-control-center|/usr/lib/cinnamon-control-center-1/panels|' files/usr/bin/cinnamon-settings
# Cinnamon has no upstream backgrounds, use GNOME backgrounds instead
sed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \
files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py
2015-01-24 09:45:29 +00:00
# Fix selected background color in Cinnamon Settings for Adwaita theme
sed -i 's/@selected_bg_color;/@theme_selected_bg_color;/' \
files/usr/lib/cinnamon-settings/cinnamon-settings.py
2013-12-16 16:09:19 +00:00
NOCONFIGURE=1 ./autogen.sh
}