xfce4-session: update to 4.14.0.

Switch to libwnck, drop dbus-glib, remove unnecessary --enable-upower
configure flag

Remove xfce4-session-devel as upstream no longer provides libxfsm as a
library.

Fix xlint warnings
This commit is contained in:
Peter Bui 2019-05-24 11:44:21 -04:00 committed by Juan RP
parent 1dc8d56678
commit b72b8291ba
2 changed files with 7 additions and 22 deletions

View file

@ -1 +0,0 @@
xfce4-session

View file

@ -1,36 +1,22 @@
# Template file for 'xfce4-session'
pkgname=xfce4-session
version=4.12.1
revision=2
version=4.14.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-upower --enable-polkit"
configure_args="--disable-static --enable-polkit"
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel iceauth"
makedepends="libxfce4ui-devel dbus-glib-devel upower-devel
libwnck2-devel xfce4-panel-devel libSM-devel polkit-devel"
makedepends="libxfce4ui-devel upower-devel
libwnck-devel xfce4-panel-devel libSM-devel polkit-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"
short_desc="Session manager for the XFCE desktop environment"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
checksum=97d7f2a2d0af7f3623b68d1f04091e02913b28f9555dab8b0d26c8a1299d08fd
checksum=14fb6db74eb69eb400673856ba307a0e57f577cf77c3561a5910151e3d52043f
pre_configure() {
mkdir m4
NOCONFIGURE=1 xdt-autogen
}
post_install() {
# startxfce4 needs bash.
replace_interpreter bash ${DESTDIR}/usr/bin/startxfce4
}
xfce4-session-devel_package() {
depends="libxfce4ui-devel>=4.12 ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}