24 version = "unstable-2020-09-10";
26 nativeBuildInputs = [ extra-cmake-modules qttools ];
42 src = fetchFromGitHub {
43 sha256 = "0qwrk40dihkbwmm7krz6qaqyn9v3qdjnd2k9b4s3a67x4403pib3";
44 rev = "2a470d2a8d2fe22fae969bee5d594909a07b350a";
47 fetchSubmodules = true;
50 # Make sure libqtav finds its libGL dependency at both link and run time
51 # by adding libGL to rpath. Not sure why it wasn't done automatically like
52 # the other libraries as `libGL` is part of our `buildInputs`.
53 NIX_CFLAGS_LINK = "-Wl,-rpath,${libGL}/lib";
56 # RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
57 "-DCMAKE_SKIP_BUILD_RPATH=ON"
62 cp -a "./bin/"* "$out/bin"
65 stripDebugList = [ "lib" "libexec" "bin" "qml" ];
68 description = "A multimedia playback framework based on Qt + FFmpeg";
69 #license = licenses.lgpl21; # For the libraries / headers only.
70 license = licenses.gpl3; # With the examples (under bin) and most likely some of the optional dependencies used.
71 homepage = "http://www.qtav.org/";
72 maintainers = [ maintainers.jraygauthier ];
73 platforms = platforms.linux;