diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-multimedia/libpng | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/libpng')
| -rw-r--r-- | meta/recipes-multimedia/libpng/files/run-ptest | 7 | ||||
| -rw-r--r-- | meta/recipes-multimedia/libpng/libpng_1.6.50.bb | 71 |
2 files changed, 0 insertions, 78 deletions
diff --git a/meta/recipes-multimedia/libpng/files/run-ptest b/meta/recipes-multimedia/libpng/files/run-ptest deleted file mode 100644 index 85051a59f5..0000000000 --- a/meta/recipes-multimedia/libpng/files/run-ptest +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | set -eux | ||
| 4 | |||
| 5 | cd src | ||
| 6 | |||
| 7 | make check-TESTS | ||
diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.50.bb b/meta/recipes-multimedia/libpng/libpng_1.6.50.bb deleted file mode 100644 index aa2dc99f10..0000000000 --- a/meta/recipes-multimedia/libpng/libpng_1.6.50.bb +++ /dev/null | |||
| @@ -1,71 +0,0 @@ | |||
| 1 | SUMMARY = "PNG image format decoding library" | ||
| 2 | DESCRIPTION = "An open source project to develop and maintain the reference \ | ||
| 3 | library for use in applications that read, create, and manipulate PNG \ | ||
| 4 | (Portable Network Graphics) raster image files. " | ||
| 5 | HOMEPAGE = "http://www.libpng.org/" | ||
| 6 | SECTION = "libs" | ||
| 7 | LICENSE = "Libpng" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5516d77a3cf75f55a0d37254e3e65a20" | ||
| 9 | DEPENDS = "zlib" | ||
| 10 | |||
| 11 | LIBV = "16" | ||
| 12 | |||
| 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | |||
| 17 | SRC_URI[sha256sum] = "4df396518620a7aa3651443e87d1b2862e4e88cad135a8b93423e01706232307" | ||
| 18 | |||
| 19 | MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/" | ||
| 20 | |||
| 21 | UPSTREAM_CHECK_URI = "http://libpng.org/pub/png/libpng.html" | ||
| 22 | |||
| 23 | BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config" | ||
| 24 | |||
| 25 | inherit autotools binconfig-disabled pkgconfig ptest | ||
| 26 | |||
| 27 | # Work around missing symbols | ||
| 28 | ARMNEON = "${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off", d)}" | ||
| 29 | ARMNEON:aarch64 = "--enable-hardware-optimizations=on" | ||
| 30 | EXTRA_OECONF += "${ARMNEON}" | ||
| 31 | |||
| 32 | PACKAGES =+ "${PN}-tools" | ||
| 33 | |||
| 34 | FILES:${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix ${bindir}/pngcp" | ||
| 35 | |||
| 36 | RDEPENDS:${PN}-ptest += "make bash gawk" | ||
| 37 | |||
| 38 | do_install_ptest() { | ||
| 39 | # Install test scripts to ptest path | ||
| 40 | install -d ${D}${PTEST_PATH}/src/tests | ||
| 41 | install -m 755 ${S}/tests/* ${D}${PTEST_PATH}/src/tests | ||
| 42 | install -m 755 ${S}/test-driver ${D}${PTEST_PATH} | ||
| 43 | install -d ${D}${PTEST_PATH}/src/tests/scripts | ||
| 44 | install -m 755 ${S}/scripts/*.awk ${D}${PTEST_PATH}/src/tests/scripts | ||
| 45 | install -m 644 ${S}/scripts/pnglib* ${S}/scripts/*.c ${S}/scripts/*.def ${S}/scripts/macro.lst ${D}${PTEST_PATH}/src/tests/scripts | ||
| 46 | install -m 644 ${S}/scripts/pnglibconf.h.prebuilt ${D}${PTEST_PATH}/src/tests/scripts/pnglibconf.h | ||
| 47 | install -d ${D}${PTEST_PATH}/src/contrib/tools | ||
| 48 | install -m 755 ${S}/contrib/tools/*.sh ${D}${PTEST_PATH}/src/contrib/tools | ||
| 49 | install -m 644 ${S}/contrib/tools/*.c ${S}/contrib/tools/*.h ${D}${PTEST_PATH}/src/contrib/tools | ||
| 50 | |||
| 51 | # Install .libs directory binaries to ptest path | ||
| 52 | install -m 755 ${B}/.libs/pngtest ${B}/.libs/pngstest ${B}/.libs/pngimage ${B}/.libs/pngunknown ${B}/.libs/pngvalid ${D}${PTEST_PATH}/src | ||
| 53 | |||
| 54 | # Copy png files to ptest path | ||
| 55 | cd ${S} && find contrib -name '*.png' | cpio -pd ${D}${PTEST_PATH}/src | ||
| 56 | |||
| 57 | # Install Makefile and png files | ||
| 58 | install -m 644 ${S}/pngtest.png ${D}${PTEST_PATH}/src | ||
| 59 | install -m 644 ${S}/*.png ${S}/*.h ${S}/*.c ${S}/*.dfa ${B}/pnglibconf.out ${S}/Makefile.am ${S}/Makefile.in ${D}${PTEST_PATH}/src/tests | ||
| 60 | |||
| 61 | sed -e 's/^abs_srcdir = ..*/abs_srcdir = \.\./' \ | ||
| 62 | -e 's/^top_srcdir = ..*/top_srcdir = \.\./' \ | ||
| 63 | -e 's/^srcdir = ..*/srcdir = \./' \ | ||
| 64 | -e 's/^Makefile: ..*/Makefile: /' \ | ||
| 65 | -e 's/check-TESTS: $(check_PROGRAMS)/check-TESTS:/g' \ | ||
| 66 | ${B}/Makefile > ${D}${PTEST_PATH}/src/Makefile | ||
| 67 | |||
| 68 | sed -e 's|#!/bin/awk|#!/usr/bin/awk|g' -i ${D}${PTEST_PATH}/src/tests/scripts/*.awk | ||
| 69 | } | ||
| 70 | |||
| 71 | BBCLASSEXTEND = "native nativesdk" | ||
