summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')