aports/community/libshumate/APKBUILD

45 lines
992 B
Plaintext

# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=libshumate
pkgver=1.2.3
pkgrel=0
pkgdesc="GTK4 widget to display maps"
url="https://gitlab.gnome.org/GNOME/libshumate"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
gobject-introspection-dev
gperf
gtk4.0-dev
json-glib-dev
libsoup3-dev
meson
protobuf-c-dev
vala
"
checkdepends="dbus mesa-dri-gallium xvfb-run"
subpackages="$pkgname-dev $pkgname-lang"
source="https://gitlab.gnome.org/GNOME/libshumate/-/archive/$pkgver/libshumate-$pkgver.tar.gz"
build() {
abuild-meson \
-Db_lto=true \
-Dgtk_doc=false \
-Dvector_renderer=true \
. output
meson compile -C output
}
check() {
dbus-run-session \
xvfb-run -a \
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
f003202a7eaf03ee3bd3f70b2b3a882959efa2e47d412753d13e0e1865569262107cbb11906bed89313c2951bcbe46faea7ad24bc27c0123e775740806d5564a libshumate-1.2.3.tar.gz
"