misc/libfreetype/version.sed
author sheepluva
Fri, 07 Jun 2013 16:35:48 +0200
branch0.9.19
changeset 9124 955a90b88865
parent 5172 88f2e05288ba
permissions -rw-r--r--
fix issue #664 ("Quick game will fail if the randomly chosen theme is a DLC/custom one")

#! /usr/bin/sed -nf

s/^#define  *FREETYPE_MAJOR  *\([^ ][^ ]*\).*$/freetype_major="\1" ;/p
s/^#define  *FREETYPE_MINOR  *\([^ ][^ ]*\).*$/freetype_minor=".\1" ;/p
s/^#define  *FREETYPE_PATCH  *\([^ ][^ ]*\).*$/freetype_patch=".\1" ;/p