2015-09-16 19:37:44 +02:00
|
|
|
# Template build file for 'GThumb'.
|
|
|
|
pkgname=gthumb
|
2016-04-16 07:12:34 +02:00
|
|
|
version=3.4.3
|
2016-04-28 07:55:53 +02:00
|
|
|
revision=2
|
2015-09-16 19:37:44 +02:00
|
|
|
build_style=gnu-configure
|
2016-01-09 12:16:57 +01:00
|
|
|
configure_args="--disable-schemas-compile --disable-static
|
|
|
|
$(vopt_enable tiff) $(vopt_enable clutter)
|
|
|
|
$(vopt_enable gstreamer) $(vopt_enable soup libsoup)
|
|
|
|
$(vopt_enable brasero libbrasero)"
|
2015-09-16 19:37:44 +02:00
|
|
|
hostmakedepends="pkg-config intltool itstool glib-devel"
|
2016-01-09 12:16:57 +01:00
|
|
|
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 gstreamer-devel) $(vopt_if soup libsoup-gnome-devel)
|
|
|
|
$(vopt_if brasero-devel)"
|
2015-09-16 19:37:44 +02:00
|
|
|
short_desc='An image viewer and browser for the GNOME Desktop'
|
|
|
|
maintainer="Enguerrand de Rochefort <voidlinux@rochefort.de>"
|
|
|
|
homepage="http://live.gnome.org/gthumb"
|
|
|
|
license="GPL-3"
|
|
|
|
distfiles="$GNOME_SITE/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
2016-04-16 07:12:34 +02:00
|
|
|
checksum=c10fd12f3bfea31c390c74e8e08f86f16e2159fbd6c806daa025423e0ded825d
|
2016-01-09 12:16:57 +01:00
|
|
|
|
2015-09-16 19:37:44 +02:00
|
|
|
## Package build options
|
2016-01-09 12:16:57 +01:00
|
|
|
build_options="brasero clutter gstreamer soup tiff"
|
|
|
|
desc_option_brasero="Enable burning discs"
|
2015-09-16 19:37:44 +02:00
|
|
|
desc_option_clutter="Enable clutter (for slideshows)"
|
|
|
|
desc_option_soup="Enable webservices"
|
2016-01-09 12:16:57 +01:00
|
|
|
build_options_default="clutter gstreamer soup tiff"
|
|
|
|
|
|
|
|
LDFLAGS="-fPIC"
|
2015-09-16 19:37:44 +02:00
|
|
|
|
|
|
|
gthumb-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/pkgconfig
|
2016-01-09 12:16:57 +01:00
|
|
|
vmove usr/include
|
2015-09-16 19:37:44 +02:00
|
|
|
}
|
|
|
|
}
|