although the latest version is 1.4.3, some API changes happen which are not compatible to some packages (such as libmatchbox using png_check_sig which is abandoned in 1.4 version). I didn't check fully about other broken places, and then be conservative to choose 1.2.44 as the target instead atm. [Patches] REMOVE _makefile_fix.patch_: a specific fix for libtool2.2.2. with 2.2.10, it's not required then [Recipe] - add license checksum - remove old do_install and do_package - clean up package split - remove inherit pkgconfig_stage, since its own Makefile handles it well Signed-off-by: Kevin Tian <kevin.tian@intel.com>
24 lines
772 B
BlitzBasic
24 lines
772 B
BlitzBasic
DESCRIPTION = "PNG Library"
|
|
HOMEPAGE = "http://www.libpng.org/"
|
|
SECTION = "libs"
|
|
PRIORITY = "required"
|
|
LICENSE = "libpng"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a294a2bb08b7f25558119edbfd6b2e92 \
|
|
file://png.h;startline=172;endline=261;md5=3253923f0093658f470e52a06ddcf4e7"
|
|
DEPENDS = "zlib"
|
|
PR = "r0"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2"
|
|
|
|
inherit autotools binconfig pkgconfig
|
|
|
|
PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev"
|
|
|
|
FILES_${PN}12-dbg = "${libdir}/.debug/libpng12*"
|
|
FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}"
|
|
FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc"
|
|
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
|
|
FILES_${PN}-dev += " ${bindir} ${sbindir}"
|
|
|
|
BBCLASSEXTEND = "native"
|