libappindicator: fix crossbuild
This commit is contained in:
parent
d071c3c935
commit
798040d4f6
1 changed files with 8 additions and 3 deletions
|
@ -4,7 +4,7 @@ version=12.10.0
|
|||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-gtk=3"
|
||||
hostmakedepends="pkg-config python"
|
||||
hostmakedepends="pkg-config python glib-devel"
|
||||
makedepends="gtk+3-devel glib-devel glib-networking libdbusmenu-glib-devel
|
||||
libdbusmenu-gtk3-devel libindicator-devel dbus-glib-devel python-devel
|
||||
python-gobject2-devel pygtk-devel"
|
||||
|
@ -15,11 +15,16 @@ homepage="https://launchpad.net/libappindicator"
|
|||
distfiles="https://launchpad.net/libappindicator/${version%.*}/${version}/+download/libappindicator-${version}.tar.gz"
|
||||
checksum=d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f
|
||||
|
||||
nocross="keeps trying to build python modules on the host"
|
||||
# since this package depends on features that have already been removed in
|
||||
# gtk+4, we need to ignore the depreciated problem. GTK is going away from the
|
||||
# idea of app indicators in taskbars.
|
||||
CFLAGS="-Wno-deprecated-declarations"
|
||||
CFLAGS="-Wno-deprecated-declarations -Wno-error=incompatible-pointer-types"
|
||||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i 's:^py_prefix=`:py_prefix='"$XBPS_CROSS_BASE"'`:' configure
|
||||
fi
|
||||
}
|
||||
|
||||
libappindicator-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue