Skip to content
Snippets Groups Projects
Commit 123df137 authored by Krassy Boykinov's avatar Krassy Boykinov Committed by Celeste
Browse files

community/flashrom: upgrade to 1.4.0

* add py3-sphinx makedep for building man-pages
* add compile options for man-pages and html documentation
* add flashrom-bash-completion subpkg
parent 4731b8b7
No related branches found
No related tags found
1 merge request!74112community/flashrom: upgrade to 1.4.0
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=flashrom
pkgver=1.3.0
pkgrel=2
pkgver=1.4.0
pkgrel=0
pkgdesc="A utility for identifying, reading, writing, verifying and erasing flash chips"
url="https://www.flashrom.org/Flashrom"
arch="all"
......@@ -15,10 +15,11 @@ makedepends="
linux-headers
meson
pciutils-dev
py3-sphinx
"
checkdepends="cmocka-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
source="https://download.flashrom.org/releases/flashrom-v$pkgver.tar.bz2"
subpackages="$pkgname-bash-completion $pkgname-doc $pkgname-dev $pkgname-libs"
source="https://download.flashrom.org/releases/flashrom-v$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-v$pkgver
options="!check" # can't run without special setup..?
......@@ -26,6 +27,8 @@ build() {
# internal dmi- false- prefer dmidecode cli
abuild-meson \
-Duse_internal_dmi=false \
-Ddocumentation=disabled \
-Dman-pages=enabled \
-Dtests="$(want_check && echo enabled || echo disabled)" \
. output
meson compile -C output
......@@ -40,5 +43,5 @@ package() {
}
sha512sums="
73b6e00bd3bc66c98d4ad53966a65b19d3d92f07d7b210d69e041d6f5788605b9791a9bf7aec0a52e13d19fcb62c4bdaf4bab9f805fc31468393ca313129a77b flashrom-v1.3.0.tar.bz2
127713f7f7ecb8fb7cd2a5484e02fd0aa6ce06496a1d3a9a19fba5ff26a09cbf911cf041b83de61183124af0cd3f339ca0cf9d4acf0f5936c02ec13023bed792 flashrom-v1.4.0.tar.xz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment