From 9d75215a59629ab224154ef6b843043289291f81 Mon Sep 17 00:00:00 2001 From: Ashvith Shetty Date: Sun, 15 Sep 2024 13:23:44 +0530 Subject: gnu: Add gemrb-0.9.3. * gnu/packages/games.scm (gemrb-0.9.3): New variable. * gnu/packages/patches/gemrb-add-path-suffixes-for-vlc-headers.patch: New file. * gnu/local.mk (dist_patch_DATA): Register patch. Change-Id: Ic05eacf362f9a4ebfe88b1e0967e72e824c4f404 Signed-off-by: Andreas Enge --- .../patches/gemrb-add-path-suffixes-for-vlc-headers.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gnu/packages/patches/gemrb-add-path-suffixes-for-vlc-headers.patch (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/gemrb-add-path-suffixes-for-vlc-headers.patch b/gnu/packages/patches/gemrb-add-path-suffixes-for-vlc-headers.patch new file mode 100644 index 0000000000..4e678f7fd4 --- /dev/null +++ b/gnu/packages/patches/gemrb-add-path-suffixes-for-vlc-headers.patch @@ -0,0 +1,15 @@ +Add PATH_SUFFIXES to look inside the sub-directory `vlc` - the original statement +only check for `vlc.h` inside the directory `include`, `bin`, etc. +In Guix, however, `vlc.h` lies inside `/gnu/store/-vlc-x.y.z/include/vlc/vlc.h` + +--- a/cmake/modules/FindLIBVLC.cmake ++++ b/cmake/modules/FindLIBVLC.cmake +@@ -29,7 +29,7 @@ FIND_PATH(LIBVLC_INCLUDE_DIR vlc/vlc.h + c:/msys/local/include + NO_DEFAULT_PATH + ) +-FIND_PATH(LIBVLC_INCLUDE_DIR vlc.h) ++FIND_PATH(LIBVLC_INCLUDE_DIR vlc.h PATH_SUFFIXES vlc) + + #Put here path to custom location + #example: /home/user/vlc/lib etc.. -- cgit v1.2.3