mate-applets: fix arm and cross builds.
- The invest plugin needs python-gobject, and this one cannot be cross compiled, so that we disable this in native and cross. - libcpufreq is x86 specific, so that it's disabled on !x86.
This commit is contained in:
parent
19844b6dcf
commit
a41bd282d5
|
@ -1,16 +1,16 @@
|
|||
# Template file for 'mate-applets'
|
||||
pkgname=mate-applets
|
||||
version=1.10.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-gtk=2.0 --disable-static
|
||||
--enable-networkmanager --enable-ipv6"
|
||||
hostmakedepends="pkg-config intltool itstool libxslt"
|
||||
hostmakedepends="pkg-config intltool itstool libxslt glib-devel"
|
||||
makedepends="libSM-devel gtk+-devel libmate-panel-devel NetworkManager-devel
|
||||
mate-desktop-devel mate-settings-daemon-devel libgtop-devel libwnck2-devel
|
||||
upower0-devel polkit-devel libxml2-devel libmateweather-devel libnotify-devel
|
||||
libcpufreq-devel gtksourceview2-devel python-gobject-devel mate-icon-theme"
|
||||
depends="python-gobject mate-icon-theme upower0"
|
||||
gtksourceview2-devel mate-icon-theme"
|
||||
depends="mate-icon-theme upower0"
|
||||
pycompile_module="mate_invest"
|
||||
short_desc="Applets for MATE panel"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -18,3 +18,10 @@ license="LGPL-3"
|
|||
homepage="http://mate-desktop.org"
|
||||
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=4670b0e877639f9c585b84b27c3654880ed96aefea596a8b8c20c955a3c0266d
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*)
|
||||
# libcpufreq is x86 specific.
|
||||
makedepends+=" libcpufreq-devel"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue
Block a user