34 lines
1.2 KiB
Bash
34 lines
1.2 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"
|
|
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
|
|
|
|
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"
|
|
|
|
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
|
|
}
|
|
}
|