libinih: Upgrade to version 56

Change SRC_URI to benhoyt fork, it seems to be well maintained.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2023-01-26 20:43:44 -08:00
parent 0755cdd515
commit da03785ff1
2 changed files with 14 additions and 23 deletions

View File

@ -0,0 +1,14 @@
SUMMARY = "inih (INI Not Invented Here)"
DESCRIPTION = "A .INI file parser written in C that was designed to be small and simple."
HOMEPAGE = "https://github.com/benhoyt/inih"
SECTION = "libs"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7a95d2af90376e85a05318794e6f202"
SRC_URI = "git://github.com/benhoyt/inih.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
SRCREV = "5e1d9e2625842dddb3f9c086a50f22e4f45dfc2b"
inherit meson pkgconfig

View File

@ -1,23 +0,0 @@
SUMMARY = "C and C++ INI Library"
HOMEPAGE = "http://code.google.com/p/inih/"
PV = "0.0+gitr${SRCPV}"
PKGV = "${GITPKGVTAG}"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dae28cbf28207425e0d0b3eb835f4bde"
PR = "r3"
# The github repository provides a cmake and pkg-config integration
SRCREV = "c858aff8c31fa63ef4d1e0176c10e5928cde9a23"
SRC_URI = "git://github.com/OSSystems/inih.git;branch=master;protocol=https \
file://0001-include-install-header-files-without-prefix-dir-inih.patch \
"
UPSTREAM_CHECK_COMMITS = "1"
S = "${WORKDIR}/git"
inherit gitpkgv cmake
# We don't have libinih since we only have static libraries
ALLOW_EMPTY:${PN} = "1"