mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
42 lines
1 KiB
Text
42 lines
1 KiB
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libnotify
|
|
pkgver=0.8.2
|
|
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 ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
c9eb0630520382228237ae914654e27ba973efe29a27d040c2462016bd3e0704889aabc5d04d51906951cd404d7edd64262860b7636afd03dd76dedcf1f77cae libnotify-0.8.2.tar.xz
|
|
"
|