void-packages/srcpkgs/cinnamon-session/template
2016-09-13 01:28:44 +02:00

27 lines
1 KiB
Bash

# Template file for 'cinnamon-session'
pkgname=cinnamon-session
version=2.8.3
revision=2
short_desc="The Cinnamon session handler"
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile --disable-gconf --disable-systemd"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel dbus-glib-devel glib-devel intltool"
makedepends="gtk+3-devel dbus-devel json-glib-devel libSM-devel
pangox-compat-devel cinnamon-desktop-devel libcanberra-devel upower0-devel"
depends="cinnamon-desktop desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=306eb9448500b15b0d06826b66f438d767d001b706fd345c53b4a91d308ae4a9
_gccver=$(gcc --version|awk '/^gcc \(GCC\)/ { print $3 }')
if [ "${_gccver%%.*}" -gt 5 ]; then
# Fix gcc6 build for -Wformat-nonliteral
CFLAGS="-Wno-error=format-nonliteral"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}