flashrom: update to 1.4.0, add -devel package.

This commit is contained in:
dataCobra 2024-10-10 16:09:55 +02:00 committed by Leah Neukirchen
parent 4eaa2bfd06
commit 5830788143
3 changed files with 22 additions and 7 deletions

View File

@ -4536,3 +4536,4 @@ libsfdo-desktop.so.0 libsfdo-0.1.3_1
libsfdo-desktop-file.so.0 libsfdo-0.1.3_1
libsfdo-icon.so.0 libsfdo-0.1.3_1
libKMahjongg6.so.6 libkmahjongg-24.08.2_1
libflashrom.so.1 flashrom-1.4.0_1

1
srcpkgs/flashrom-devel Symbolic link
View File

@ -0,0 +1 @@
flashrom

View File

@ -1,17 +1,30 @@
# Template file for 'flashrom'
pkgname=flashrom
version=1.3.0
version=1.4.0
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="pciutils-devel libusb-compat-devel libftdi1-devel eudev-libudev-devel zlib-devel"
build_style=meson
configure_args="-Duse_internal_dmi=false -Ddocumentation=enabled"
hostmakedepends="pkg-config python3-Sphinx"
makedepends="pciutils-devel libusb-compat-devel libftdi1-devel eudev-libudev-devel zlib-devel libjaylink-devel"
depends="dmidecode"
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.flashrom.org"
distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
checksum=b77ce458b3b874387270a71805e899ac63f057d7553dc320da7e4c58e750577c
make_check=no # can't run without special setup..?
post_patch() {
vsed -i 's/sbin/bin/' Makefile
flashrom-devel_package() {
depends="${sourcepkg}>=${version}_${revision} pciutils-devel
libusb-compat-devel libftdi1-devel eudev-libudev-devel zlib-devel
libjaylink-devel python3-Sphinx"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/share/doc
}
}