summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libsdl-ttf
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2016-02-15 22:17:49 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-02-25 17:45:49 +0100
commit29c0360331fa286cabaf1ac4470abeea7eb3e14a (patch)
tree0f0fb87d4646898af8904ab3e03e6f0a1ff034ab /meta-oe/recipes-support/libsdl-ttf
parentae71c305b994d5b8c4548938ba545c6add4398ec (diff)
downloadmeta-openembedded-29c0360331fa286cabaf1ac4470abeea7eb3e14a.tar.gz
libsdl-ttf: update to 2.0.11
* Licence changed to Zlib [1] * patch does not apply anymore and does not seem to miss [1] https://www.libsdl.org/projects/SDL_ttf/ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libsdl-ttf')
-rw-r--r--meta-oe/recipes-support/libsdl-ttf/files/configure.patch52
-rw-r--r--meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.11.bb (renamed from meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb)20
2 files changed, 7 insertions, 65 deletions
diff --git a/meta-oe/recipes-support/libsdl-ttf/files/configure.patch b/meta-oe/recipes-support/libsdl-ttf/files/configure.patch
deleted file mode 100644
index de88f0a34..000000000
--- a/meta-oe/recipes-support/libsdl-ttf/files/configure.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1Index: SDL_ttf-2.0.10/configure.in
2===================================================================
3--- SDL_ttf-2.0.10.orig/configure.in 2009-10-12 23:06:38.000000000 +0000
4+++ SDL_ttf-2.0.10/configure.in 2014-07-17 12:33:34.011662505 +0000
5@@ -1,5 +1,4 @@
6 dnl Process this file with autoconf to produce a configure script.
7-AC_INIT(README)
8
9 dnl Set various version strings - taken gratefully from the GTk sources
10
11@@ -11,12 +10,19 @@
12 # if backwards compatibility has been broken,
13 # set BINARY_AGE and INTERFACE_AGE to 0.
14
15-MAJOR_VERSION=2
16-MINOR_VERSION=0
17-MICRO_VERSION=10
18+m4_define([sdlttf_major_version],[2])
19+m4_define([sdlttf_minor_version],[0])
20+m4_define([sdlttf_micro_version],[10])
21+m4_define([sdlttf_version], [sdlttf_major_version.sdlttf_minor_version.sdlttf_micro_version])
22+
23+AC_INIT([SDL_ttf], [sdlttf_version])
24+
25+MAJOR_VERSION=sdlttf_major_version
26+MINOR_VERSION=sdlttf_minor_version
27+MICRO_VERSION=sdlttf_micro_version
28 INTERFACE_AGE=0
29 BINARY_AGE=10
30-VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
31+VERSION=sdlttf_version
32
33 AC_SUBST(MAJOR_VERSION)
34 AC_SUBST(MINOR_VERSION)
35@@ -25,6 +31,8 @@
36 AC_SUBST(BINARY_AGE)
37 AC_SUBST(VERSION)
38
39+AC_CONFIG_MACRO_DIR([acinclude])
40+
41 # libtool versioning
42 LT_INIT([win32-dll])
43
44@@ -42,7 +50,7 @@
45 AC_CANONICAL_HOST
46
47 dnl Setup for automake
48-AM_INIT_AUTOMAKE(SDL_ttf, $VERSION)
49+AM_INIT_AUTOMAKE([foreign])
50
51 dnl Check for tools
52 AC_PROG_LIBTOOL
diff --git a/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb b/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.11.bb
index ad3792e22..0249abe24 100644
--- a/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb
+++ b/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.11.bb
@@ -1,33 +1,27 @@
1SUMMARY = "Simple DirectMedia Layer truetype font library" 1SUMMARY = "Simple DirectMedia Layer truetype font library"
2SECTION = "libs" 2SECTION = "libs"
3DEPENDS = "virtual/libsdl freetype" 3DEPENDS = "virtual/libsdl freetype"
4LICENSE = "LGPLv2.1" 4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" 5LIC_FILES_CHKSUM = "file://COPYING;md5=22800d1b3701377aae0b61ee36f5c303"
6
7PR = "r2"
8 6
9SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \ 7SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
10 file://configure.patch \
11 file://use.pkg-config.for.freetype2.patch \ 8 file://use.pkg-config.for.freetype2.patch \
12" 9"
10SRC_URI[md5sum] = "61e29bd9da8d245bc2471d1b2ce591aa"
11SRC_URI[sha256sum] = "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7"
13 12
14S = "${WORKDIR}/SDL_ttf-${PV}" 13S = "${WORKDIR}/SDL_ttf-${PV}"
15EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config "
16 14
17inherit autotools 15inherit autotools
18 16
19TARGET_CC_ARCH += "${LDFLAGS}"
20
21do_configure_prepend() { 17do_configure_prepend() {
18 # make autoreconf happy
19 touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog
22 20
23 # Removing these files fixes a libtool version mismatch. 21 # Removing these files fixes a libtool version mismatch.
24 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" 22 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
25 23
26 for i in ${MACROS}; do 24 for i in ${MACROS}; do
27 rm -f ${S}/acinclude/$i 25 rm -f ${S}/acinclude/$i
28 done 26 done
29
30} 27}
31
32SRC_URI[md5sum] = "814e6e17e8879254208d23b3b7e0354b"
33SRC_URI[sha256sum] = "7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a"