47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# Template file for 'xfce4-session'
|
|
pkgname=xfce4-session
|
|
version=4.10.1
|
|
revision=7
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool xfce4-dev-tools gettext-devel"
|
|
makedepends="libxfce4ui-devel gtk+-devel xfconf-devel dbus-glib-devel
|
|
libwnck2-devel xfce4-panel-devel libSM-devel systemd-devel polkit-devel
|
|
iceauth desktop-file-utils hicolor-icon-theme"
|
|
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"
|
|
|
|
if [ "$build_option_systemd" ]; then
|
|
configure_args+=" --enable-systemd"
|
|
makedepends+=" systemd-devel"
|
|
else
|
|
configure_args+=" --disable-systemd"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|