void-packages/srcpkgs/libayatana-appindicator/template

33 lines
1.1 KiB
Bash

# Template file for 'libayatana-appindicator'
pkgname=libayatana-appindicator
version=0.5.92
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="tibequadorian <tibequadorian@posteo.de>"
license="LGPL-3.0-or-later"
homepage="https://ayatanaindicators.github.io/"
distfiles="https://github.com/AyatanaIndicators/libayatana-appindicator/archive/${version}.tar.gz"
checksum=adedcf160dae7547971d475b42062cab278d54ec075537e6958ffdbf2d996857
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
}
}