mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-21 21:42:17 +01:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libnotify
|
|
pkgver=0.8.4
|
|
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
|
|
docbook-xsl
|
|
gdk-pixbuf-dev
|
|
gobject-introspection-dev
|
|
gtk+3.0-dev
|
|
meson
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
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=true \
|
|
output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
b13163a3b787133700931077591debc9cb89ac917f8fcf46bfb58bcf7eae348601b1e03299786d9af368139278b128424919358a8e7d208621f8b350fd063b0a libnotify-0.8.4.tar.xz
|
|
"
|