libnfc: update to 1.8.0.

This commit is contained in:
Andrea Brancaleoni 2021-01-25 21:32:23 +00:00
parent 8865278b09
commit 0823072e80
2 changed files with 6 additions and 6 deletions

View File

@ -2193,7 +2193,7 @@ libudns.so.0 udns-0.4_1
libcriu.so.2 criu-3.13_2
libcompel.so.1 criu-3.13_2
libwebsockets.so.15 libwebsockets-3.2.0_1
libnfc.so.0 libnfc-1.7.1_1
libnfc.so.6 libnfc-1.8.0_1
libfuzzy.so.2 libfuzzy-2.12_1
libSDL_gfx.so.15 SDL_gfx-2.0.25_2
libsfml-network.so.2.5 SFML-2.5.0_1

View File

@ -1,7 +1,7 @@
# Template file for 'libnfc'
pkgname=libnfc
version=1.7.1
revision=3
version=1.8.0
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=cmake
short_desc="Low level NFC SDK and Programmers API"
@ -11,14 +11,14 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
homepage="http://nfc-tools.org/"
distfiles="https://github.com/nfc-tools/libnfc/archive/libnfc-${version}.tar.gz"
checksum=30de35b4f1af3f57dab40d91ffb2275664a35859ff2b014ba7b226aa3f5465f5
checksum=0ab7d9b41442e7edc2af7c54630396edc73ce51128aa28a5c6e4135dc5595495
CFLAGS="-D_GNU_SOURCE"
pre_configure() {
sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" contrib/udev/42-pn53x.rules
sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" contrib/udev/93-pn53x.rules
}
post_install() {
vinstall contrib/udev/42-pn53x.rules 644 usr/lib/udev/rules.d/
vinstall contrib/udev/93-pn53x.rules 644 usr/lib/udev/rules.d/
vinstall contrib/linux/blacklist-libnfc.conf 644 usr/lib/modprobe.d/
}
libnfc-devel_package() {