Loading pkgs/applications/video/avidemux/bootstrap_logging.patch→pkgs/by-name/av/avidemux/bootstrap_logging.patch +0 −0 File moved. View file pkgs/applications/video/avidemux/dynamic_install_dir.patch→pkgs/by-name/av/avidemux/dynamic_install_dir.patch +0 −0 File moved. View file pkgs/applications/video/avidemux/default.nix→pkgs/by-name/av/avidemux/package.nix +16 −9 Original line number Diff line number Diff line Loading @@ -18,9 +18,6 @@ makeWrapper, libXext, libGLU, qttools, qtbase, wrapQtAppsHook, alsa-lib, withX265 ? true, x265, Loading @@ -43,12 +40,12 @@ withVPX ? true, libvpx, withQT ? true, libsForQt5, withCLI ? true, default ? "qt5", withPlugins ? true, }: assert withQT -> qttools != null && qtbase != null; assert default != "qt5" -> default == "cli"; assert !withQT -> default != "qt5"; Loading @@ -64,6 +61,13 @@ stdenv.mkDerivation rec { patches = [ ./dynamic_install_dir.patch ./bootstrap_logging.patch # x265 API change in 4.1 breaks build # See discussion in https://avidemux.org/smif/index.php/topic,19995.msg97494.html#msg97494 (fetchpatch { name = "fix_build_with_x265_4_1.patch"; url = "https://github.com/mean00/avidemux2/commit/c16d32a67cdb012db093472ad3776713939a30d1.patch"; hash = "sha256-5QqocvYaY/phyvSX2lhTzeAi+z9Wgqs+ITR0cXReps4="; }) ]; postPatch = '' Loading @@ -83,7 +87,7 @@ stdenv.mkDerivation rec { cmake pkg-config makeWrapper ] ++ lib.optional withQT wrapQtAppsHook; ] ++ lib.optional withQT libsForQt5.wrapQtAppsHook; buildInputs = [ zlib Loading @@ -108,10 +112,13 @@ stdenv.mkDerivation rec { ++ lib.optional withPulse libpulseaudio ++ lib.optional withFAAD faad2 ++ lib.optional withOpus libopus ++ lib.optionals withQT [ ++ lib.optionals withQT ( with libsForQt5; [ qttools qtbase ] ) ++ lib.optional withVPX libvpx; dontWrapQtApps = true; Loading pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -12940,8 +12940,6 @@ with pkgs; ausweisapp = qt6Packages.callPackage ../applications/misc/ausweisapp { }; avidemux = libsForQt5.callPackage ../applications/video/avidemux { }; awesome = callPackage ../applications/window-managers/awesome { cairo = cairo.override { xcbSupport = true; }; inherit (texFunctions) fontsConf; Loading Loading
pkgs/applications/video/avidemux/bootstrap_logging.patch→pkgs/by-name/av/avidemux/bootstrap_logging.patch +0 −0 File moved. View file
pkgs/applications/video/avidemux/dynamic_install_dir.patch→pkgs/by-name/av/avidemux/dynamic_install_dir.patch +0 −0 File moved. View file
pkgs/applications/video/avidemux/default.nix→pkgs/by-name/av/avidemux/package.nix +16 −9 Original line number Diff line number Diff line Loading @@ -18,9 +18,6 @@ makeWrapper, libXext, libGLU, qttools, qtbase, wrapQtAppsHook, alsa-lib, withX265 ? true, x265, Loading @@ -43,12 +40,12 @@ withVPX ? true, libvpx, withQT ? true, libsForQt5, withCLI ? true, default ? "qt5", withPlugins ? true, }: assert withQT -> qttools != null && qtbase != null; assert default != "qt5" -> default == "cli"; assert !withQT -> default != "qt5"; Loading @@ -64,6 +61,13 @@ stdenv.mkDerivation rec { patches = [ ./dynamic_install_dir.patch ./bootstrap_logging.patch # x265 API change in 4.1 breaks build # See discussion in https://avidemux.org/smif/index.php/topic,19995.msg97494.html#msg97494 (fetchpatch { name = "fix_build_with_x265_4_1.patch"; url = "https://github.com/mean00/avidemux2/commit/c16d32a67cdb012db093472ad3776713939a30d1.patch"; hash = "sha256-5QqocvYaY/phyvSX2lhTzeAi+z9Wgqs+ITR0cXReps4="; }) ]; postPatch = '' Loading @@ -83,7 +87,7 @@ stdenv.mkDerivation rec { cmake pkg-config makeWrapper ] ++ lib.optional withQT wrapQtAppsHook; ] ++ lib.optional withQT libsForQt5.wrapQtAppsHook; buildInputs = [ zlib Loading @@ -108,10 +112,13 @@ stdenv.mkDerivation rec { ++ lib.optional withPulse libpulseaudio ++ lib.optional withFAAD faad2 ++ lib.optional withOpus libopus ++ lib.optionals withQT [ ++ lib.optionals withQT ( with libsForQt5; [ qttools qtbase ] ) ++ lib.optional withVPX libvpx; dontWrapQtApps = true; Loading
pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -12940,8 +12940,6 @@ with pkgs; ausweisapp = qt6Packages.callPackage ../applications/misc/ausweisapp { }; avidemux = libsForQt5.callPackage ../applications/video/avidemux { }; awesome = callPackage ../applications/window-managers/awesome { cairo = cairo.override { xcbSupport = true; }; inherit (texFunctions) fontsConf; Loading