41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
# Template file for 'gthumb'
|
|
pkgname=gthumb
|
|
version=3.12.6
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Dwebservices=false -Dlibchamplain=true"
|
|
hostmakedepends="gettext pkg-config itstool glib-devel"
|
|
makedepends="json-glib-devel libsecret-devel librsvg-devel
|
|
libwebp-devel exiv2-devel gtk+3-devel libraw-devel libchamplain-devel
|
|
colord-devel gsettings-desktop-schemas-devel libheif-devel libgomp-devel
|
|
$(vopt_if brasero brasero-devel) $(vopt_if clutter 'clutter-devel clutter-gtk-devel')
|
|
$(vopt_if gstreamer gstreamer1-devel)"
|
|
short_desc='Image viewer and browser for the GNOME Desktop'
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://wiki.gnome.org/action/show/Apps/Gthumb"
|
|
changelog="https://gitlab.gnome.org/GNOME/gthumb/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/gthumb/${version%.*}/gthumb-${version}.tar.xz"
|
|
checksum=608770c6c8e73073a1d404b65bd1b761e1ac5dc25e70130ff072488fa92f5c33
|
|
|
|
LDFLAGS="-fPIC"
|
|
|
|
build_options="brasero clutter gstreamer"
|
|
desc_option_brasero="Enable burning discs"
|
|
desc_option_clutter="Enable clutter (for slideshows)"
|
|
build_options_default="clutter gstreamer"
|
|
|
|
post_install() {
|
|
vdoc $FILESDIR/README.voidlinux
|
|
}
|
|
|
|
gthumb-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove usr/share/aclocal
|
|
}
|
|
}
|