void-packages/srcpkgs/cinnamon-session/template
2018-01-26 18:29:56 +01:00

28 lines
1 KiB
Bash

# Template file for 'cinnamon-session'
pkgname=cinnamon-session
version=3.6.1
revision=1
short_desc="The Cinnamon session handler"
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile"
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 upower-devel
elogind-devel GConf-devel libXtst-devel"
depends="cinnamon-desktop desktop-file-utils hicolor-icon-theme elogind"
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=1de855afe097c2fe4d63f0edd4f8876ace2d73620edb65b3c665e91e5a115d9e
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
}