void-packages/srcpkgs/libnotify/template

36 lines
1.2 KiB
Bash

# Template file for 'libnotify'
pkgname=libnotify
version=0.8.2
revision=1
build_style=meson
build_helper=gir
configure_args="$(vopt_feature gir introspection) -Dgtk_doc=false
-Ddocbook_docs=disabled -Dtests=false"
hostmakedepends="pkg-config glib-devel libxslt docbook-xsl-ns"
makedepends="libglib-devel libpng-devel gdk-pixbuf-devel gtk+3-devel"
short_desc="Desktop notification library"
maintainer="André Cerqueira <acerqueira021@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/libnotify"
changelog="https://gitlab.gnome.org/GNOME/libnotify/-/raw/master/NEWS"
distfiles="https://gitlab.gnome.org/GNOME/libnotify/-/archive/${version}/libnotify-${version}.tar.gz"
checksum=84d6bbcd633ff10eed25226730c52220cd41e362bb183513e5b6a5d1b3c0c12f
# https://gitlab.gnome.org/GNOME/libnotify/-/issues/30
make_check=no
build_options="gir"
build_options_default="gir"
libnotify-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}