summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorbdunahu <bdunahu@operationnull.com>2026-06-09 18:01:44 -0400
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-07-24 09:07:10 +0200
commit996434d0979eefddb59c1d9ca7945cbd7d6210de (patch)
tree7a645236fea92d622d9d2d686da0706b3961ff42 /gnu/packages
parent5a0861514b80fc92a8741e6c9e34329c21e8254c (diff)
gnu: warzone2100: Unbundle launchinfo.
* gnu/packages/patches/warzone2100-unbundle-launchinfo.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/games.scm (warzone2100)[source]<patches>: Apply it. <snippet> Delete “3rdparty/launchinfo”. [inputs]: Add launchinfo. Change-Id: Ibe3948ffd20c3dc96bf49837c13cc0a4d67878d1 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/games.scm3
-rw-r--r--gnu/packages/patches/warzone2100-unbundle-launchinfo.patch20
2 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 4d94bf9c4a6..2d3da197224 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7421,6 +7421,7 @@ fighting over what remains.")
7421 "fmt" 7421 "fmt"
7422 "GameNetworkingSockets" 7422 "GameNetworkingSockets"
7423 "inih" 7423 "inih"
7424 "launchinfo"
7424 "libplum" 7425 "libplum"
7425 "quickjs-wz" 7426 "quickjs-wz"
7426 "re2" 7427 "re2"
@@ -7436,6 +7437,7 @@ fighting over what remains.")
7436 "warzone2100-unbundle-embedded-json-signature.patch" 7437 "warzone2100-unbundle-embedded-json-signature.patch"
7437 "warzone2100-unbundle-libs.patch" 7438 "warzone2100-unbundle-libs.patch"
7438 "warzone2100-unbundle-inih.patch" 7439 "warzone2100-unbundle-inih.patch"
7440 "warzone2100-unbundle-launchinfo.patch"
7439 "warzone2100-unbundle-quickjs-wz.patch" 7441 "warzone2100-unbundle-quickjs-wz.patch"
7440 "warzone2100-unbundle-sqlitecpp.patch" 7442 "warzone2100-unbundle-sqlitecpp.patch"
7441 "warzone2100-unbundle-utfcpp.patch")) 7443 "warzone2100-unbundle-utfcpp.patch"))
@@ -7521,6 +7523,7 @@ fighting over what remains.")
7521 fribidi 7523 fribidi
7522 gnutls 7524 gnutls
7523 harfbuzz 7525 harfbuzz
7526 launchinfo
7524 libexpected 7527 libexpected
7525 libinih 7528 libinih
7526 libjpeg-turbo 7529 libjpeg-turbo
diff --git a/gnu/packages/patches/warzone2100-unbundle-launchinfo.patch b/gnu/packages/patches/warzone2100-unbundle-launchinfo.patch
new file mode 100644
index 00000000000..1c97b506a60
--- /dev/null
+++ b/gnu/packages/patches/warzone2100-unbundle-launchinfo.patch
@@ -0,0 +1,20 @@
1diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
2index 46c0c26e1..dc7a79e0d 100644
3--- a/3rdparty/CMakeLists.txt
4+++ b/3rdparty/CMakeLists.txt
5@@ -17,8 +17,13 @@ if(NOT MSVC)
6 endif()
7 endif()
8
9-add_subdirectory(launchinfo EXCLUDE_FROM_ALL)
10-set_property(TARGET launchinfo PROPERTY FOLDER "3rdparty")
11+find_path(LI_INC NAMES LaunchInfo.h REQUIRED)
12+find_library(LI_LIB NAMES launchinfo REQUIRED)
13+add_library(launchinfo UNKNOWN IMPORTED)
14+set_target_properties(launchinfo PROPERTIES
15+ IMPORTED_LOCATION "${LI_LIB}"
16+ INTERFACE_INCLUDE_DIRECTORIES "${LI_INC}"
17+)
18
19 SET(FMT_INSTALL OFF CACHE BOOL "Generate the install target" FORCE)
20 SET(FMT_SYSTEM_HEADERS ON CACHE BOOL "Expose headers with marking them as system." FORCE)