xfce4-session: cross compilation support.

This commit is contained in:
Juan RP 2015-03-01 10:28:53 +01:00
parent 73ac047b4d
commit 3072c3c43a
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@ version=4.12.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-upower --enable-polkit" configure_args="--disable-static --enable-upower --enable-polkit"
hostmakedepends="pkg-config intltool glib-devel iceauth" hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel iceauth"
makedepends="libxfce4ui-devel>=4.12 dbus-glib-devel upower0-devel makedepends="libxfce4ui-devel>=4.12 dbus-glib-devel upower0-devel
libwnck2-devel xfce4-panel-devel>=4.12 libSM-devel polkit-devel" libwnck2-devel xfce4-panel-devel>=4.12 libSM-devel polkit-devel"
depends="iceauth hicolor-icon-theme desktop-file-utils" depends="iceauth hicolor-icon-theme desktop-file-utils"
@ -16,6 +16,10 @@ homepage="http://xfce.org"
distfiles="http://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2" distfiles="http://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
checksum=68c85453b097d3ada573dcb7e72acd06e0fc34531996122c10d20096405b7b06 checksum=68c85453b097d3ada573dcb7e72acd06e0fc34531996122c10d20096405b7b06
pre_configure() {
mkdir m4
NOCONFIGURE=1 xdt-autogen
}
post_install() { post_install() {
# startxfce4 needs bash. # startxfce4 needs bash.
replace_interpreter bash ${DESTDIR}/usr/bin/startxfce4 replace_interpreter bash ${DESTDIR}/usr/bin/startxfce4