diff --git a/srcpkgs/GPaste/template b/srcpkgs/GPaste/template index c7d4e3f1b47..917f2e12ac4 100644 --- a/srcpkgs/GPaste/template +++ b/srcpkgs/GPaste/template @@ -1,23 +1,31 @@ # Template file for 'GPaste' pkgname=GPaste -version=3.28.2 +version=3.30.1 revision=1 +wrksrc="gpaste-${version}" build_style=gnu-configure -configure_args="--disable-static" -hostmakedepends="automake gettext-devel gobject-introspection intltool - pkg-config" -makedepends="appstream-glib-devel gjs-devel libXtst-devel mutter-devel - vala-devel" +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 vala vala)" +hostmakedepends="gettext-devel glib-devel intltool pkg-config + $(vopt_if gir gobject-introspection) $(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)" short_desc="Clipboard management system" -maintainer="Alif Rachmawadi " +maintainer="Rasmus Thomsen " license="BSD-2-Clause" -homepage="http://www.imagination-land.org/tags/GPaste.html" -distfiles="https://github.com/Keruspe/${pkgname}/archive/v${version}.tar.gz" -checksum=c2c68bf8dc75d82de166c27d6b57334b60cd3d4da6cc72bf87e6247ef138ddfd +homepage="https://www.imagination-land.org/tags/GPaste.html" +distfiles="https://www.imagination-land.org/files/gpaste/gpaste-${version}.tar.xz" +checksum=f91909aea025450816816a14daf8cc973dbb371e9cd4304f17d86fe8090ccc18 -pre_configure() { - ./autogen.sh -} +# Package build options +build_options="gir vala" +# Disable gir for cross builds. +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir vala" +fi post_install() { vlicense COPYING