void-packages/srcpkgs/xfce4-session/template
2014-11-16 10:32:33 +01:00

39 lines
1.3 KiB
Text

# Template file for 'xfce4-session'
pkgname=xfce4-session
version=4.10.1
revision=8
build_style=gnu-configure
configure_args="--disable-static $(vopt_enable systemd)"
hostmakedepends="pkg-config intltool xfce4-dev-tools glib-devel gettext-devel iceauth"
makedepends="libxfce4ui-devel gtk+-devel xfconf-devel dbus-glib-devel
libwnck2-devel xfce4-panel-devel libSM-devel polkit-devel
$(vopt_if systemd systemd-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=0154fabdc398798c3445374ccc52a2f5bcb2d867fc94bc54114395b24f9cfc83
# Package build options
build_options="systemd"
pre_configure() {
NOCONFIGURE=1 xdt-autogen
}
post_install() {
# startxfce4 needs bash.
replace_interpreter bash ${DESTDIR}/usr/bin/startxfce4
}
xfce4-session-devel_package() {
depends="libxfce4ui-devel xfconf-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}