void-packages/srcpkgs/libayatana-appindicator/template

33 lines
1.1 KiB
Bash

# Template file for 'libayatana-appindicator'
pkgname=libayatana-appindicator
version=0.5.93
revision=1
build_helper="gir"
build_style=cmake
configure_args="-DENABLE_BINDINGS_MONO=OFF -DENABLE_BINDINGS_VALA=$(vopt_if vala ON OFF)"
hostmakedepends="pkg-config gobject-introspection $(vopt_if vala vala)"
makedepends="glib-devel gtk+3-devel libdbusmenu-gtk3-devel libayatana-indicator-devel"
short_desc="Ayatana Application Indicators Shared Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://ayatanaindicators.github.io/"
distfiles="https://github.com/AyatanaIndicators/libayatana-appindicator/archive/${version}.tar.gz"
checksum=cbefed7a918a227bf71286246e237fcd3a9c8499b3eaac4897811a869409edf0
build_options="vala"
build_options_default="vala"
libayatana-appindicator-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
}
}