diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-18 08:12:57 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-22 00:01:54 +0200 |
| commit | 9c2b1bae07752bf2c713786621559f1acfb9b2d4 (patch) | |
| tree | a61ec5ed15e9618ef8eb28877e40d9891766907e | |
| parent | e3f791d597137d7facccebddd0bd6d50fb4cf89c (diff) | |
| download | meta-openembedded-9c2b1bae07752bf2c713786621559f1acfb9b2d4.tar.gz | |
libsdl-image: Use "foreign" automake strictness
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta-oe/recipes-multimedia/libsdl-image/libsdl-image/configure.patch | 43 | ||||
| -rw-r--r-- | meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb | 3 |
2 files changed, 45 insertions, 1 deletions
diff --git a/meta-oe/recipes-multimedia/libsdl-image/libsdl-image/configure.patch b/meta-oe/recipes-multimedia/libsdl-image/libsdl-image/configure.patch new file mode 100644 index 0000000000..5299d378eb --- /dev/null +++ b/meta-oe/recipes-multimedia/libsdl-image/libsdl-image/configure.patch | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | Index: SDL_image-1.2.12/configure.in | ||
| 2 | =================================================================== | ||
| 3 | --- SDL_image-1.2.12.orig/configure.in 2012-01-21 01:51:33.000000000 +0000 | ||
| 4 | +++ SDL_image-1.2.12/configure.in 2014-07-18 06:56:56.853466678 +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=1 | ||
| 16 | -MINOR_VERSION=2 | ||
| 17 | -MICRO_VERSION=12 | ||
| 18 | +m4_define([sdlimage_major_version],[1]) | ||
| 19 | +m4_define([sdlimage_minor_version],[2]) | ||
| 20 | +m4_define([sdlimage_micro_version],[12]) | ||
| 21 | +m4_define([sdlimage_version], [sdlimage_major_version.sdlimage_minor_version.sdlimage_micro_version]) | ||
| 22 | + | ||
| 23 | +AC_INIT([SDL_image], [sdlimage_version]) | ||
| 24 | + | ||
| 25 | +MAJOR_VERSION=sdlimage_major_version | ||
| 26 | +MINOR_VERSION=sdlimage_minor_version | ||
| 27 | +MICRO_VERSION=sdlimage_micro_version | ||
| 28 | INTERFACE_AGE=4 | ||
| 29 | BINARY_AGE=12 | ||
| 30 | -VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION | ||
| 31 | +VERSION=sdlimage_version | ||
| 32 | |||
| 33 | AC_SUBST(MAJOR_VERSION) | ||
| 34 | AC_SUBST(MINOR_VERSION) | ||
| 35 | @@ -42,7 +48,7 @@ | ||
| 36 | AC_CANONICAL_HOST | ||
| 37 | |||
| 38 | dnl Setup for automake | ||
| 39 | -AM_INIT_AUTOMAKE(SDL_image, $VERSION) | ||
| 40 | +AM_INIT_AUTOMAKE([foreign]) | ||
| 41 | |||
| 42 | dnl Check for tools | ||
| 43 | AC_PROG_LIBTOOL | ||
diff --git a/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb b/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb index 78f4bf5517..ea8e9eaa30 100644 --- a/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb +++ b/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb | |||
| @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=613734b7586e1580ef944961c6d62227" | |||
| 6 | 6 | ||
| 7 | DEPENDS = "tiff zlib libpng jpeg virtual/libsdl" | 7 | DEPENDS = "tiff zlib libpng jpeg virtual/libsdl" |
| 8 | 8 | ||
| 9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz" | 9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz \ |
| 10 | file://configure.patch" | ||
| 10 | SRC_URI[md5sum] = "a0f9098ebe5400f0bdc9b62e60797ecb" | 11 | SRC_URI[md5sum] = "a0f9098ebe5400f0bdc9b62e60797ecb" |
| 11 | SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699" | 12 | SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699" |
| 12 | 13 | ||
