Skip to content

Commit

Permalink
vala.eclass: Raise minimal vala version
Browse files Browse the repository at this point in the history
  • Loading branch information
leio committed May 20, 2017
1 parent 07a000f commit 616c428
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eclass/vala.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ esac

# @ECLASS-VARIABLE: VALA_MIN_API_VERSION
# @DESCRIPTION:
# Minimum vala API version (e.g. 0.26).
VALA_MIN_API_VERSION=${VALA_MIN_API_VERSION:-0.26}
# Minimum vala API version (e.g. 0.32).
VALA_MIN_API_VERSION=${VALA_MIN_API_VERSION:-0.32}

# @ECLASS-VARIABLE: VALA_MAX_API_VERSION
# @DESCRIPTION:
Expand All @@ -49,7 +49,7 @@ vala_api_versions() {
local minimal_supported_minor_version minor_version

# Dependency atoms are not generated for Vala versions older than 0.${minimal_supported_minor_version}.
minimal_supported_minor_version="26"
minimal_supported_minor_version="32"

for ((minor_version = ${VALA_MAX_API_VERSION#*.}; minor_version >= ${VALA_MIN_API_VERSION#*.}; minor_version = minor_version - 2)); do
if ((minor_version >= minimal_supported_minor_version)); then
Expand Down

0 comments on commit 616c428

Please sign in to comment.