From 1f213408a1215add444e419b8f5d37bea89cbc18 Mon Sep 17 00:00:00 2001 From: peelz Date: Sat, 10 May 2025 04:59:18 -0400 Subject: [PATCH] build: Move nlohmann-json to build dependencies (#2218) nlohmann-json is a headers-only library, so there's no runtime requirement for it. --- dist/Arch/PKGBUILD | 4 ++-- dist/ImHex-9999.ebuild | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dist/Arch/PKGBUILD b/dist/Arch/PKGBUILD index 8acc2a483..2b89ee0e9 100644 --- a/dist/Arch/PKGBUILD +++ b/dist/Arch/PKGBUILD @@ -8,8 +8,8 @@ pkgdesc="A Hex Editor for Reverse Engineers, Programmers and people who value th arch=("x86_64") url="https://github.com/WerWolv/ImHex" license=('GPL2') -depends=(glfw mbedtls fontconfig freetype2 libglvnd dbus gtk3 curl fmt yara nlohmann-json zlib bzip2 xz zstd) -makedepends=(git) +depends=(glfw mbedtls fontconfig freetype2 libglvnd dbus gtk3 curl fmt yara zlib bzip2 xz zstd) +makedepends=(git nlohmann-json) provides=(imhex) conflicts=(imhex) source=("$url/releases/download/v$pkgver/imhex-$pkgver-ArchLinux-x86_64.pkg.tar.zst") diff --git a/dist/ImHex-9999.ebuild b/dist/ImHex-9999.ebuild index 6242f3a44..3fc418d60 100644 --- a/dist/ImHex-9999.ebuild +++ b/dist/ImHex-9999.ebuild @@ -21,7 +21,6 @@ RDEPEND="${DEPEND} media-libs/glfw sys-apps/file net-libs/mbedtls - dev-cpp/nlohmann_json sys-apps/dbus sys-apps/xdg-desktop-portal sys-libs/zlib @@ -30,4 +29,6 @@ RDEPEND="${DEPEND} app-arch/zstd app-arch/lz4 " -BDEPEND="${DEPEND}" +BDEPEND="${DEPEND} + dev-cpp/nlohmann_json + "