diff options
author | Vlad Glagolev | 2011-06-24 18:22:13 +0400 |
---|---|---|
committer | Vlad Glagolev | 2011-06-24 18:22:13 +0400 |
commit | 769027dd433ce0136d0e3fb81461ac61462747f0 (patch) | |
tree | f6cb979d14ea933877059dbf69778542931c45cb /x11-libs/cairo | |
parent | 778306f9824138ccc42249e1b7e2ccc4cf32424a (diff) |
cairo: reimplemented version checking
Diffstat (limited to 'x11-libs/cairo')
-rwxr-xr-x | x11-libs/cairo/DEPENDS | 4 | ||||
-rw-r--r-- | x11-libs/cairo/HISTORY | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/x11-libs/cairo/DEPENDS b/x11-libs/cairo/DEPENDS index ba839d65c5..03bcf55a92 100755 --- a/x11-libs/cairo/DEPENDS +++ b/x11-libs/cairo/DEPENDS @@ -1,8 +1,10 @@ +. "$GRIMOIRE/FUNCTIONS" && + depends freetype2 '--enable-ft' && depends fontconfig && depends pixman && -if spell_ok pixman && [[ $(installed_version pixman) < 0.18.4 ]]; then +if spell_ok pixman && is_version_less $(installed_version pixman) 0.18.4; then force_depends pixman fi && diff --git a/x11-libs/cairo/HISTORY b/x11-libs/cairo/HISTORY index 36cde1d483..ba507b1429 100644 --- a/x11-libs/cairo/HISTORY +++ b/x11-libs/cairo/HISTORY @@ -1,3 +1,6 @@ +2011-06-24 Vlad Glagolev <stealth@sourcemage.org> + * DEPENDS: correctly compare versions + 2011-06-20 Vlad Glagolev <stealth@sourcemage.org> * DEPENDS: bumped pixman version requirement |