[oe] [PATCH 3/3] libsdl2-ttf: initial add 2.0.12

Andreas Müller schnitzeltony at googlemail.com
Fri Jan 1 23:13:12 UTC 2016


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

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 .../{libsdl-ttf-2.0.10 => files}/configure.patch   |  0
 .../use.pkg-config.for.freetype2.patch             |  0
 .../libsdl-ttf/libsdl2-ttf_2.0.12.bb               | 31 ++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 rename meta-oe/recipes-support/libsdl-ttf/{libsdl-ttf-2.0.10 => files}/configure.patch (100%)
 rename meta-oe/recipes-support/libsdl-ttf/{libsdl-ttf-2.0.10 => files}/use.pkg-config.for.freetype2.patch (100%)
 create mode 100644 meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb

diff --git a/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch b/meta-oe/recipes-support/libsdl-ttf/files/configure.patch
similarity index 100%
rename from meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch
rename to meta-oe/recipes-support/libsdl-ttf/files/configure.patch
diff --git a/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/use.pkg-config.for.freetype2.patch b/meta-oe/recipes-support/libsdl-ttf/files/use.pkg-config.for.freetype2.patch
similarity index 100%
rename from meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/use.pkg-config.for.freetype2.patch
rename to meta-oe/recipes-support/libsdl-ttf/files/use.pkg-config.for.freetype2.patch
diff --git a/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb b/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb
new file mode 100644
index 0000000..47ce115
--- /dev/null
+++ b/meta-oe/recipes-support/libsdl-ttf/libsdl2-ttf_2.0.12.bb
@@ -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"
-- 
2.5.0




More information about the Openembedded-devel mailing list