void-packages/srcpkgs/eom/template

34 lines
1012 B
Bash

# Template file for 'eom'
pkgname=eom
version=1.22.1
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-schemas-compile --enable-introspection"
hostmakedepends="dbus-glib-devel mate-common"
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="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=64d73069ba4db8515a6c2c90fadba87e1c5cac67dd1e102b271f62e537ee970e
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) ;;
*-musl) broken="gobject-introspection" ;;
esac
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
vmove usr/share/gir-1.0
}
}