media-gfx/simple-scan: fix vala requirements
authorMart Raudsepp <leio@gentoo.org>
Fri, 22 Mar 2019 22:24:42 +0000 (00:24 +0200)
committerMart Raudsepp <leio@gentoo.org>
Fri, 22 Mar 2019 22:33:08 +0000 (00:33 +0200)
simple-scan-3.24 doesn't compile with vala-0.42 due to removed
support of default value for non-automatic property (upstream
simple-scan commit 4b6578d6f3b5b).
Works up to 0.40 and fails with our 0.42.x.

simple-scan-3.30 doesn't compile with older than vala:0.34, due to
lack of Gtk.Menu.popup_at_pointer in older vala versions bundled
gtk+-3.0.vapi (used now to replace deprecated Gtk.Menu.popup call).

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
media-gfx/simple-scan/simple-scan-3.24.1.ebuild
media-gfx/simple-scan/simple-scan-3.30.2.ebuild

index 9cb904fdf738be7eee56063a36746d1927eb788e..b5767b15057fd6a65ecf4be7a2ce585eff23d839 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+VALA_MAX_API_VERSION="0.40"
 inherit gnome2 vala versionator
 
 DESCRIPTION="Simple document scanning utility"
index 716c44ed8446fb85a271eefe04d7a8b8bf6d3ef2..c3f42c9f23b32362d9259cab280262e2994cf40e 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+VALA_MIN_API_VERSION="0.34"
 inherit gnome.org gnome2-utils meson vala xdg
 
 DESCRIPTION="Simple document scanning utility"