void-packages/srcpkgs/eog/template
2020-03-20 12:22:34 +01:00

38 lines
1.1 KiB
Bash

# Template file for 'eog'
pkgname=eog
version=3.36.0
revision=1
build_helper="gir"
build_style=meson
configure_args="-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="gettext glib-devel itstool pkg-config"
makedepends="exempi-devel gnome-desktop-devel libexif-devel libpeas-devel
librsvg-devel"
depends="desktop-file-utils hicolor-icon-theme shared-mime-info"
short_desc="Eye of GNOME graphics viewer program"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/EyeOfGnome"
distfiles="${GNOME_SITE}/eog/${version%.*}/eog-${version}.tar.xz"
checksum=400308c517a4a3725ab0c7453f5b146b7a22a726eab5538a8c6c373aaebcce3e
shlib_provides="libeog.so"
lib32disabled=yes
build_options="gir"
build_options_default="gir"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libglib-devel"
fi
eog-devel_package() {
depends="${sourcepkg}-${version}_${revision} gtk+3-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/eog/gir-1.0
fi
}
}