diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2018-08-16 20:27:47 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-19 16:09:28 -0700 |
commit | 23561de348d225aba3d01bb1b7355bbd43b309ba (patch) | |
tree | 321a118e9db9bc47bfb97d3aa8985b67b15ca12f /meta-oe/recipes-multimedia | |
parent | 227b687ecd3e92f979d2297982ef72142a3c798b (diff) | |
download | meta-openembedded-23561de348d225aba3d01bb1b7355bbd43b309ba.tar.gz |
move all libsdl recipes in one folder and follow oe-core's folder for libsdl
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia')
6 files changed, 0 insertions, 193 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 deleted file mode 100644 index 5299d378e..000000000 --- a/meta-oe/recipes-multimedia/libsdl-image/libsdl-image/configure.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
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 deleted file mode 100644 index ea8e9eaa3..000000000 --- a/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer image library" | ||
2 | SECTION = "libs" | ||
3 | |||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=613734b7586e1580ef944961c6d62227" | ||
6 | |||
7 | DEPENDS = "tiff zlib libpng jpeg virtual/libsdl" | ||
8 | |||
9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz \ | ||
10 | file://configure.patch" | ||
11 | SRC_URI[md5sum] = "a0f9098ebe5400f0bdc9b62e60797ecb" | ||
12 | SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699" | ||
13 | |||
14 | S = "${WORKDIR}/SDL_image-${PV}" | ||
15 | |||
16 | inherit autotools pkgconfig | ||
17 | |||
18 | export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config" | ||
19 | |||
20 | # Disable the run-time loading of the libs and bring back the soname dependencies. | ||
21 | EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared" | ||
22 | |||
23 | do_configure_prepend() { | ||
24 | # Removing these files fixes a libtool version mismatch. | ||
25 | rm -f ${S}/acinclude/libtool.m4 | ||
26 | rm -f ${S}/acinclude/sdl.m4 | ||
27 | rm -f ${S}/acinclude/pkg.m4 | ||
28 | rm -f ${S}/acinclude/lt~obsolete.m4 | ||
29 | rm -f ${S}/acinclude/ltoptions.m4 | ||
30 | rm -f ${S}/acinclude/ltsugar.m4 | ||
31 | rm -f ${S}/acinclude/ltversion.m4 | ||
32 | } | ||
diff --git a/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb b/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb deleted file mode 100644 index 1f9c794c7..000000000 --- a/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.1.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer image library v2" | ||
2 | SECTION = "libs" | ||
3 | |||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=ec65b9778f5584a0bd8dfc17d6340ba0" | ||
6 | |||
7 | DEPENDS = "tiff zlib libpng jpeg virtual/libsdl2 libwebp" | ||
8 | |||
9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz" | ||
10 | SRC_URI[md5sum] = "d94b94555ba022fa249a53a021dc3606" | ||
11 | SRC_URI[sha256sum] = "3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64" | ||
12 | |||
13 | S = "${WORKDIR}/SDL2_image-${PV}" | ||
14 | |||
15 | inherit autotools pkgconfig | ||
16 | |||
17 | # Disable the run-time loading of the libs and bring back the soname dependencies. | ||
18 | EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared" | ||
19 | |||
20 | do_configure_prepend() { | ||
21 | # make autoreconf happy | ||
22 | touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog | ||
23 | # Removing these files fixes a libtool version mismatch. | ||
24 | rm -f ${S}/acinclude/libtool.m4 | ||
25 | rm -f ${S}/acinclude/sdl2.m4 | ||
26 | rm -f ${S}/acinclude/pkg.m4 | ||
27 | rm -f ${S}/acinclude/lt~obsolete.m4 | ||
28 | rm -f ${S}/acinclude/ltoptions.m4 | ||
29 | rm -f ${S}/acinclude/ltsugar.m4 | ||
30 | rm -f ${S}/acinclude/ltversion.m4 | ||
31 | } | ||
diff --git a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch deleted file mode 100644 index 4c9e8d094..000000000 --- a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | diff -Nurd SDL_mixer-1.2.12/configure.in SDL_mixer-1.2.12/configure.in | ||
2 | --- SDL_mixer-1.2.12/configure.in 2012-01-16 00:01:05.000000000 +0200 | ||
3 | +++ SDL_mixer-1.2.12/configure.in 2012-12-15 04:08:04.627871456 +0200 | ||
4 | @@ -1,6 +1,5 @@ | ||
5 | dnl Process this file with autoconf to produce a configure script. | ||
6 | AC_INIT(README) | ||
7 | -AC_CONFIG_AUX_DIR(build-scripts) | ||
8 | |||
9 | dnl Set various version strings - taken gratefully from the GTk sources | ||
10 | |||
11 | @@ -40,10 +39,6 @@ | ||
12 | AC_SUBST(LT_REVISION) | ||
13 | AC_SUBST(LT_AGE) | ||
14 | |||
15 | -dnl Detect the canonical build and host environments | ||
16 | -AC_CONFIG_AUX_DIRS($srcdir/build-scripts) | ||
17 | -dnl AC_CANONICAL_HOST | ||
18 | - | ||
19 | dnl Check for tools | ||
20 | AC_PROG_LIBTOOL | ||
21 | AC_PROG_CC | ||
diff --git a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb deleted file mode 100644 index c83fcc8da..000000000 --- a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer mixer library" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "virtual/libsdl flac libmikmod libvorbis" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a37a47a0e579e461474cd03b9e05199d" | ||
6 | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PV}.tar.gz \ | ||
8 | file://configure.patch \ | ||
9 | " | ||
10 | |||
11 | SRC_URI[md5sum] = "e03ff73d77a55e3572ad0217131dc4a1" | ||
12 | SRC_URI[sha256sum] = "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" | ||
13 | |||
14 | S = "${WORKDIR}/SDL_mixer-${PV}" | ||
15 | |||
16 | inherit autotools-brokensep pkgconfig | ||
17 | |||
18 | EXTRA_AUTORECONF += "--include=acinclude" | ||
19 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --enable-music-ogg-tremor LIBS=-L${STAGING_LIBDIR}" | ||
20 | |||
21 | PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" | ||
22 | |||
23 | do_configure () { | ||
24 | # Remove old libtool macros. | ||
25 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
26 | for i in ${MACROS}; do | ||
27 | rm -f acinclude/$i | ||
28 | done | ||
29 | cp build-scripts/* . || true | ||
30 | rm -rf build-scripts/ | ||
31 | export SYSROOT=$PKG_CONFIG_SYSROOT_DIR | ||
32 | |||
33 | autotools_do_configure | ||
34 | |||
35 | rm config.log | ||
36 | for i in $(find -name "Makefile") ; do | ||
37 | sed -i -e 's:-L/usr/lib:-L${STAGING_LIBDIR}:g' $i | ||
38 | done | ||
39 | } | ||
diff --git a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb deleted file mode 100644 index 718f3f5fd..000000000 --- a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer mixer library V2" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "virtual/libsdl2 flac libmikmod libvorbis" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=95e0c3cf63f71b950911e698a54b7fc5" | ||
6 | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz" | ||
8 | |||
9 | SRC_URI[md5sum] = "aaa0551393993c14a13f72b339c0ed6c" | ||
10 | SRC_URI[sha256sum] = "4e615e27efca4f439df9af6aa2c6de84150d17cbfd12174b54868c12f19c83bb" | ||
11 | |||
12 | S = "${WORKDIR}/SDL2_mixer-${PV}" | ||
13 | |||
14 | inherit autotools-brokensep pkgconfig | ||
15 | |||
16 | EXTRA_AUTORECONF += "--include=acinclude" | ||
17 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --enable-music-ogg-tremor LIBS=-L${STAGING_LIBDIR}" | ||
18 | |||
19 | PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" | ||
20 | |||
21 | do_configure_prepend () { | ||
22 | # Remove old libtool macros. | ||
23 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
24 | for i in ${MACROS}; do | ||
25 | rm -f acinclude/$i | ||
26 | done | ||
27 | } | ||