summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-10-19 15:58:09 -0400
committerAndrew Opalach <andrew@akon.city> 2024-10-19 16:00:21 -0400
commite7ddc87c999184e6e7a28c8f8983e0d72a481978 (patch)
treeb65a95febd33226d626c1b8950ce3a358da4761a
parente294c9edfa90c05d8f90663fd1bc68569d0fb8ae (diff)
downloadmauri-e7ddc87c999184e6e7a28c8f8983e0d72a481978.tar.gz
mauri-e7ddc87c999184e6e7a28c8f8983e0d72a481978.tar.bz2
mauri-e7ddc87c999184e6e7a28c8f8983e0d72a481978.zip
Try to fix nix build
Signed-off-by: Andrew Opalach <andrew@akon.city>
-rw-r--r--flake.nix4
-rw-r--r--taro/meson.build2
2 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 220ceb9..62cc0a5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -45,6 +45,7 @@
ninja
meson
cmake
+ makeWrapper
];
buildInputs = [
lz4
@@ -68,6 +69,9 @@
ncurses
ffmpeg-headless
];
+ fixupPhase = ''
+ wrapProgram $out/bin/taro --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ self ]}"
+ '';
meta = with lib; {
homepage = "https://akon.city/";
description = "";
diff --git a/taro/meson.build b/taro/meson.build
index 935678e..cbac318 100644
--- a/taro/meson.build
+++ b/taro/meson.build
@@ -7,6 +7,8 @@ if not notcurses.found() or not notcurses_core.found()
notcurses_opts.add_cmake_defines({ 'USE_PANDOC': false })
notcurses_opts.add_cmake_defines({ 'USE_POC': false })
notcurses_opts.add_cmake_defines({ 'BUILD_EXECUTABLES': false })
+ notcurses_opts.add_cmake_defines({ 'USE_STATIC': false })
+ notcurses_opts.add_cmake_defines({ 'USE_MULTIMEDIA': 'ffmpeg' })
notcurses_proj = cmake.subproject('notcurses', options: notcurses_opts)
notcurses = notcurses_proj.dependency('notcurses')
notcurses_core = notcurses_proj.dependency('notcurses-core')