34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# Template file for 'libnotify'
|
|
pkgname=libnotify
|
|
version=0.7.9
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)
|
|
-Dgtk_doc=false -Ddocbook_docs=disabled"
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://library.gnome.org/devel/notification-spec/"
|
|
distfiles="${GNOME_SITE}/${pkgname}/0.7/${pkgname}-${version}.tar.xz"
|
|
checksum=66c0517ed16df7af258e83208faaf5069727dfd66995c4bbc51c16954d674761
|
|
|
|
# Package build options
|
|
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
|
|
}
|
|
}
|