build: Move nlohmann-json to build dependencies (#2218)

nlohmann-json is a headers-only library, so there's no runtime
requirement for it.
This commit is contained in:
peelz
2025-05-10 04:59:18 -04:00
committed by GitHub
parent bac6fd803f
commit 1f213408a1
2 changed files with 5 additions and 4 deletions

4
dist/Arch/PKGBUILD vendored
View File

@@ -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")

View File

@@ -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
"