leptonica: Backport patch fixing the installed .pc file (#25900)
https://github.com/DanBloomberg/leptonica/pull/778 Fixes #25871
This commit is contained in:
parent
41d7db7749
commit
eb3dd1a757
@ -4,7 +4,7 @@ _realname=leptonica
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=1.86.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="An open source C library for efficient image processing and image analysis operations (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
@ -30,11 +30,13 @@ checkdepends=("${MINGW_PACKAGE_PREFIX}-gnuplot")
|
||||
source=("https://github.com/DanBloomberg/leptonica/archive/${pkgver}/${_realname}-${pkgver}.tar.gz"
|
||||
"001-Fix-SOVERSION-on-mingw.patch"
|
||||
"002-Fix-pkgconfig-file-name.patch"
|
||||
"003-Fix-cmake-include-directories.patch")
|
||||
"003-Fix-cmake-include-directories.patch"
|
||||
"https://github.com/DanBloomberg/leptonica/pull/778.patch")
|
||||
sha256sums=('b4447faf61a8786a9b211d58d4103d85d47fd3a5dd418d5a6bc525d41db54ccc'
|
||||
'0bba2b4773083b09266b94e759801b07e787ef8bdc3458881202f06c23f03e8b'
|
||||
'6a9bde25199eba47e12d0013591fb4d376df386b1dccd252a8b64374e742f889'
|
||||
'd278ea2957025c9cc9bccbdbf1c757e1ce2f29d14287b0dfbcac02ebebc48f88')
|
||||
'd278ea2957025c9cc9bccbdbf1c757e1ce2f29d14287b0dfbcac02ebebc48f88'
|
||||
'f411e8f7a7bb7d4996c7e1e7e0f7ca49aae189e1269efd17b466fe9c069e020d')
|
||||
|
||||
apply_patch_with_msg() {
|
||||
for _patch in "$@"
|
||||
@ -49,7 +51,8 @@ prepare() {
|
||||
apply_patch_with_msg \
|
||||
001-Fix-SOVERSION-on-mingw.patch \
|
||||
002-Fix-pkgconfig-file-name.patch \
|
||||
003-Fix-cmake-include-directories.patch
|
||||
003-Fix-cmake-include-directories.patch \
|
||||
778.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user