38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Template file for 'libappindicator'
|
|
pkgname=libappindicator
|
|
version=12.10.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-gtk=3"
|
|
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"
|
|
short_desc="Library to allow applications to export a menu"
|
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="https://launchpad.net/libappindicator"
|
|
distfiles="https://launchpad.net/libappindicator/${version%.*}/${version}/+download/libappindicator-${version}.tar.gz"
|
|
checksum=d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f
|
|
|
|
# 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 -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"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.a
|
|
}
|
|
}
|