void-packages/srcpkgs/ayatana-ido/template

31 lines
985 B
Bash

# Template file for 'ayatana-ido'
pkgname=ayatana-ido
version=0.9.3
revision=1
build_helper="gir"
build_style=cmake
configure_args="-DENABLE_TESTS=ON"
hostmakedepends="pkg-config gobject-introspection vala"
makedepends="gtk+3-devel glib-devel gtest-devel"
checkdepends="xvfb-run"
short_desc="Ayatana Indicator Display Objects"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://ayatanaindicators.github.io/"
changelog="https://github.com/AyatanaIndicators/ayatana-ido/raw/main/ChangeLog"
distfiles="https://github.com/AyatanaIndicators/ayatana-ido/archive/${version}.tar.gz"
checksum=4df0a21dde4f6e41d2738c7944d1169836d844e5b65364d1897e93766fa93d58
make_check_pre="xvfb-run"
ayatana-ido-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
vmove usr/share/vala
}
}