diff options
| -rw-r--r-- | meta-oe/recipes-support/libsdl-ttf/files/configure.patch | 52 | ||||
| -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 de88f0a34a..0000000000 --- a/meta-oe/recipes-support/libsdl-ttf/files/configure.patch +++ /dev/null | |||
| @@ -1,52 +0,0 @@ | |||
| 1 | Index: 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 ad3792e22e..0249abe24a 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 @@ | |||
| 1 | SUMMARY = "Simple DirectMedia Layer truetype font library" | 1 | SUMMARY = "Simple DirectMedia Layer truetype font library" |
| 2 | SECTION = "libs" | 2 | SECTION = "libs" |
| 3 | DEPENDS = "virtual/libsdl freetype" | 3 | DEPENDS = "virtual/libsdl freetype" |
| 4 | LICENSE = "LGPLv2.1" | 4 | LICENSE = "Zlib" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=22800d1b3701377aae0b61ee36f5c303" |
| 6 | |||
| 7 | PR = "r2" | ||
| 8 | 6 | ||
| 9 | SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \ | 7 | SRC_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 | " |
| 10 | SRC_URI[md5sum] = "61e29bd9da8d245bc2471d1b2ce591aa" | ||
| 11 | SRC_URI[sha256sum] = "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7" | ||
| 13 | 12 | ||
| 14 | S = "${WORKDIR}/SDL_ttf-${PV}" | 13 | S = "${WORKDIR}/SDL_ttf-${PV}" |
| 15 | EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config " | ||
| 16 | 14 | ||
| 17 | inherit autotools | 15 | inherit autotools |
| 18 | 16 | ||
| 19 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 20 | |||
| 21 | do_configure_prepend() { | 17 | do_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 | |||
| 32 | SRC_URI[md5sum] = "814e6e17e8879254208d23b3b7e0354b" | ||
| 33 | SRC_URI[sha256sum] = "7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a" | ||
