imhex: update to 1.35.3.
This commit is contained in:
parent
53afb68041
commit
2d018d597d
|
@ -0,0 +1,15 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -29,6 +29,12 @@
|
||||
set(CMAKE_MODULE_PATH "${IMHEX_BASE_FOLDER}/cmake/modules")
|
||||
include("${IMHEX_BASE_FOLDER}/cmake/build_helpers.cmake")
|
||||
|
||||
+# Void Linux flags for cross compiling libromfs
|
||||
+set(NATIVE_CMAKE_C_COMPILER "$ENV{CC_host}")
|
||||
+set(NATIVE_CMAKE_CXX_COMPILER "$ENV{CXX_host}")
|
||||
+set(NATIVE_CMAKE_C_FLAGS "$ENV{CFLAGS_host}")
|
||||
+set(NATIVE_CMAKE_CXX_FLAGS "$ENV{CXXFLAGS_host}")
|
||||
+
|
||||
# Setup project
|
||||
loadVersion(IMHEX_VERSION)
|
||||
setVariableInParent(IMHEX_VERSION ${IMHEX_VERSION})
|
|
@ -1,17 +1,19 @@
|
|||
# Template file for 'imhex'
|
||||
pkgname=imhex
|
||||
version=1.30.1
|
||||
revision=3
|
||||
version=1.35.3
|
||||
revision=1
|
||||
build_wrksrc="ImHex"
|
||||
build_style=cmake
|
||||
build_helper=qemu
|
||||
configure_args="-DIMHEX_OFFLINE_BUILD=ON -DIMHEX_STRIP_RELEASE=OFF
|
||||
-DUSE_SYSTEM_CURL=ON -DUSE_SYSTEM_FMT=ON -DUSE_SYSTEM_LLVM=ON -DUSE_SYSTEM_CAPSTONE=ON
|
||||
-DUSE_SYSTEM_YARA=ON -DUSE_SYSTEM_NLOHMANN_JSON=ON -DIMHEX_DISABLE_UPDATE_CHECK=ON"
|
||||
hostmakedepends="pkg-config clang-tools-extra"
|
||||
makedepends="libcurl-devel fmt-devel llvm15 jansson-devel yara-devel json-c++
|
||||
-DUSE_SYSTEM_FMT=ON -DUSE_SYSTEM_LLVM=ON -DUSE_SYSTEM_CAPSTONE=ON
|
||||
-DUSE_SYSTEM_YARA=ON -DUSE_SYSTEM_NLOHMANN_JSON=ON
|
||||
-DIMHEX_ENABLE_UNIT_TESTS=ON -DIMHEX_COMPRESS_DEBUG_INFO=OFF
|
||||
-DIMHEX_STRICT_WARNINGS=OFF -DIMHEX_ENABLE_LTO=OFF"
|
||||
hostmakedepends="pkg-config clang-tools-extra18"
|
||||
makedepends="libcurl-devel fmt-devel llvm18-devel jansson-devel yara-devel json-c++
|
||||
freetype-devel glfw-devel gtk+3-devel python3-devel file-devel mbedtls-devel
|
||||
clang-tools-extra capstone-devel"
|
||||
capstone-devel"
|
||||
short_desc="Hex editor for reverse engineers and programmers"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
|
@ -19,9 +21,10 @@ homepage="https://imhex.werwolv.net/"
|
|||
changelog="https://github.com/WerWolv/ImHex/releases"
|
||||
distfiles="https://github.com/WerWolv/ImHex/releases/download/v${version}/Full.Sources.tar.gz>imhex-${version}.tar.gz
|
||||
https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${version}.tar.gz>imhex-patterns-${version}.tar.gz"
|
||||
checksum="edf164996ba3a960b7b022acb1441aef2960c60e7a46409b01d9ff164cd99e7a
|
||||
8f38ca5ea73298e104231276026f50d350f350626bcefc11a3935528be34581c"
|
||||
checksum="371c36f57c82b36e44069c91448891d1f0795962604246539f9ae38f330c11af
|
||||
39b660b168f06fc80a990a85fca474a07fbd135530779ea16aba9c6587f4fa14"
|
||||
patch_args="-Np1 -d $build_wrksrc"
|
||||
python_version=3
|
||||
|
||||
if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
|
||||
broken="uses i128"
|
||||
|
@ -39,6 +42,7 @@ do_check() {
|
|||
}
|
||||
|
||||
post_install() {
|
||||
rm ${DESTDIR}/usr/bin/imhex-updater
|
||||
vmkdir usr/share/imhex
|
||||
for d in constants encodings includes magic patterns yara; do
|
||||
vcopy ../ImHex-Patterns-ImHex-v${version}/$d usr/share/imhex
|
||||
|
|
Loading…
Reference in New Issue