void-packages/srcpkgs/xfce4-session/template

38 lines
1.2 KiB
Text

# Template file for 'xfce4-session'
pkgname=xfce4-session
version=4.10.1
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-systemd"
hostmakedepends="pkg-config intltool xfce4-dev-tools gettext-devel"
makedepends="libxfce4ui-devel gtk+-devel xfconf-devel dbus-glib-devel
libwnck2-devel xfce4-panel-devel systemd-devel polkit-devel desktop-file-utils
libgnome-keyring-devel libSM-devel iceauth upower udisks hicolor-icon-theme"
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.se.xfce.org/src/xfce/xfce4-session/4.10/$pkgname-$version.tar.bz2"
checksum=0154fabdc398798c3445374ccc52a2f5bcb2d867fc94bc54114395b24f9cfc83
pre_configure() {
xdt-autogen
}
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"
}
}
xfce4-session_package() {
depends="upower hicolor-icon-theme desktop-file-utils"
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml"
pkg_install() {
vmove all
}
}