void-packages/srcpkgs/cinnamon-session/template
2016-11-08 08:42:38 +01:00

26 lines
1,022 B
Bash

# Template file for 'cinnamon-session'
pkgname=cinnamon-session
version=3.2.0
revision=1
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=d7c3d951ae0dddef96941c9f08f028a099443888db41981524f618a92624e0ca
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
# Fix gcc6 build for -Wformat-nonliteral
CFLAGS="-Wno-error=format-nonliteral"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}