mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 19:22:10 +01:00
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libnotify
|
|
pkgver=0.8.3
|
|
pkgrel=0
|
|
pkgdesc="Desktop notification library"
|
|
url="https://gitlab.gnome.org/GNOME/libnotify"
|
|
arch="all"
|
|
options="!check" # No tests defined when building with meson.
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="
|
|
dbus-dev
|
|
gdk-pixbuf-dev
|
|
gobject-introspection-dev
|
|
gtk+3.0-dev
|
|
meson
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
source="https://download.gnome.org/sources/libnotify/${pkgver%.*}/libnotify-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dtests="$(want_check && echo true || echo false)"\
|
|
-Dintrospection=enabled \
|
|
-Dgtk_doc=false \
|
|
-Dman=false \
|
|
output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
e55073fdf418a4c04375825221edc92ab6a01201b83db2a1f1530f8f91f7da9da32327452b0785251790553517dcc717cfe623142450691b7dd247ec9164cffb libnotify-0.8.3.tar.xz
|
|
"
|