void-packages/srcpkgs/gthumb/template
2020-02-14 13:41:58 +01:00

34 lines
1.2 KiB
Bash

# Template file for 'gthumb'
pkgname=gthumb
version=3.8.3
revision=1
build_style=meson
hostmakedepends="gettext pkg-config itstool glib-devel"
makedepends="webkit2gtk-devel json-glib-devel libsecret-devel librsvg-devel
libwebp-devel exiv2-devel gtk+3-devel libraw-devel libchamplain-devel
colord-devel gsettings-desktop-schemas-devel $(vopt_if brasero brasero-devel)
$(vopt_if clutter 'clutter-devel clutter-gtk-devel') $(vopt_if gstreamer gstreamer1-devel)
$(vopt_if soup libsoup-devel)"
short_desc='Image viewer and browser for the GNOME Desktop'
maintainer="Enguerrand de Rochefort <voidlinux@rochefort.de>"
license="GPL-2.0-or-later"
homepage="http://live.gnome.org/gthumb"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=eff9fc5ac2ee251bc780bbe327d1f06ef1f8029ba5aa7959f68a33c992d60fa8
LDFLAGS="-fPIC"
build_options="brasero clutter gstreamer soup"
desc_option_brasero="Enable burning discs"
desc_option_clutter="Enable clutter (for slideshows)"
desc_option_soup="Enable webservices"
build_options_default="clutter gstreamer soup"
gthumb-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
}
}