void-packages/srcpkgs/xfce4-session/template

40 lines
1.3 KiB
Text
Raw Normal View History

# Template file for 'xfce4-session'
pkgname=xfce4-session
2013-05-06 08:29:03 +00:00
version=4.10.1
2014-11-16 09:32:33 +00:00
revision=8
build_style=gnu-configure
2014-11-16 09:32:33 +00:00
configure_args="--disable-static $(vopt_enable systemd)"
hostmakedepends="pkg-config intltool xfce4-dev-tools glib-devel gettext-devel iceauth"
2013-05-06 08:29:03 +00:00
makedepends="libxfce4ui-devel gtk+-devel xfconf-devel dbus-glib-devel
2014-11-16 09:32:33 +00:00
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"
2013-05-06 08:29:03 +00:00
short_desc="The session manager for the XFCE desktop environment"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-04-19 15:23:18 +00:00
license="GPL-2"
homepage="http://xfce.org"
distfiles="http://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
2013-05-06 08:29:03 +00:00
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}"
2013-05-06 08:29:03 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}