void-packages/srcpkgs/libnotify/template

32 lines
976 B
Bash

# Template file for 'libnotify'
pkgname=libnotify
version=0.7.7
revision=3
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config glib-devel"
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=9cb4ce315b2655860c524d46b56010874214ec27e854086c1a1d0260137efc04
# 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
}
}