diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2014-12-21 12:25:49 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2014-12-21 12:25:49 +0000 |
commit | a152f0fa7eb5dc72ac65695eef740330c0d2a20c (patch) | |
tree | 511a5ac4080704d5643796d1e308df41a327ff3e /eclass | |
parent | Version bump for Gnome 3.14. Clean up old revision. (diff) | |
download | historical-a152f0fa7eb5dc72ac65695eef740330c0d2a20c.tar.gz historical-a152f0fa7eb5dc72ac65695eef740330c0d2a20c.tar.bz2 historical-a152f0fa7eb5dc72ac65695eef740330c0d2a20c.zip |
Add support for vala 0.26
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/vala.eclass | 10 |
2 files changed, 9 insertions, 6 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 5079388361ee..7181058a4f7d 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1468 2014/12/18 16:39:08 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1469 2014/12/21 12:25:49 eva Exp $ + + 21 Dec 2014; Gilles Dartiguelongue <eva@gentoo.org> vala.eclass: + Add support for vala 0.26. 18 Dec 2014; Michael Palimaka <kensington@gentoo.org> cmake-utils.eclass: Declare local CPPFLAGS to avoid multiple appends in cmake-multilib. diff --git a/eclass/vala.eclass b/eclass/vala.eclass index f99e011f1830..10da82d6b33a 100644 --- a/eclass/vala.eclass +++ b/eclass/vala.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vala.eclass,v 1.10 2014/11/11 11:00:24 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vala.eclass,v 1.11 2014/12/21 12:25:49 eva Exp $ # @ECLASS: vala.eclass # @MAINTAINER: @@ -31,8 +31,8 @@ VALA_MIN_API_VERSION=${VALA_MIN_API_VERSION:-0.20} # @ECLASS-VARIABLE: VALA_MAX_API_VERSION # @DESCRIPTION: -# Maximum vala API version (e.g. 0.22). -VALA_MAX_API_VERSION=${VALA_MAX_API_VERSION:-0.24} +# Maximum vala API version (e.g. 0.26). +VALA_MAX_API_VERSION=${VALA_MAX_API_VERSION:-0.26} # @ECLASS-VARIABLE: VALA_USE_DEPEND # @DEFAULT_UNSET @@ -65,7 +65,7 @@ vala_api_versions() { # VALA_MIN_API_VERSION vala_depend() { local u v versions=$(vala_api_versions) - [[ ${VALA_USE_DEPEND} ]] && u="[${VALA_USE_DEPEND}]" + [[ ${VALA_USE_DEPEND} ]] && u="[${VALA_USE_DEPEND}(+)]" echo -n "|| (" for v in ${versions}; do @@ -80,7 +80,7 @@ vala_depend() { # VALA_MAX_API_VERSION, VALA_MIN_API_VERSION, and VALA_USE_DEPEND. vala_best_api_version() { local u v - [[ ${VALA_USE_DEPEND} ]] && u="[${VALA_USE_DEPEND}]" + [[ ${VALA_USE_DEPEND} ]] && u="[${VALA_USE_DEPEND}(+)]" for v in $(vala_api_versions); do has_version "dev-lang/vala:${v}${u}" && echo "${v}" && return done |