Update the `rom-properties` package a bit to remove build warnings.

This commit is contained in:
Whovian NTSN 2024-06-04 19:17:31 -04:00
parent bd1120a2cb
commit 0bb17c2e91
1 changed files with 44 additions and 16 deletions

View File

@ -1,10 +1,11 @@
{ {
lib, lib,
stdenv, stdenv,
fetchFromGitHub,
cmake, cmake,
gettext,
curl, curl,
fetchFromGitHub,
gettext,
glib,
libjpeg, libjpeg,
libpng, libpng,
libseccomp, libseccomp,
@ -12,10 +13,17 @@
lzo, lzo,
nettle, nettle,
pkg-config, pkg-config,
tinyxml2, tinyxml-2,
zlib, zlib,
zstd, zstd,
glib,
# Not really required afaik, but I like quieting the warnings :)
pcre2,
minizip-ng,
libselinux,
libsepol,
util-linux,
inih,
# Use "Ninja" for the build. # Use "Ninja" for the build.
useNinja ? false, useNinja ? false,
@ -39,24 +47,30 @@ stdenv.mkDerivation {
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
nettle.dev
pkg-config pkg-config
# So many "dev" package outputs, lol
nettle.dev
glib.dev glib.dev
tinyxml2 libselinux.dev
] libsepol.dev
++ lib.optionals useNinja [ ninja ]; pcre2.dev
util-linux.dev
buildInputs = [
gettext
curl.dev curl.dev
libjpeg.dev libjpeg.dev
libpng.dev libpng.dev
libseccomp.dev libseccomp.dev
lz4.dev lz4.dev
lzo
zlib.dev zlib.dev
zstd.dev zstd.dev
tinyxml2 ]
++ lib.optionals useNinja [ ninja ];
buildInputs = [
gettext
lzo
tinyxml-2
minizip-ng
inih
] ]
++ lib.optionals useTracker [ tracker ]; ++ lib.optionals useTracker [ tracker ];
@ -117,8 +131,22 @@ stdenv.mkDerivation {
/* NOTES /* NOTES
Package 'libpcre2-8', required by 'glib-2.0', not found *** ROM Properties Page Shell Extension v2.3.0+ ***
Package libpcre2-8 was not found in the pkg-config search path. Build Summary:
Perhaps you should add the directory containing `libpcre2-8.pc' - Target CPU architecture: amd64
- Building these UI frontends:
- Building command-line frontend: Yes
- GNOME Tracker API version: (none)
- libromdata is built as: shared library (.so)
- Security mechanism: seccomp()
- Decryption functionality: Enabled
- XML parsing: Enabled (system)
- PVRTC decoder: Enabled
- ZSTD decompression: Enabled (system)
- LZ4 decompression: Enabled (system)
- LZO decompression: Enabled (system)
Building these third-party libraries from extlib:
- minizip-ng
- inih
*/ */