mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
UEFITool: update to A68, adopt.
This commit is contained in:
parent
59ea4ca40c
commit
3ff72a610d
2 changed files with 30 additions and 19 deletions
21
srcpkgs/UEFITool/patches/musl_defs.patch
Normal file
21
srcpkgs/UEFITool/patches/musl_defs.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
diff --git a/common/filesystem.cpp b/common/filesystem.cpp
|
||||||
|
index b2b8d65b4..5287a0c83 100644
|
||||||
|
--- a/common/filesystem.cpp
|
||||||
|
+++ b/common/filesystem.cpp
|
||||||
|
@@ -75,6 +75,9 @@ UString getAbsPath(const UString & path)
|
||||||
|
#else
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#if !defined(ACCESSPERMS)
|
||||||
|
+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
|
||||||
|
+#endif
|
||||||
|
bool isExistOnFs(const UString & path)
|
||||||
|
{
|
||||||
|
struct stat buf;
|
||||||
|
@@ -103,4 +106,4 @@ UString getAbsPath(const UString & path) {
|
||||||
|
return UString(abs);
|
||||||
|
return path;
|
||||||
|
}
|
||||||
|
-#endif
|
||||||
|
\ No newline at end of file
|
||||||
|
+#endif
|
|
@ -1,27 +1,17 @@
|
||||||
# Template file for 'UEFITool'
|
# Template file for 'UEFITool'
|
||||||
pkgname=UEFITool
|
pkgname=UEFITool
|
||||||
version=A56
|
version=A68
|
||||||
revision=1
|
revision=1
|
||||||
build_wrksrc="UEFITool"
|
build_style=cmake
|
||||||
build_style=qmake
|
hostmakedepends="qt6-base qt6-tools"
|
||||||
hostmakedepends="qt5-qmake qt5-host-tools"
|
makedepends="qt6-declarative-devel"
|
||||||
makedepends="qt5-declarative-devel"
|
|
||||||
short_desc="UEFI firmware image viewer and editor"
|
short_desc="UEFI firmware image viewer and editor"
|
||||||
maintainer="Kacper Słomiński <kacper.slominski72@gmail.com>"
|
maintainer="0x5c <dev@0x5c.io>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/LongSoft/UEFITool/"
|
homepage="https://github.com/LongSoft/UEFITool/"
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
distfiles="https://github.com/LongSoft/UEFITool/archive/${version}.tar.gz"
|
||||||
checksum=b9047c1667ac3e62936debc387f5b88cf90185556e3451d82cbe38d08beeaabd
|
checksum=aa4bc52105ab83e5b094de9b54b31d52a30ae1c0f3f1ce7930088fc412efe900
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
vbin UEFITool uefitool
|
vlicense LICENSE.md
|
||||||
vmkdir usr/share/applications
|
|
||||||
vinstall uefitool.desktop 644 usr/share/applications
|
|
||||||
local size
|
|
||||||
for size in 16 32 48 64 128 256 512; do
|
|
||||||
vinstall icons/uefitool_${size}x${size}.png \
|
|
||||||
644 usr/share/icons/hicolor${size}x${size}/apps uefitool.png
|
|
||||||
done
|
|
||||||
vinstall icons/uefitool_128x128.png 644 usr/share/pixmaps uefitool.png
|
|
||||||
vlicense ../LICENSE.md
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue