diff options
Diffstat (limited to 'meta/recipes-multimedia/libpng')
-rw-r--r-- | meta/recipes-multimedia/libpng/libpng/0001-configure-lower-automake-requirement.patch | 31 | ||||
-rw-r--r-- | meta/recipes-multimedia/libpng/libpng_1.6.8.bb | 27 |
2 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libpng/libpng/0001-configure-lower-automake-requirement.patch b/meta/recipes-multimedia/libpng/libpng/0001-configure-lower-automake-requirement.patch new file mode 100644 index 0000000000..bbbca89e8f --- /dev/null +++ b/meta/recipes-multimedia/libpng/libpng/0001-configure-lower-automake-requirement.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From fff7cbc01e061a235852f385866fe75fb17867e3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Valentin Popa <valentin.popa@intel.com> | ||
3 | Date: Tue, 26 Nov 2013 12:06:55 +0200 | ||
4 | Subject: [PATCH] configure: lower automake requirement | ||
5 | |||
6 | We're not using parallel tests in OE-core yet | ||
7 | |||
8 | Signed-off-by: Valentin Popa <valentin.popa@intel.com> | ||
9 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
10 | |||
11 | Upstream-Status: Inapropriate [OE specific build hack] | ||
12 | --- | ||
13 | configure.ac | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 28200c3..fab2515 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -27,7 +27,7 @@ AC_CONFIG_MACRO_DIR([scripts]) | ||
21 | # dist-xz requires automake 1.11 or later | ||
22 | # 1.12.2 fixes a security issue in 1.11.2 and 1.12.1 | ||
23 | # 1.13 is required for parallel tests | ||
24 | -AM_INIT_AUTOMAKE([1.13 foreign dist-xz color-tests silent-rules subdir-objects]) | ||
25 | +AM_INIT_AUTOMAKE([1.12.2 foreign dist-xz color-tests silent-rules subdir-objects]) | ||
26 | # The following line causes --disable-maintainer-mode to be the default to | ||
27 | # configure, this is necessary because libpng distributions cannot rely on the | ||
28 | # time stamps of the autotools generated files being correct | ||
29 | -- | ||
30 | 1.8.3.2 | ||
31 | |||
diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.8.bb b/meta/recipes-multimedia/libpng/libpng_1.6.8.bb new file mode 100644 index 0000000000..d063495f05 --- /dev/null +++ b/meta/recipes-multimedia/libpng/libpng_1.6.8.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "PNG image format decoding library" | ||
2 | HOMEPAGE = "http://www.libpng.org/" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "Libpng" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=44bc22578be94b6536c8bdc3a01e5db9 \ | ||
6 | file://png.h;endline=15;md5=aa42e53406a5ebb9500bae72fa314b6d \ | ||
7 | file://png.h;beginline=209;endline=323;md5=83e13159b5bf0a4d9fb634acbda7cb5b" | ||
8 | DEPENDS = "zlib" | ||
9 | LIBV = "16" | ||
10 | |||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \ | ||
12 | file://0001-configure-lower-automake-requirement.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "51ce71a1642cdde1f4485a7ff82193c0" | ||
16 | SRC_URI[sha256sum] = "24f73d8b5e1d74a9482c81b65c3f93f96c7da7ed0417b8a948a75d2d99133081" | ||
17 | |||
18 | inherit autotools binconfig pkgconfig | ||
19 | |||
20 | # Work around missing symbols | ||
21 | EXTRA_OECONF_append_arm = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}" | ||
22 | |||
23 | PACKAGES =+ "${PN}-tools" | ||
24 | |||
25 | FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix" | ||
26 | |||
27 | BBCLASSEXTEND = "native nativesdk" | ||