void-packages/srcpkgs/eog/template
2018-07-26 00:08:50 -03:00

36 lines
1.1 KiB
Bash

# Template file for 'eog'
pkgname=eog
version=3.28.3
revision=1
build_style=meson
configure_args="-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="glib-devel gnome-doc-utils itstool pkg-config
$(vopt_if gir 'gobject-introspection')"
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.eu>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/eog/${version%.*}/eog-${version}.tar.xz"
checksum=37aeddfbf440751fce23bfae491184e3b5c618ebf9d56f491bac37896ada48d2
shlib_provides="libeog.so"
lib32disabled=yes
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
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
}
}