Patchwork [v3] libpng: package new tools into a libpng-tools package

login
register
mail settings
Submitter Saul Wold
Date Aug. 5, 2013, 5:01 p.m.
Message ID <1375722060-12906-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/55159/
State Accepted
Commit bd96581c8bb25cc6e7441b8ee72d4e939ddfb0cd
Headers show

Comments

Saul Wold - Aug. 5, 2013, 5:01 p.m.
These tools are useful for fixing older or corrupted
PNG files.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-multimedia/libpng/libpng_1.6.3.bb | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.3.bb b/meta/recipes-multimedia/libpng/libpng_1.6.3.bb
index 11e735c..bf84b3c 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.3.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.3.bb
@@ -19,4 +19,8 @@  inherit autotools binconfig pkgconfig
 # Work around missing symbols
 EXTRA_OECONF_append_arm = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"
 
+PACKAGES =+ "${PN}-tools"
+
+FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix"
+
 BBCLASSEXTEND = "native nativesdk"