void-packages/srcpkgs/eog/template
2018-03-20 13:44:56 +01:00

36 lines
1.1 KiB
Bash

# Template file for 'eog'
pkgname=eog
version=3.28.0
revision=4
lib32disabled=yes
build_style=meson
configure_args="-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="pkg-config gnome-doc-utils glib-devel
$(vopt_if gir gobject-introspection) itstool"
makedepends="gnome-desktop-devel libpeas-devel lcms2-devel
exempi-devel libexif-devel librsvg-devel"
depends="hicolor-icon-theme desktop-file-utils shared-mime-info"
short_desc="Eye of GNOME graphics viewer program"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2.0-or-later"
distfiles="${GNOME_SITE}/eog/${version%.*}/eog-$version.tar.xz"
checksum=5bfadb2f17ed09c93d8e9cda25d10d2dc215e8d648df56503b1641dd7c890e35
shlib_provides="libeog.so"
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
}
}