GPaste: update to 3.32.0.

This commit is contained in:
Rasmus Thomsen 2019-03-13 22:17:24 +01:00 committed by maxice8
parent cd42184b36
commit 7cab391896

View file

@ -1,31 +1,39 @@
# Template file for 'GPaste'
pkgname=GPaste
version=3.30.2
version=3.32.0
revision=1
wrksrc="gpaste-${version}"
build_helper="gir"
build_style=gnu-configure
configure_args="--disable-static --with-gtk=3.0
--with-controlcenterdir=/usr/share/gnome-control-center/keybindings
$(vopt_enable gir introspection) $(vopt_enable gir gnome-shell-extension)
$(vopt_enable gir introspection) $(vopt_enable gnome_shell gnome-shell-extension)
$(vopt_enable vala vala)"
hostmakedepends="gettext-devel glib-devel intltool pkg-config
$(vopt_if gir gobject-introspection) $(vopt_if vala vala)"
hostmakedepends="gettext-devel glib-devel pkg-config $(vopt_if vala vala)"
makedepends="appstream-glib-devel dbus-devel gdk-pixbuf-devel gtk+3-devel
libglib-devel libXi-devel libXtst-devel libX11-devel $(vopt_if gir gjs-devel)
$(vopt_if gir mutter-devel) $(vopt_if vala vala-devel)"
libglib-devel libXi-devel libXtst-devel libX11-devel $(vopt_if gnome_shell gjs-devel)
$(vopt_if gnome_shell mutter-devel) $(vopt_if vala vala-devel)"
short_desc="Clipboard management system"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
license="BSD-2-Clause"
homepage="https://www.imagination-land.org/tags/GPaste.html"
distfiles="https://www.imagination-land.org/files/gpaste/gpaste-${version}.tar.xz"
checksum=a932adf57804bf085b2fee0fe5efd642ce0e58c68bddf59b6c5e4033caf2290d
checksum=82276c98e7f3707924d3ccf2f23c589099bdcd1cdce2692a02c7b30a2341689c
# Package build options
build_options="gir vala"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir vala"
fi
build_options="gir gnome_shell vala"
desc_option_gnome_shell="Build GNOME Shell integration and extension"
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir gnome_shell vala" ;;
*-musl) ;;
*) build_options_default+=" gir gnome_shell vala" ;;
esac
pre_build() {
export GIR_EXTRA_LIBS_PATH="${wrksrc}/lib/.libs"
}
post_install() {
vlicense COPYING