2009-04-20 04:48:56 +00:00
|
|
|
# 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
|
2011-10-24 12:14:47 +00:00
|
|
|
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)"
|
2014-05-24 07:40:31 +00:00
|
|
|
depends="iceauth hicolor-icon-theme desktop-file-utils"
|
2014-01-01 15:10:11 +00:00
|
|
|
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"
|
2009-04-20 04:48:56 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-04-19 15:23:18 +00:00
|
|
|
license="GPL-2"
|
2012-10-11 08:56:58 +00:00
|
|
|
homepage="http://xfce.org"
|
2014-05-24 07:40:31 +00:00
|
|
|
distfiles="http://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
|
2013-05-06 08:29:03 +00:00
|
|
|
checksum=0154fabdc398798c3445374ccc52a2f5bcb2d867fc94bc54114395b24f9cfc83
|
2009-04-20 04:48:56 +00:00
|
|
|
|
2014-07-28 07:05:38 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="systemd"
|
|
|
|
|
2013-10-28 10:45:06 +00:00
|
|
|
pre_configure() {
|
2014-07-28 07:05:38 +00:00
|
|
|
NOCONFIGURE=1 xdt-autogen
|
2013-10-28 10:45:06 +00:00
|
|
|
}
|
2014-07-28 10:44:51 +00:00
|
|
|
post_install() {
|
|
|
|
# startxfce4 needs bash.
|
|
|
|
replace_interpreter bash ${DESTDIR}/usr/bin/startxfce4
|
|
|
|
}
|
2013-10-28 10:45:06 +00:00
|
|
|
|
2013-04-14 16:42:25 +00:00
|
|
|
xfce4-session-devel_package() {
|
2013-10-28 10:45:06 +00:00
|
|
|
depends="libxfce4ui-devel xfconf-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-06 08:29:03 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:42:25 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-10-28 10:45:06 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 16:42:25 +00:00
|
|
|
}
|
|
|
|
}
|