glibmm: add checkdepends, remove noarch.
This enables all tests to run.
This commit is contained in:
parent
bdb93112da
commit
e03336ba94
1 changed files with 2 additions and 7 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'glibmm'
|
||||
pkgname=glibmm
|
||||
version=2.64.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="glib-devel perl pkg-config"
|
||||
makedepends="libglib-devel libsigc++-devel"
|
||||
checkdepends="glib-networking"
|
||||
short_desc="C++ bindings for GLib"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
|
@ -12,13 +13,7 @@ homepage="https://www.gtkmm.org"
|
|||
distfiles="${GNOME_SITE}/glibmm/${version%.*}/glibmm-${version}.tar.xz"
|
||||
checksum=a75282e58d556d9b2bb44262b6f5fb76c824ac46a25a06f527108bec86b8d4ec
|
||||
|
||||
post_patch() {
|
||||
# remove failing test
|
||||
echo "int main() { return 0; }" > tests/giomm_tls_client/main.cc
|
||||
}
|
||||
|
||||
glibmm-doc_package() {
|
||||
archs=noarch
|
||||
short_desc+=" - documentation"
|
||||
pkg_install() {
|
||||
vmove usr/share/doc
|
||||
|
|
Loading…
Reference in a new issue