void-packages/srcpkgs/eom/template

35 lines
1 KiB
Bash

# Template file for 'eom'
pkgname=eom
version=1.20.1
revision=2
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.eu>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=35375d5d55128e03c9a4f9e5559878873275c6e182b159058767180ca449347d
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
}
}