From 0bf910964f8c751030a33916445b7a9c35b9fbe8 Mon Sep 17 00:00:00 2001 From: thomas Date: Tue, 12 Jun 2018 08:51:11 +0200 Subject: [PATCH] libpng15_compat: only install shared libraries Removing the includes inhibits building with the outdated libpng15. Be aware that some (also outdated) projects won't compile anymore if the build 'requires' libpng15. This is caused by packages that still refer to libpng15 in their pkgconfig/*pc files. --- libpng15_compat.be0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libpng15_compat.be0 b/libpng15_compat.be0 index cf3bb32a8..044ee3ef6 100755 --- a/libpng15_compat.be0 +++ b/libpng15_compat.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION libpng15_compat-1.5.30-0 +# BEE_VERSION libpng15_compat-1.5.30-1 SRCURL[0]="https://downloads.sourceforge.net/project/libpng/${PKGNAME}/${PKGVERSION}/libpng-${PKGVERSION}.tar.xz" @@ -19,10 +19,10 @@ mee_install_post() { fi start_cmd rm -f ${D}${BINDIR}/libpng-config - start_cmd rm -f ${D}${INCLUDEDIR}/png.h - start_cmd rm -f ${D}${INCLUDEDIR}/pngconf.h - start_cmd rm -f ${D}${INCLUDEDIR}/pnglibconf.h + start_cmd rm -f ${D}${BINDIR}/libpng15-config + start_cmd rm -fr ${D}${INCLUDEDIR} start_cmd rm -f ${D}${LIBDIR}/libpng.so start_cmd rm -f ${D}${LIBDIR}/pkgconfig/libpng.pc + start_cmd rm -f ${D}${LIBDIR}/pkgconfig/libpng15.pc start_cmd rm -fr ${D}${MANDIR} }