GPaste: needs (may need) automake

Also remove the build options for gir and vala as they are
required for dependencies anyway.
Needs autotools just like gnome-autoar does when built with
newer kernel headers, musl-1.2.1, and cross toolchain changes.
This commit is contained in:
Jürgen Buchmüller 2020-12-27 17:53:21 +01:00
parent b4391a6c57
commit 292fc3d740

View file

@ -7,12 +7,11 @@ 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 gnome_shell gnome-shell-extension)
$(vopt_enable vala vala)"
hostmakedepends="gettext glib-devel pkg-config $(vopt_if vala vala)"
--enable-introspection --enable-vala $(vopt_enable gnome_shell gnome-shell-extension)"
hostmakedepends="automake gettext glib-devel pkg-config vala"
makedepends="appstream-glib-devel dbus-devel gdk-pixbuf-devel gtk+3-devel
libglib-devel libXi-devel libXtst-devel libX11-devel harfbuzz-devel
$(vopt_if gnome_shell gjs-devel) $(vopt_if gnome_shell mutter-devel) $(vopt_if vala vala-devel)"
$(vopt_if gnome_shell 'gjs-devel mutter-devel') vala-devel"
short_desc="Clipboard management system"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-2-Clause"
@ -20,9 +19,9 @@ homepage="https://www.imagination-land.org/tags/GPaste.html"
distfiles="https://www.imagination-land.org/files/gpaste/gpaste-${version}.tar.xz"
checksum=a27d59fa3f34160389246983c7a8f3bec60c76bd04ff02e8f792cff41eff07ba
build_options="gir gnome_shell vala"
build_options="gnome_shell"
desc_option_gnome_shell="Build GNOME Shell integration and extension"
build_options_default="gir gnome_shell vala"
build_options_default="gnome_shell"
pre_build() {
export GIR_EXTRA_LIBS_PATH="${wrksrc}/lib/.libs"