void-packages/srcpkgs/eom/template

34 lines
1002 B
Bash

# Template file for 'eom'
pkgname=eom
version=1.22.0
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=d4e4014216fd8c5a22fc4755484c45e6b2155e5e5af9018c4f7721826e5c7b24
case "$XBPS_TARGET_MACHINE" in
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
}
}