void-packages/srcpkgs/mate-desktop/template

37 lines
1.2 KiB
Bash

# Template file for 'mate-desktop'
pkgname=mate-desktop
version=1.28.1
revision=1
build_style=meson
build_helper="gir"
configure_args="$(vopt_bool gir introspection) -Dstartup-notification=enabled"
hostmakedepends="pkg-config gettext glib-devel librsvg-utils iso-codes"
makedepends="gtk+3-devel dconf-devel libXrandr-devel startup-notification-devel
iso-codes gdk-pixbuf-devel libglib-devel"
depends="dconf hicolor-icon-theme dejavu-fonts-ttf"
short_desc="Library with common API for various MATE modules"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/mate-desktop/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/mate-desktop-${version}.tar.xz"
checksum=71ed1bcf775e2cbba4d80a73c33c795d3864e6ce429a37eed875885ac86b206e
make_check=no # only abi check, failure
# Package build options
build_options="gir"
build_options_default="gir"
mate-desktop-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}