void-packages/srcpkgs/eom/template

37 lines
1.1 KiB
Bash

# Template file for 'eom'
pkgname=eom
version=1.20.2
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile $(vopt_enable gir introspection)"
hostmakedepends="dbus-glib-devel mate-common
$(vopt_if gir 'gobject-introspection')"
makedepends="dbus-glib-devel exempi-devel libexif-devel libpeas-devel
librsvg-devel mate-desktop-devel mate-icon-theme"
depends="dbus mate-icon-theme"
short_desc="The MATE image viewer"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=05f07cf2702c14938a11dd829aa9768261041ae56fabc28141f6c71697d38010
nocross="libgirepository-devel is nocross"
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
eom-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}