36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'libnotify'
|
|
pkgname=libnotify
|
|
version=0.8.3
|
|
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=5bcfeff21b6669c009c862e25c42556723f7a46c2c3454fce0fd532ebed715a0
|
|
# 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
|
|
}
|
|
}
|