Updated PKGBUILD: removed 396.patch due to incompatibility with libfprint v1.94.8

This commit is contained in:
archos 2024-10-25 20:46:29 +02:00
parent f4ab557ef5
commit 90056f5bb4

View File

@ -1,6 +1,6 @@
pkgname=libfprint-fpcmoh-git pkgname=libfprint-fpcmoh-git
_pkgname=libfprint _pkgname=libfprint
pkgver=1.94.8 # Aktualizováno na novější verzi pkgver=1.94.8
pkgrel=1 pkgrel=1
pkgdesc="libfprint with proprietary FPC match on host device 10a5:9800 driver" pkgdesc="libfprint with proprietary FPC match on host device 10a5:9800 driver"
url="https://fprint.freedesktop.org/" url="https://fprint.freedesktop.org/"
@ -12,21 +12,18 @@ provides=("libfprint=$pkgver" libfprint-2.so libfpcbep.so)
conflicts=(libfprint) conflicts=(libfprint)
groups=(fprint) groups=(fprint)
source=( source=(
"git+https://gitlab.freedesktop.org/libfprint/libfprint.git#tag=v1.94.8" # Odkaz na novou verzi "git+https://gitlab.freedesktop.org/libfprint/libfprint.git#tag=v1.94.8"
"fpcbep.zip::https://download.lenovo.com/pccbbs/mobiles/r1slm01w.zip" "fpcbep.zip::https://download.lenovo.com/pccbbs/mobiles/r1slm01w.zip"
"https://gitlab.freedesktop.org/libfprint/libfprint/-/merge_requests/396.patch"
) )
sha256sums=( sha256sums=(
'SKIP' 'SKIP'
'c7290f2a70d48f7bdd09bee985534d3511ec00d091887b07f81cf1e08f74c145' 'c7290f2a70d48f7bdd09bee985534d3511ec00d091887b07f81cf1e08f74c145'
'SKIP'
) )
prepare() { prepare() {
libfpcbep_path=$(find . -name 'libfpcbep.so') libfpcbep_path=$(find . -name 'libfpcbep.so')
cp -f $libfpcbep_path $_pkgname cp -f $libfpcbep_path $_pkgname
cd $_pkgname cd $_pkgname
git apply $srcdir/396.patch
# patch meson.build # patch meson.build
# use '+' as sed delimiter # use '+' as sed delimiter
sed -ibak "s+find_library[(]'fpcbep', required: true[)]+find_library('fpcbep', required: true, dirs: \'$(pwd)\')+g" ./meson.build sed -ibak "s+find_library[(]'fpcbep', required: true[)]+find_library('fpcbep', required: true, dirs: \'$(pwd)\')+g" ./meson.build