40 lines
1.4 KiB
Bash
40 lines
1.4 KiB
Bash
# Template file for 'gthumb'
|
|
pkgname=gthumb
|
|
version=3.6.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile --disable-static
|
|
$(vopt_enable tiff) $(vopt_enable clutter)
|
|
$(vopt_enable gstreamer) $(vopt_enable soup libsoup)
|
|
$(vopt_enable brasero libbrasero)"
|
|
hostmakedepends="pkg-config intltool itstool glib-devel"
|
|
makedepends="webkit2gtk-devel json-glib-devel gnome-desktop-devel
|
|
libsecret-devel librsvg-devel libwebp-devel exiv2-devel
|
|
$(vopt_if tiff tiff-devel) $(vopt_if clutter clutter-gtk-devel)
|
|
$(vopt_if gstreamer gstreamer1-devel) $(vopt_if soup libsoup-gnome-devel)
|
|
$(vopt_if brasero brasero-devel)"
|
|
short_desc='An 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}/gthumb/${version%.*}/gthumb-${version}.tar.xz"
|
|
checksum=c9bf6bb7502659f5e990069527584bb96193f7f5f9492f0bf5f65828f5024b66
|
|
|
|
## Package build options
|
|
build_options="brasero clutter gstreamer soup tiff"
|
|
desc_option_brasero="Enable burning discs"
|
|
desc_option_clutter="Enable clutter (for slideshows)"
|
|
desc_option_soup="Enable webservices"
|
|
build_options_default="clutter gstreamer soup tiff"
|
|
|
|
LDFLAGS="-fPIC"
|
|
|
|
gthumb-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
}
|
|
}
|