void-packages/srcpkgs/xfce4-session/template
2015-03-01 10:46:44 +01:00

36 lines
1.2 KiB
Text

# Template file for 'xfce4-session'
pkgname=xfce4-session
version=4.12.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-upower --enable-polkit"
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel iceauth"
makedepends="libxfce4ui-devel>=4.12 dbus-glib-devel upower0-devel
libwnck2-devel xfce4-panel-devel>=4.12 libSM-devel polkit-devel"
depends="iceauth hicolor-icon-theme desktop-file-utils"
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml"
short_desc="The session manager for the XFCE desktop environment"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://xfce.org"
distfiles="http://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
checksum=68c85453b097d3ada573dcb7e72acd06e0fc34531996122c10d20096405b7b06
pre_configure() {
mkdir m4
NOCONFIGURE=1 xdt-autogen
}
post_install() {
# startxfce4 needs bash.
replace_interpreter bash ${DESTDIR}/usr/bin/startxfce4
}
xfce4-session-devel_package() {
depends="libxfce4ui-devel>=4.12 ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}