libsdl2-ttf: initial add 2.0.12

it is sdl2 version of libsdl-ttf and reuses patches from libsdl-ttf

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andreas Müller
2016-01-02 00:13:12 +01:00
committed by Martin Jansa
parent 939f6411a1
commit 6bfa97b034
3 changed files with 31 additions and 0 deletions
@@ -0,0 +1,31 @@
SUMMARY = "Simple DirectMedia Layer truetype font library"
SECTION = "libs"
DEPENDS = "virtual/libsdl2 freetype"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=cdd16c6436d6b8fcbdd22a54d68c6dd3"
SRC_URI = " \
http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \
file://use.pkg-config.for.freetype2.patch \
"
S = "${WORKDIR}/SDL2_ttf-${PV}"
#EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config "
inherit autotools
TARGET_CC_ARCH += "${LDFLAGS}"
do_configure_prepend() {
touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
# Removing these files fixes a libtool version mismatch.
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
for i in ${MACROS}; do
rm -f ${S}/acinclude/$i
done
}
SRC_URI[md5sum] = "79787216b56cb4707f39d538f2225e00"
SRC_URI[sha256sum] = "8728605443ea1cca5cad501dc34dc0cb15135d1e575551da6d151d213d356f6e"