2020-04-18 03:42:41 +00:00
|
|
|
# Template file for 'rpi-imager'
|
|
|
|
pkgname=rpi-imager
|
|
|
|
version=1.4
|
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
2020-11-22 06:05:15 +00:00
|
|
|
hostmakedepends="qt5-host-tools qt5-qmake"
|
|
|
|
makedepends="qt5-devel qt5-declarative-devel qt5-svg-devel qt5-tools-devel
|
|
|
|
libcurl-devel libarchive-devel"
|
2020-04-18 03:42:41 +00:00
|
|
|
depends="qt5-quickcontrols2 qt5-svg util-linux"
|
|
|
|
short_desc="Raspberry Pi Imaging Utility"
|
|
|
|
maintainer="Adam Gausmann <agausmann@fastmail.com>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/raspberrypi/rpi-imager"
|
|
|
|
distfiles="https://github.com/raspberrypi/rpi-imager/archive/v${version}.tar.gz"
|
|
|
|
checksum="f42359fca67a61fa37f0dfd0167749b7d758263b8501c07473d416542d78e004"
|
2020-11-22 06:05:15 +00:00
|
|
|
|
|
|
|
post_patch() {
|
|
|
|
vsed -i -e 's/CURL REQUIRED \([0-9.]*\)/CURL \1 REQUIRED/' CMakeLists.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
ln -sf /bin/true $XBPS_WRAPPERDIR/lsblk
|
|
|
|
}
|