commit:     2f84c153a05808e95702de9efa8a225149600c11
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 22 22:24:42 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 22:33:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f84c153

media-gfx/simple-scan: fix vala requirements

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 <AT> gentoo.org>

 media-gfx/simple-scan/simple-scan-3.24.1.ebuild | 1 +
 media-gfx/simple-scan/simple-scan-3.30.2.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-gfx/simple-scan/simple-scan-3.24.1.ebuild 
b/media-gfx/simple-scan/simple-scan-3.24.1.ebuild
index 9cb904fdf73..b5767b15057 100644
--- a/media-gfx/simple-scan/simple-scan-3.24.1.ebuild
+++ b/media-gfx/simple-scan/simple-scan-3.24.1.ebuild
@@ -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"

diff --git a/media-gfx/simple-scan/simple-scan-3.30.2.ebuild 
b/media-gfx/simple-scan/simple-scan-3.30.2.ebuild
index 716c44ed844..c3f42c9f23b 100644
--- a/media-gfx/simple-scan/simple-scan-3.30.2.ebuild
+++ b/media-gfx/simple-scan/simple-scan-3.30.2.ebuild
@@ -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"

Reply via email to