mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-14 10:12:28 +02:00
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=libhandy1
|
|
pkgver=1.8.2
|
|
pkgrel=1
|
|
pkgdesc="Library full of GTK+ widgets for mobile phones"
|
|
url="https://gitlab.gnome.org/GNOME/libhandy"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
gtk+3.0-dev
|
|
meson
|
|
py3-setuptools
|
|
vala
|
|
"
|
|
checkdepends="
|
|
adwaita-icon-theme
|
|
ibus
|
|
xvfb-run
|
|
"
|
|
subpackages="$pkgname-dbg $pkgname-dev $pkgname-lang"
|
|
source="https://download.gnome.org/sources/libhandy/${pkgver%.*}/libhandy-$pkgver.tar.xz"
|
|
builddir="$srcdir/libhandy-$pkgver"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dexamples=false \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
xvfb-run -a meson test -t 3 --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
ec48c66a95b1e9158d3e072e1cfab6d538a9235966c790f1e4d4f2ec40a251c8818f505d031285a53ce855da92b7919d3a26aca4160d93241925da1e8cf4b748 libhandy-1.8.2.tar.xz
|
|
"
|