summaryrefslogtreecommitdiff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/aegisub/default.nix108
-rw-r--r--pkgs/applications/video/aegisub/update-ffms2.patch105
-rw-r--r--pkgs/applications/video/avxsynth/default.nix43
-rw-r--r--pkgs/applications/video/bombono/default.nix12
-rw-r--r--pkgs/applications/video/byzanz/default.nix4
-rw-r--r--pkgs/applications/video/celluloid/default.nix52
-rw-r--r--pkgs/applications/video/clipgrab/default.nix14
-rw-r--r--pkgs/applications/video/devede/default.nix6
-rw-r--r--pkgs/applications/video/droidcam/default.nix4
-rw-r--r--pkgs/applications/video/dvdstyler/default.nix143
-rw-r--r--pkgs/applications/video/filebot/default.nix4
-rw-r--r--pkgs/applications/video/gnomecast/default.nix4
-rw-r--r--pkgs/applications/video/haruna/default.nix4
-rw-r--r--pkgs/applications/video/hdhomerun-config-gui/default.nix6
-rw-r--r--pkgs/applications/video/jellyfin-media-player/default.nix9
-rw-r--r--pkgs/applications/video/jftui/default.nix4
-rw-r--r--pkgs/applications/video/kino/default.nix95
-rw-r--r--pkgs/applications/video/kino/kino-1.3.4-libav-0.7.patch60
-rw-r--r--pkgs/applications/video/kino/kino-1.3.4-libav-0.8.patch57
-rw-r--r--pkgs/applications/video/kino/kino-1.3.4-libavcodec-pkg-config.patch11
-rw-r--r--pkgs/applications/video/kino/kino-1.3.4-v4l1.patch21
-rw-r--r--pkgs/applications/video/kodi-packages/inputstream-adaptive/default.nix4
-rw-r--r--pkgs/applications/video/kodi-packages/inputstream-ffmpegdirect/default.nix4
-rw-r--r--pkgs/applications/video/kodi-packages/netflix/default.nix4
-rw-r--r--pkgs/applications/video/kodi-packages/osmc-skin/default.nix2
-rw-r--r--pkgs/applications/video/kodi-packages/pvr-iptvsimple/default.nix4
-rw-r--r--pkgs/applications/video/kodi/unwrapped.nix6
-rw-r--r--pkgs/applications/video/kooha/default.nix4
-rw-r--r--pkgs/applications/video/makemkv/default.nix4
-rw-r--r--pkgs/applications/video/manim/default.nix6
-rw-r--r--pkgs/applications/video/mplayer/default.nix2
-rw-r--r--pkgs/applications/video/mplayer/svn-r38199-ffmpeg44fix.patch22
-rw-r--r--pkgs/applications/video/openshot-qt/default.nix2
-rw-r--r--pkgs/applications/video/openshot-qt/libopenshot.nix12
-rw-r--r--pkgs/applications/video/peek/default.nix8
-rw-r--r--pkgs/applications/video/pitivi/default.nix14
-rw-r--r--pkgs/applications/video/prism/default.nix22
-rw-r--r--pkgs/applications/video/qmediathekview/default.nix18
-rw-r--r--pkgs/applications/video/qstopmotion/default.nix7
-rw-r--r--pkgs/applications/video/recapp/default.nix81
-rw-r--r--pkgs/applications/video/vdr/default.nix8
-rw-r--r--pkgs/applications/video/vdr/xineliboutput/default.nix8
-rw-r--r--pkgs/applications/video/xine-ui/default.nix61
-rw-r--r--pkgs/applications/video/xscast/default.nix4
44 files changed, 559 insertions, 514 deletions
diff --git a/pkgs/applications/video/aegisub/default.nix b/pkgs/applications/video/aegisub/default.nix
index 2d294d060993..f19100f811f3 100644
--- a/pkgs/applications/video/aegisub/default.nix
+++ b/pkgs/applications/video/aegisub/default.nix
@@ -3,22 +3,22 @@
, stdenv
, fetchurl
, fetchpatch
-, libX11
-, wxGTK
-, libiconv
+, boost
+, ffmpeg
+, ffms
+, fftw
, fontconfig
, freetype
-, libGLU
+, icu
+, intltool
, libGL
+, libGLU
+, libX11
, libass
-, fftw
-, ffms
-, ffmpeg_3
+, libiconv
, pkg-config
+, wxGTK
, zlib
-, icu
-, boost
-, intltool
, spellcheckSupport ? true
, hunspell ? null
@@ -46,71 +46,93 @@ assert alsaSupport -> (alsaLib != null);
assert pulseaudioSupport -> (libpulseaudio != null);
assert portaudioSupport -> (portaudio != null);
-with lib;
-stdenv.mkDerivation
- rec {
+let
+ inherit (lib) optional;
+in
+stdenv.mkDerivation rec {
pname = "aegisub";
version = "3.2.2";
src = fetchurl {
url = "http://ftp.aegisub.org/pub/releases/${pname}-${version}.tar.xz";
- sha256 = "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5";
+ hash = "sha256-xV4zlFuC2FE8AupueC8Ncscmrc03B+lbjAAi9hUeaIU=";
};
patches = [
# Compatibility with ICU 59
(fetchpatch {
url = "https://github.com/Aegisub/Aegisub/commit/dd67db47cb2203e7a14058e52549721f6ff16a49.patch";
- sha256 = "07qqlckiyy64lz8zk1as0vflk9kqnjb340420lp9f0xj93ncssj7";
+ sha256 = "sha256-R2rN7EiyA5cuBYIAMpa0eKZJ3QZahfnRp8R4HyejGB8=";
})
# Compatbility with Boost 1.69
(fetchpatch {
url = "https://github.com/Aegisub/Aegisub/commit/c3c446a8d6abc5127c9432387f50c5ad50012561.patch";
- sha256 = "1n8wmjka480j43b1pr30i665z8hdy6n3wdiz1ls81wyv7ai5yygf";
+ sha256 = "sha256-7nlfojrb84A0DT82PqzxDaJfjIlg5BvWIBIgoqasHNk=";
})
# Compatbility with make 4.3
(fetchpatch {
url = "https://github.com/Aegisub/Aegisub/commit/6bd3f4c26b8fc1f76a8b797fcee11e7611d59a39.patch";
- sha256 = "1s9cc5rikrqb9ivjbag4b8yxcyjsmmmw744394d5xq8xi4k12vxc";
+ sha256 = "sha256-rG8RJokd4V4aSYOQw2utWnrWPVrkqSV3TAvnGXNhLOk=";
+ })
+
+ # Compatibility with ffms2
+ (fetchpatch {
+ url = "https://github.com/Aegisub/Aegisub/commit/1aa9215e7fc360de05da9b7ec2cd68f1940af8b2.patch";
+ sha256 = "sha256-JsuI4hQTcT0TEqHHoSsGbuiTg4hMCH3Cxp061oLk8Go=";
+ })
+
+ ./update-ffms2.patch
+
+ # Compatibility with X11
+ (fetchpatch {
+ url = "https://github.com/Aegisub/Aegisub/commit/7a6da26be6a830f4e1255091952cc0a1326a4520.patch";
+ sha256 = "sha256-/aTcIjFlZY4N9+IyHL4nwR0hUR4HTJM7ibbdKmNxq0w=";
})
];
nativeBuildInputs = [
- pkg-config
intltool
+ pkg-config
];
-
- buildInputs = with lib; [
- libX11
- wxGTK
+ buildInputs = [
+ boost
+ ffmpeg
+ ffms
+ fftw
fontconfig
freetype
- libGLU
+ icu
libGL
+ libGLU
+ libX11
libass
- fftw
- ffms
- ffmpeg_3
- zlib
- icu
- boost
libiconv
+ wxGTK
+ zlib
]
- ++ optional spellcheckSupport hunspell
- ++ optional automationSupport lua
- ++ optional openalSupport openal
- ++ optional alsaSupport alsaLib
- ++ optional pulseaudioSupport libpulseaudio
- ++ optional portaudioSupport portaudio
- ;
+ ++ optional alsaSupport alsaLib
+ ++ optional automationSupport lua
+ ++ optional openalSupport openal
+ ++ optional portaudioSupport portaudio
+ ++ optional pulseaudioSupport libpulseaudio
+ ++ optional spellcheckSupport hunspell
+ ;
enableParallelBuilding = true;
- hardeningDisable = [ "bindnow" "relro" ];
+ hardeningDisable = [
+ "bindnow"
+ "relro"
+ ];
+
+ postPatch = ''
+ sed -i 's/-Wno-c++11-narrowing/-Wno-narrowing/' configure.ac src/Makefile
+ '';
- # compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
+ # compat with icu61+
+ # https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
env.CXXFLAGS = "-DU_USING_ICU_NAMESPACE=1";
# this is fixed upstream though not yet in an officially released version,
@@ -119,7 +141,8 @@ stdenv.mkDerivation
postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub";
- meta = {
+ meta = with lib; {
+ homepage = "https://github.com/Aegisub/Aegisub";
description = "An advanced subtitle editor";
longDescription = ''
Aegisub is a free, cross-platform open source tool for creating and
@@ -127,12 +150,11 @@ stdenv.mkDerivation
audio, and features many powerful tools for styling them, including a
built-in real-time video preview.
'';
- homepage = "http://www.aegisub.org/";
- # The Aegisub sources are itself BSD/ISC,
- # but they are linked against GPL'd softwares
- # - so the resulting program will be GPL
+ # The Aegisub sources are itself BSD/ISC, but they are linked against GPL'd
+ # softwares - so the resulting program will be GPL
license = licenses.bsd3;
maintainers = [ maintainers.AndersonTorres ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
}
+# TODO [ AndersonTorres ]: update to fork release
diff --git a/pkgs/applications/video/aegisub/update-ffms2.patch b/pkgs/applications/video/aegisub/update-ffms2.patch
new file mode 100644
index 000000000000..affa46365cfb
--- /dev/null
+++ b/pkgs/applications/video/aegisub/update-ffms2.patch
@@ -0,0 +1,105 @@
+commit 89c4e8d34ab77c3322f097b91fd9de22cbea7a37
+Author: Thomas Goyne <plorkyeran@aegisub.org>
+Date: Wed Nov 21 16:41:05 2018 -0800
+
+ Update ffmpeg and ffms2
+
+diff --git a/src/video_provider_ffmpegsource.cpp b/src/video_provider_ffmpegsource.cpp
+index 8bd68fbbf..f4ed6a2f2 100644
+--- a/src/video_provider_ffmpegsource.cpp
++++ b/src/video_provider_ffmpegsource.cpp
+@@ -44,6 +44,23 @@
+ #include <libaegisub/make_unique.h>
+
+ namespace {
++typedef enum AGI_ColorSpaces {
++ AGI_CS_RGB = 0,
++ AGI_CS_BT709 = 1,
++ AGI_CS_UNSPECIFIED = 2,
++ AGI_CS_FCC = 4,
++ AGI_CS_BT470BG = 5,
++ AGI_CS_SMPTE170M = 6,
++ AGI_CS_SMPTE240M = 7,
++ AGI_CS_YCOCG = 8,
++ AGI_CS_BT2020_NCL = 9,
++ AGI_CS_BT2020_CL = 10,
++ AGI_CS_SMPTE2085 = 11,
++ AGI_CS_CHROMATICITY_DERIVED_NCL = 12,
++ AGI_CS_CHROMATICITY_DERIVED_CL = 13,
++ AGI_CS_ICTCP = 14
++} AGI_ColorSpaces;
++
+ /// @class FFmpegSourceVideoProvider
+ /// @brief Implements video loading through the FFMS library.
+ class FFmpegSourceVideoProvider final : public VideoProvider, FFmpegSourceProvider {
+@@ -78,7 +95,7 @@ public:
+ if (matrix == RealColorSpace)
+ FFMS_SetInputFormatV(VideoSource, CS, CR, FFMS_GetPixFmt(""), nullptr);
+ else if (matrix == "TV.601")
+- FFMS_SetInputFormatV(VideoSource, FFMS_CS_BT470BG, CR, FFMS_GetPixFmt(""), nullptr);
++ FFMS_SetInputFormatV(VideoSource, AGI_CS_BT470BG, CR, FFMS_GetPixFmt(""), nullptr);
+ else
+ return;
+ ColorSpace = matrix;
+@@ -103,16 +120,16 @@ std::string colormatrix_description(int cs, int cr) {
+ std::string str = cr == FFMS_CR_JPEG ? "PC" : "TV";
+
+ switch (cs) {
+- case FFMS_CS_RGB:
++ case AGI_CS_RGB:
+ return "None";
+- case FFMS_CS_BT709:
++ case AGI_CS_BT709:
+ return str + ".709";
+- case FFMS_CS_FCC:
++ case AGI_CS_FCC:
+ return str + ".FCC";
+- case FFMS_CS_BT470BG:
+- case FFMS_CS_SMPTE170M:
++ case AGI_CS_BT470BG:
++ case AGI_CS_SMPTE170M:
+ return str + ".601";
+- case FFMS_CS_SMPTE240M:
++ case AGI_CS_SMPTE240M:
+ return str + ".240M";
+ default:
+ throw VideoOpenError("Unknown video color space");
+@@ -206,8 +223,10 @@ void FFmpegSourceVideoProvider::LoadVideo(agi::fs::path const& filename, std::st
+
+ // set thread count
+ int Threads = OPT_GET("Provider/Video/FFmpegSource/Decoding Threads")->GetInt();
++#if FFMS_VERSION < ((2 << 24) | (30 << 16) | (0 << 8) | 0)
+ if (FFMS_GetVersion() < ((2 << 24) | (17 << 16) | (2 << 8) | 1) && FFMS_GetSourceType(Index) == FFMS_SOURCE_LAVF)
+ Threads = 1;
++#endif
+
+ // set seekmode
+ // TODO: give this its own option?
+@@ -235,18 +254,22 @@ void FFmpegSourceVideoProvider::LoadVideo(agi::fs::path const& filename, std::st
+ else
+ DAR = double(Width) / Height;
+
+- CS = TempFrame->ColorSpace;
++ int VideoCS = CS = TempFrame->ColorSpace;
+ CR = TempFrame->ColorRange;
+
+- if (CS == FFMS_CS_UNSPECIFIED)
+- CS = Width > 1024 || Height >= 600 ? FFMS_CS_BT709 : FFMS_CS_BT470BG;
++ if (CS == AGI_CS_UNSPECIFIED)
++ CS = Width > 1024 || Height >= 600 ? AGI_CS_BT709 : AGI_CS_BT470BG;
+ RealColorSpace = ColorSpace = colormatrix_description(CS, CR);
+
+ #if FFMS_VERSION >= ((2 << 24) | (17 << 16) | (1 << 8) | 0)
+- if (CS != FFMS_CS_RGB && CS != FFMS_CS_BT470BG && ColorSpace != colormatrix && (colormatrix == "TV.601" || OPT_GET("Video/Force BT.601")->GetBool())) {
+- if (FFMS_SetInputFormatV(VideoSource, FFMS_CS_BT470BG, CR, FFMS_GetPixFmt(""), &ErrInfo))
++ if (CS != AGI_CS_RGB && CS != AGI_CS_BT470BG && ColorSpace != colormatrix && (colormatrix == "TV.601" || OPT_GET("Video/Force BT.601")->GetBool())) {
++ CS = AGI_CS_BT470BG;
++ ColorSpace = colormatrix_description(AGI_CS_BT470BG, CR);
++ }
++
++ if (CS != VideoCS) {
++ if (FFMS_SetInputFormatV(VideoSource, CS, CR, FFMS_GetPixFmt(""), &ErrInfo))
+ throw VideoOpenError(std::string("Failed to set input format: ") + ErrInfo.Buffer);
+- ColorSpace = colormatrix_description(FFMS_CS_BT470BG, CR);
+ }
+ #endif
diff --git a/pkgs/applications/video/avxsynth/default.nix b/pkgs/applications/video/avxsynth/default.nix
deleted file mode 100644
index 3fd25bdf73db..000000000000
--- a/pkgs/applications/video/avxsynth/default.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
-, cairo, ffmpeg_3, ffms, libjpeg, log4cpp, pango
-, avxeditSupport ? false, qt4 ? null
-}:
-
-let
- inherit (lib) enableFeature optional;
-in
-
-stdenv.mkDerivation {
- pname = "avxsynth";
- version = "2015-04-07";
-
- src = fetchFromGitHub {
- owner = "avxsynth";
- repo = "avxsynth";
- rev = "80dcb7ec8d314bc158130c92803308aa8e5e9242";
- sha256 = "0kckggvgv68b0qjdi7ms8vi97b46dl63n60qr96d2w67lf2nk87z";
- };
-
- configureFlags = [
- "--enable-autocrop"
- "--enable-framecapture"
- "--enable-subtitle"
- "--enable-ffms2"
- (enableFeature avxeditSupport "avxedit")
- "--with-jpeg=${libjpeg.out}/lib"
- ];
-
- nativeBuildInputs = [ autoreconfHook pkg-config ];
-
- buildInputs = [ cairo ffmpeg_3 ffms libjpeg log4cpp pango ]
- ++ optional avxeditSupport qt4;
-
- meta = with lib; {
- description = "A script system that allows advanced non-linear editing";
- homepage = "https://github.com/avxsynth/avxsynth";
- license = licenses.gpl2Plus;
- maintainers = with maintainers; [ codyopel ];
- platforms = platforms.linux;
- broken = true; # 2018-04-10
- };
-}
diff --git a/pkgs/applications/video/bombono/default.nix b/pkgs/applications/video/bombono/default.nix
index 8d6df2c49045..a6633904c201 100644
--- a/pkgs/applications/video/bombono/default.nix
+++ b/pkgs/applications/video/bombono/default.nix
@@ -7,7 +7,8 @@
, dvdauthor
, dvdplusrwtools
, enca
-, ffmpeg_3
+, cdrkit
+, ffmpeg
, gettext
, gtk2
, gtkmm2
@@ -59,7 +60,7 @@ stdenv.mkDerivation rec {
dvdauthor
dvdplusrwtools
enca
- ffmpeg_3
+ ffmpeg
gtk2
gtkmm2
libdvdread
@@ -71,6 +72,13 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
+ postInstall = ''
+ # fix iso authoring
+ install -Dt $out/share/bombono/resources/scons_authoring tools/scripts/SConsTwin.py
+
+ wrapProgram $out/bin/bombono-dvd --prefix PATH : ${lib.makeBinPath [ ffmpeg dvdauthor cdrkit ]}
+ '';
+
meta = with lib; {
description = "a DVD authoring program for personal computers";
homepage = "https://www.bombono.org/";
diff --git a/pkgs/applications/video/byzanz/default.nix b/pkgs/applications/video/byzanz/default.nix
index 8bb9ff653668..89dbacb92423 100644
--- a/pkgs/applications/video/byzanz/default.nix
+++ b/pkgs/applications/video/byzanz/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchgit, wrapGAppsHook, which, gnome3, glib, intltool, pkg-config, libtool, cairo, gtk3, gst_all_1, xorg }:
+{ lib, stdenv, fetchgit, wrapGAppsHook, which, gnome, glib, intltool, pkg-config, libtool, cairo, gtk3, gst_all_1, xorg }:
stdenv.mkDerivation {
version = "0.2.3.alpha";
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
nativeBuildInputs = [ pkg-config ];
- buildInputs = [ which gnome3.gnome-common glib intltool libtool cairo gtk3 xorg.xwininfo xorg.libXdamage ]
+ buildInputs = [ which gnome.gnome-common glib intltool libtool cairo gtk3 xorg.xwininfo xorg.libXdamage ]
++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-libav wrapGAppsHook ]);
meta = with lib; {
diff --git a/pkgs/applications/video/celluloid/default.nix b/pkgs/applications/video/celluloid/default.nix
index 57eaf91f2aea..f6bc0561b0c6 100644
--- a/pkgs/applications/video/celluloid/default.nix
+++ b/pkgs/applications/video/celluloid/default.nix
@@ -1,42 +1,42 @@
-{ lib, stdenv
+{ lib
+, stdenv
, fetchFromGitHub
-, nix-update-script
-, meson
-, ninja
-, python3
-, gettext
-, pkg-config
-, desktop-file-utils
-, wrapGAppsHook
, appstream-glib
+, desktop-file-utils
, epoxy
+, gettext
, glib
, gtk3
+, meson
, mpv
+, ninja
+, nix-update-script
+, pkg-config
+, python3
+, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "celluloid";
- version = "0.20";
+ version = "0.21";
src = fetchFromGitHub {
owner = "celluloid-player";
repo = "celluloid";
rev = "v${version}";
- hash = "sha256-fEZnH8EqU6CykgKINXnKChuBUlisroa97B1vjcx2cWA=";
+ hash = "sha256-1Jeg1uqWxURGKR/Xg4j4roZ9Pg5MR7geyttdzlOU+rA=";
};
nativeBuildInputs = [
- meson
- ninja
- python3
appstream-glib
+ desktop-file-utils
gettext
+ meson
+ ninja
pkg-config
- desktop-file-utils
+ python3
wrapGAppsHook
];
-
buildInputs = [
epoxy
glib
@@ -50,22 +50,20 @@ stdenv.mkDerivation rec {
doCheck = true;
- passthru = {
- updateScript = nix-update-script {
- attrPath = pname;
- };
- };
-
meta = with lib; {
+ homepage = "https://github.com/celluloid-player/celluloid";
description = "Simple GTK frontend for the mpv video player";
longDescription = ''
- GNOME MPV interacts with mpv via the client API exported by libmpv,
- allowing access to mpv's powerful playback capabilities through an
- easy-to-use user interface.
+ Celluloid (formerly GNOME MPV) is a simple GTK+ frontend for mpv.
+ Celluloid interacts with mpv via the client API exported by libmpv,
+ allowing access to mpv's powerful playback capabilities.
'';
- homepage = "https://github.com/celluloid-player/celluloid";
license = licenses.gpl3Plus;
- maintainers = with maintainers; [ worldofpeace ];
+ maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
+
+ passthru.updateScript = nix-update-script {
+ attrPath = pname;
+ };
}
diff --git a/pkgs/applications/video/clipgrab/default.nix b/pkgs/applications/video/clipgrab/default.nix
index b24ff43ac671..5d331d1b4a69 100644
--- a/pkgs/applications/video/clipgrab/default.nix
+++ b/pkgs/applications/video/clipgrab/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchurl, makeDesktopItem, ffmpeg_3
+{ lib, fetchurl, makeDesktopItem, ffmpeg
, qmake, qttools, mkDerivation
, qtbase, qtdeclarative, qtlocation, qtquickcontrols2, qtwebchannel, qtwebengine
}:
@@ -13,19 +13,17 @@ mkDerivation rec {
url = "https://download.clipgrab.org/${pname}-${version}.tar.gz";
};
- buildInputs = [ ffmpeg_3 qtbase qtdeclarative qtlocation qtquickcontrols2 qtwebchannel qtwebengine ];
+ buildInputs = [ ffmpeg qtbase qtdeclarative qtlocation qtquickcontrols2 qtwebchannel qtwebengine ];
nativeBuildInputs = [ qmake qttools ];
- postPatch = lib.optionalString (ffmpeg_3 != null) ''
+ postPatch = lib.optionalString (ffmpeg != null) ''
substituteInPlace converter_ffmpeg.cpp \
- --replace '"ffmpeg"' '"${ffmpeg_3.bin}/bin/ffmpeg"' \
- --replace '"ffmpeg ' '"${ffmpeg_3.bin}/bin/ffmpeg '
+ --replace '"ffmpeg"' '"${ffmpeg.bin}/bin/ffmpeg"' \
+ --replace '"ffmpeg ' '"${ffmpeg.bin}/bin/ffmpeg '
'';
qmakeFlags = [ "clipgrab.pro" ];
- enableParallelBuilding = true;
-
desktopItem = makeDesktopItem rec {
name = "clipgrab";
exec = name;
@@ -37,9 +35,11 @@ mkDerivation rec {
};
installPhase = ''
+ runHook preInstall
install -Dm755 clipgrab $out/bin/clipgrab
install -Dm644 icon.png $out/share/pixmaps/clipgrab.png
cp -r ${desktopItem}/share/applications $out/share
+ runHook postInstall
'';
meta = with lib; {
diff --git a/pkgs/applications/video/devede/default.nix b/pkgs/applications/video/devede/default.nix
index 6a4d0dc1b8df..e8fa11c9147c 100644
--- a/pkgs/applications/video/devede/default.nix
+++ b/pkgs/applications/video/devede/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchFromGitLab, python3Packages, ffmpeg_3, mplayer, vcdimager, cdrkit, dvdauthor
+{ lib, fetchFromGitLab, python3Packages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor
, gtk3, gettext, wrapGAppsHook, gdk-pixbuf, gobject-introspection }:
let
@@ -30,11 +30,11 @@ in buildPythonApplication rec {
];
buildInputs = [
- ffmpeg_3
+ ffmpeg
];
propagatedBuildInputs = [
- gtk3 pygobject3 gdk-pixbuf dbus-python ffmpeg_3 mplayer dvdauthor vcdimager cdrkit urllib3 setuptools
+ gtk3 pygobject3 gdk-pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3 setuptools
];
postPatch = ''
diff --git a/pkgs/applications/video/droidcam/default.nix b/pkgs/applications/video/droidcam/default.nix
index eed4c030cfab..dfb110795f4c 100644
--- a/pkgs/applications/video/droidcam/default.nix
+++ b/pkgs/applications/video/droidcam/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "droidcam";
- version = "1.7.2";
+ version = "1.7.3";
src = fetchFromGitHub {
owner = "aramg";
repo = "droidcam";
rev = "v${version}";
- sha256 = "sha256-Ny/PJu+ifs9hQRDUv1pONBb6fKJzoiNtjPOFc4veU8c=";
+ sha256 = "sha256-Ok8FJweSzmewjYzfBJQ28xGHKK/Y32ng1hOCPVwc8eU=";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/video/dvdstyler/default.nix b/pkgs/applications/video/dvdstyler/default.nix
index 6366a222722f..81f3cac73e19 100644
--- a/pkgs/applications/video/dvdstyler/default.nix
+++ b/pkgs/applications/video/dvdstyler/default.nix
@@ -1,84 +1,115 @@
-{ lib, stdenv, fetchurl, pkg-config
-, flex, bison, gettext
-, xineUI, wxSVG
+{ lib
+, stdenv
+, fetchurl
+, bison
+, cdrtools
+, docbook5
+, dvdauthor
+, dvdplusrwtools
+, ffmpeg
+, flex
, fontconfig
-, xmlto, docbook5, zip
-, cdrtools, dvdauthor, dvdplusrwtools
+, gettext
+, libexif
+, makeWrapper
+, pkg-config
+, wxGTK30
+, wxSVG
+, xine-ui
+, xmlto
+, zip
+
, dvdisasterSupport ? true, dvdisaster ? null
, thumbnailSupport ? true, libgnomeui ? null
, udevSupport ? true, udev ? null
, dbusSupport ? true, dbus ? null
-, makeWrapper }:
-
-with lib;
-stdenv.mkDerivation rec {
+}:
+let
+ inherit (lib) optionals makeBinPath;
+in stdenv.mkDerivation rec {
pname = "dvdstyler";
- srcName = "DVDStyler-${version}";
version = "3.1.2";
src = fetchurl {
- url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/${srcName}.tar.bz2";
+ url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/DVDStyler-${version}.tar.bz2";
sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
};
- nativeBuildInputs =
- [ pkg-config ];
-
- packagesToBinPath =
- [ cdrtools dvdauthor dvdplusrwtools ];
-
- buildInputs =
- [ flex bison gettext xineUI
- wxSVG fontconfig xmlto
- docbook5 zip makeWrapper ]
- ++ packagesToBinPath
+ nativeBuildInputs = [
+ pkg-config
+ ];
+ buildInputs = [
+ bison
+ cdrtools
+ docbook5
+ dvdauthor
+ dvdplusrwtools
+ ffmpeg
+ flex
+ fontconfig
+ gettext
+ libexif
+ makeWrapper
+ wxSVG
+ wxGTK30
+ xine-ui
+ xmlto
+ zip
+ ]
++ optionals dvdisasterSupport [ dvdisaster ]
++ optionals udevSupport [ udev ]
++ optionals dbusSupport [ dbus ]
++ optionals thumbnailSupport [ libgnomeui ];
- binPath = makeBinPath packagesToBinPath;
- postInstall = ''
- wrapProgram $out/bin/dvdstyler \
- --prefix PATH ":" "${binPath}"
- '';
+ postInstall = let
+ binPath = makeBinPath [
+ cdrtools
+ dvdauthor
+ dvdplusrwtools
+ ]; in
+ ''
+ wrapProgram $out/bin/dvdstyler --prefix PATH ":" "${binPath}"
+ '';
+
+ enableParallelBuilding = true;
meta = with lib; {
+ homepage = "https://www.dvdstyler.org/";
description = "A DVD authoring software";
longDescription = ''
- DVDStyler is a cross-platform free DVD authoring application for the
- creation of professional-looking DVDs. It allows not only burning of video
- files on DVD that can be played practically on any standalone DVD player,
- but also creation of individually designed DVD menus. It is Open Source
- Software and is completely free.
+ DVDStyler is a cross-platform free DVD authoring application for the
+ creation of professional-looking DVDs. It allows not only burning of video
+ files on DVD that can be played practically on any standalone DVD player,
+ but also creation of individually designed DVD menus. It is Open Source
+ Software and is completely free.
+
+ Some of its features include:
- Some of its features include:
- - create and burn DVD video with interactive menus
- - design your own DVD menu or select one from the list of ready to use menu
- templates
- - create photo slideshow
- - add multiple subtitle and audio tracks
- - support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
- - support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
- video formats
- - support of multi-core processor
- - use MPEG and VOB files without reencoding
- - put files with different audio/video format on one DVD (support of
- titleset)
- - user-friendly interface with support of drag & drop
- - flexible menu creation on the basis of scalable vector graphic
- - import of image file for background
- - place buttons, text, images and other graphic objects anywhere on the menu
- screen
- - change the font/color and other parameters of buttons and graphic objects
- - scale any button or graphic object
- - copy any menu object or whole menu
- - customize navigation using DVD scripting
+ - create and burn DVD video with interactive menus
+ - design your own DVD menu or select one from the list of ready to use menu
+ templates
+ - create photo slideshow
+ - add multiple subtitle and audio tracks
+ - support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
+ - support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
+ video formats
+ - support of multi-core processor
+ - use MPEG and VOB files without reencoding
+ - put files with different audio/video format on one DVD (support of
+ titleset)
+ - user-friendly interface with support of drag & drop
+ - flexible menu creation on the basis of scalable vector graphic
+ - import of image file for background
+ - place buttons, text, images and other graphic objects anywhere on the menu
+ screen
+ - change the font/color and other parameters of buttons and graphic objects
+ - scale any button or graphic object
+ - copy any menu object or whole menu
+ - customize navigation using DVD scripting
'';
- homepage = "http://www.dvdstyler.org/";
- license = with licenses; gpl2;
+ license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; linux;
};
diff --git a/pkgs/applications/video/filebot/default.nix b/pkgs/applications/video/filebot/default.nix
index a9d56cc91085..92c15fea9a35 100644
--- a/pkgs/applications/video/filebot/default.nix
+++ b/pkgs/applications/video/filebot/default.nix
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
version = "4.9.3";
src = fetchurl {
- url = "https://get.filebot.net/filebot/FileBot_${version}/FileBot_${version}-portable.tar.xz";
- sha256 = "sha256-xgdCjo2RLp+EtUTfSiys7PURhnC00R9IOLPtz3427pA=";
+ url = "https://web.archive.org/web/20210326102451/https://get.filebot.net/filebot/FileBot_${version}/FileBot_${version}-portable.tar.xz";
+ sha256 = "sha256-T+y8k757/qFCVOCc/SNc7a+KmyscPlowubNQYzMr8jY=";
};
unpackPhase = "tar xvf $src";
diff --git a/pkgs/applications/video/gnomecast/default.nix b/pkgs/applications/video/gnomecast/default.nix
index 65865c31dfc8..335b8c191722 100644
--- a/pkgs/applications/video/gnomecast/default.nix
+++ b/pkgs/applications/video/gnomecast/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, python3Packages, gtk3, gobject-introspection, ffmpeg_3, wrapGAppsHook }:
+{ stdenv, lib, python3Packages, gtk3, gobject-introspection, ffmpeg, wrapGAppsHook }:
with python3Packages;
buildPythonApplication rec {
@@ -21,7 +21,7 @@ buildPythonApplication rec {
strictDeps = false;
preFixup = ''
- gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg_3 ]})
+ gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
'';
# no tests
diff --git a/pkgs/applications/video/haruna/default.nix b/pkgs/applications/video/haruna/default.nix
index 36c1c411591e..3e45dd62d683 100644
--- a/pkgs/applications/video/haruna/default.nix
+++ b/pkgs/applications/video/haruna/default.nix
@@ -26,13 +26,13 @@
mkDerivation rec {
pname = "haruna";
- version = "0.6.2";
+ version = "0.6.3";
src = fetchFromGitHub {
owner = "g-fb";
repo = "haruna";
rev = version;
- sha256 = "sha256-YsC0ZdLwHCO9izDIk2dTMr0U/nb60MHSxKURV8Xltss=";
+ sha256 = "sha256-gJCLc8qJolv4Yufm/OBCTTEpyoodtySAqKH+zMHCoLU=";
};
buildInputs = [
diff --git a/pkgs/applications/video/hdhomerun-config-gui/default.nix b/pkgs/applications/video/hdhomerun-config-gui/default.nix
index b44da238d1e1..62726dff4112 100644
--- a/pkgs/applications/video/hdhomerun-config-gui/default.nix
+++ b/pkgs/applications/video/hdhomerun-config-gui/default.nix
@@ -1,12 +1,12 @@
-{ lib, stdenv, fetchurl, libhdhomerun, gcc, gnumake, pkg-config, gtk2 }:
+{ lib, stdenv, fetchurl, libhdhomerun, pkg-config, gtk2 }:
stdenv.mkDerivation rec {
pname = "hdhomerun-config-gui";
- version = "20200907";
+ version = "20210224";
src = fetchurl {
url = "https://download.silicondust.com/hdhomerun/hdhomerun_config_gui_${version}.tgz";
- sha256 = "17zf0hzw68b0xdkh1maqhl96jb7171mbhd29y64as29nps9x4fmz";
+ sha256 = "sha256-vzrSk742Ca2I8Uk0uGo44SxpEoVY1QBn62Ahwz8E7p8=";
};
nativeBuildInputs = [ pkg-config ];
diff --git a/pkgs/applications/video/jellyfin-media-player/default.nix b/pkgs/applications/video/jellyfin-media-player/default.nix
index 829cc4835eac..f7abc95cb0c9 100644
--- a/pkgs/applications/video/jellyfin-media-player/default.nix
+++ b/pkgs/applications/video/jellyfin-media-player/default.nix
@@ -26,18 +26,18 @@
mkDerivation rec {
pname = "jellyfin-media-player";
- version = "1.5.0";
+ version = "1.6.0";
src = fetchFromGitHub {
owner = "jellyfin";
repo = "jellyfin-media-player";
rev = "v${version}";
- sha256 = "sha256-A3vo6678XFUV2RN1lcGYbIjCbBjR1oeORcidKZVnImg=";
+ sha256 = "sha256-u19WJupSqIzA8W0QG9mue8Ticy+HxBAniuKIUFl7ONs=";
};
jmpDist = fetchzip {
- url = "https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.2-3/dist.zip";
- sha256 = "sha256-Rb0q3NFmnYkueq0JkIWkX0C/oL+gFrNOELCNfh9X/P4=";
+ url = "https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.3/dist.zip";
+ sha256 = "sha256-P7WEYbVvpaVLwMgqC2e8QtMOaJclg0bX78J1fdGzcCU=";
};
patches = [
@@ -106,5 +106,6 @@ mkDerivation rec {
license = with licenses; [ gpl2Only mit ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
maintainers = with maintainers; [ jojosch ];
+ mainProgram = "jellyfinmediaplayer";
};
}
diff --git a/pkgs/applications/video/jftui/default.nix b/pkgs/applications/video/jftui/default.nix
index b050e2636ccb..baffc789488b 100644
--- a/pkgs/applications/video/jftui/default.nix
+++ b/pkgs/applications/video/jftui/default.nix
@@ -8,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "jftui";
- version = "0.4.0";
+ version = "0.5.1";
src = fetchFromGitHub {
owner = "Aanok";
repo = pname;
rev = "v${version}";
- sha256 = "0riwqfh5lyjg7as75kyx7jw6zq4gikbglhv8s05y7pzgsc9xy75j";
+ sha256 = "sha256-/QVSywS0O+HZpwY9W3le3RK3OhCkmdLYMCGTyyBdsFw=";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/video/kino/default.nix b/pkgs/applications/video/kino/default.nix
deleted file mode 100644
index 59af93a65efa..000000000000
--- a/pkgs/applications/video/kino/default.nix
+++ /dev/null
@@ -1,95 +0,0 @@
-# is this configure option of interest?
-#--enable-udev-rules-dir=PATH
-# Where to install udev rules (/etc/udev/rules.d)
-
-#TODO shared version?
-
-
-# This is my config output.. Much TODO ?
-#source path /tmp/nix-31998-1/kino-1.2.0/ffmpeg
-#C compiler gcc
-#make make
-#.align is power-of-two no
-#ARCH x86_64 (generic)
-#build suffix -kino
-#big-endian no
-#MMX enabled yes
-#CMOV enabled no
-#CMOV is fast no
-#gprof enabled no
-#debug symbols yes
-#strip symbols yes
-#optimize yes
-#static yes
-#shared no
-#postprocessing support no
-#software scaler enabled yes
-#video hooking no
-#network support no
-#threading support no
-#SDL support no
-#Sun medialib support no
-#AVISynth enabled no
-#liba52 support no
-#liba52 dlopened no
-#libdts support no
-#libfaac enabled no
-#libfaad enabled no
-#faadbin enabled no
-#libgsm enabled no
-#libmp3lame enabled no
-#libnut enabled no
-#libogg enabled no
-#libtheora enabled no
-#libvorbis enabled no
-#x264 enabled no
-#XviD enabled no
-#zlib enabled no
-#AMR-NB float support no
-#AMR-NB fixed support no
-#AMR-WB float support no
-#AMR-WB IF2 support no
-
-{ lib, stdenv, fetchurl, gtk2, libglade, libxml2, libraw1394, libsamplerate, libdv
-, pkg-config, perlPackages, libavc1394, libiec61883, libXv, gettext
-, libX11, glib, cairo, intltool, ffmpeg, libv4l
-}:
-
-stdenv.mkDerivation {
- name = "kino-1.3.4";
-
- src = fetchurl {
- url = "mirror://sourceforge/kino/kino-1.3.4.tar.gz";
- sha256 = "020s05k0ma83rq2kfs8x474pqicaqp9spar81qc816ddfrnh8k8i";
- };
-
- buildInputs = [ gtk2 libglade libxml2 libraw1394 libsamplerate libdv
- pkg-config libavc1394 libiec61883 intltool libXv gettext libX11 glib cairo ffmpeg libv4l ] # TODOoptional packages
- ++ (with perlPackages; [ perl XMLParser ]);
-
- configureFlags = [ "--enable-local-ffmpeg=no" ];
-
- hardeningDisable = [ "format" ];
-
- env.NIX_LDFLAGS = "-lavcodec -lavutil";
-
- patches = [ ./kino-1.3.4-v4l1.patch ./kino-1.3.4-libav-0.7.patch ./kino-1.3.4-libav-0.8.patch ]; #./kino-1.3.4-libavcodec-pkg-config.patch ];
-
- postInstall = "
- rpath=`patchelf --print-rpath \$out/bin/kino`;
- for i in $buildInputs; do
- echo adding \$i/lib
- rpath=\$rpath\${rpath:+:}\$i/lib
- done
- for i in \$out/bin/*; do
- patchelf --set-rpath \"\$rpath\" \"\$i\"
- done
- ";
-
- meta = {
- description = "Non-linear DV editor for GNU/Linux";
- homepage = "http://www.kinodv.org/";
- license = lib.licenses.gpl2;
- platforms = lib.platforms.linux;
- };
-}
diff --git a/pkgs/applications/video/kino/kino-1.3.4-libav-0.7.patch b/pkgs/applications/video/kino/kino-1.3.4-libav-0.7.patch
deleted file mode 100644
index 65c5bc38276d..000000000000
--- a/pkgs/applications/video/kino/kino-1.3.4-libav-0.7.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- kino-1.3.4.orig/src/frame.cc 2011-07-17 14:54:59.089481638 +0200
-+++ kino-1.3.4/src/frame.cc 2011-07-17 15:09:23.199481714 +0200
-@@ -1063,7 +1063,12 @@
- AVPicture dest;
- int got_picture;
-
-- avcodec_decode_video( libavcodec, frame, &got_picture, data, GetFrameSize() );
-+ AVPacket pkt;
-+ av_init_packet(&pkt);
-+ pkt.data = data;
-+ pkt.size = GetFrameSize();
-+
-+ avcodec_decode_video2( libavcodec, frame, &got_picture, &pkt );
- if ( got_picture )
- {
- avpicture_fill( &dest, static_cast<uint8_t*>( rgb ), PIX_FMT_RGB24, GetWidth(), GetHeight() );
-@@ -1123,7 +1128,12 @@
- AVPicture output;
- int got_picture;
-
-- avcodec_decode_video( libavcodec, frame, &got_picture, data, GetFrameSize() );
-+ AVPacket pkt;
-+ av_init_packet(&pkt);
-+ pkt.data = data;
-+ pkt.size = GetFrameSize();
-+
-+ avcodec_decode_video2( libavcodec, frame, &got_picture, &pkt );
- if ( got_picture )
- {
- avpicture_fill( &output, static_cast<uint8_t*>( yuv ), PIX_FMT_YUV422, GetWidth(), GetHeight() );
-@@ -1156,7 +1166,12 @@
- AVFrame *frame = avcodec_alloc_frame();
- int got_picture;
-
-- avcodec_decode_video( libavcodec, frame, &got_picture, data, GetFrameSize() );
-+ AVPacket pkt;
-+ av_init_packet(&pkt);
-+ pkt.data = data;
-+ pkt.size = GetFrameSize();
-+
-+ avcodec_decode_video2( libavcodec, frame, &got_picture, &pkt );
-
- int width = GetWidth(), height = GetHeight();
-
-@@ -1319,12 +1334,12 @@
- #if defined(HAVE_LIBAVCODEC)
- if ( avformatEncoder == NULL )
- {
-- avformatEncoder = av_alloc_format_context();
-+ avformatEncoder = avformat_alloc_context();
- if ( avformatEncoder )
- {
-- avformatEncoder->oformat = guess_format( "dv", NULL, NULL );
-+ avformatEncoder->oformat = av_guess_format( "dv", NULL, NULL );
- AVStream* vst = av_new_stream( avformatEncoder, 0 );
-- vst->codec->codec_type = CODEC_TYPE_VIDEO;
-+ vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
- vst->codec->codec_id = CODEC_ID_DVVIDEO;
- vst->codec->bit_rate = 25000000;
- vst->start_time = 0;
diff --git a/pkgs/applications/video/kino/kino-1.3.4-libav-0.8.patch b/pkgs/applications/video/kino/kino-1.3.4-libav-0.8.patch
deleted file mode 100644
index f98cbda0bc49..000000000000
--- a/pkgs/applications/video/kino/kino-1.3.4-libav-0.8.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- kino-1.3.4.orig/src/frame.cc 2012-05-14 19:55:42.153772418 -0700
-+++ kino-1.3.4/src/frame.cc 2012-05-14 20:28:34.448838653 -0700
-@@ -101,8 +101,9 @@
- #if defined(HAVE_LIBAVCODEC)
- pthread_mutex_lock( &avcodec_mutex );
- av_register_all();
-- libavcodec = avcodec_alloc_context();
-- avcodec_open( libavcodec, avcodec_find_decoder( CODEC_ID_DVVIDEO ) );
-+ libavcodec = avcodec_alloc_context3(NULL);
-+ avcodec_open2( libavcodec,
-+ avcodec_find_decoder( CODEC_ID_DVVIDEO ), NULL );
- pthread_mutex_unlock( &avcodec_mutex );
- data = ( unsigned char* ) av_mallocz( 144000 );
- #if defined(HAVE_SWSCALE)
-@@ -1338,7 +1339,7 @@
- if ( avformatEncoder )
- {
- avformatEncoder->oformat = av_guess_format( "dv", NULL, NULL );
-- AVStream* vst = av_new_stream( avformatEncoder, 0 );
-+ AVStream* vst = avformat_new_stream( avformatEncoder, NULL );
- vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
- vst->codec->codec_id = CODEC_ID_DVVIDEO;
- vst->codec->bit_rate = 25000000;
-@@ -1364,12 +1365,10 @@
- vst->sample_aspect_ratio = avcodecEncoder->sample_aspect_ratio;
- #endif
- avcodecEncoder->thread_count = 2;
-- avcodec_thread_init( avcodecEncoder, avcodecEncoder->thread_count );
- avcodecEncoder->time_base= isPAL ? ( AVRational ){ 1, 25 } : ( AVRational ){ 1001, 30000 };
- avcodecEncoder->pix_fmt = isPAL ? PIX_FMT_YUV420P : PIX_FMT_YUV411P;
- avcodecEncoder->flags |= CODEC_FLAG_INTERLACED_DCT;
-- av_set_parameters( avformatEncoder, NULL );
-- avcodec_open( avcodecEncoder, avcodec_find_encoder( CODEC_ID_DVVIDEO ) );
-+ avcodec_open2( avcodecEncoder, avcodec_find_encoder( CODEC_ID_DVVIDEO ), NULL );
- av_new_packet( &avpacketEncoder, 144000 );
- tempImage = ( uint8_t* ) av_malloc(
- avpicture_get_size( avcodecEncoder->pix_fmt, avcodecEncoder->width, avcodecEncoder->height ) );
-@@ -1475,16 +1474,16 @@
-
- // Encode
- bytesInFrame = avcodec_encode_video( avcodecEncoder, avpacketEncoder.data, size, output );
-- url_open_buf( &avformatEncoder->pb, data, bytesInFrame, URL_WRONLY );
-+ avformatEncoder->pb = avio_alloc_context(data, bytesInFrame, 0, NULL, NULL, NULL, NULL);
- avpacketEncoder.size = bytesInFrame;
- if ( !isEncoderHeaderWritten )
- {
-- av_write_header( avformatEncoder );
-+ avformat_write_header( avformatEncoder, NULL );
- isEncoderHeaderWritten = true;
- }
- av_write_frame( avformatEncoder, &avpacketEncoder );
- #if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(0<<8)+0)
-- url_close_buf( avformatEncoder->pb );
-+ avio_close( avformatEncoder->pb );
- #else
- url_close_buf( &avformatEncoder->pb );
- #endif
diff --git a/pkgs/applications/video/kino/kino-1.3.4-libavcodec-pkg-config.patch b/pkgs/applications/video/kino/kino-1.3.4-libavcodec-pkg-config.patch
deleted file mode 100644
index d6a8953cf00a..000000000000
--- a/pkgs/applications/video/kino/kino-1.3.4-libavcodec-pkg-config.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/kino-1.3.4/configure.in 2009-09-08 02:35:23.000000000 -0400
-+++ b/kino-1.3.4/configure.in 2014-01-27 14:53:01.366063037 -0500
-@@ -221,7 +221,7 @@
- if (test "x$avcodec_include" != x) || (test "x$avcodec_lib" != x) ; then
- local_legacy_ffmpeg_test
- else
-- PKG_CHECK_MODULES(AVCODEC, libavformat,
-+ PKG_CHECK_MODULES(AVCODEC, [libavcodec libavformat libavutil],
- [
- AC_DEFINE(HAVE_LIBAVCODEC, 1, [Enable FFMPEG libavcodec])
- AC_SUBST(AVCODEC_LIBS)
diff --git a/pkgs/applications/video/kino/kino-1.3.4-v4l1.patch b/pkgs/applications/video/kino/kino-1.3.4-v4l1.patch
deleted file mode 100644
index 05ec7386709e..000000000000
--- a/pkgs/applications/video/kino/kino-1.3.4-v4l1.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-no-1.3.3.orig/ffmpeg/libavdevice/v4l.c 2011-05-17 02:20:37.161004916 +0400
-+++ kino-1.3.3.orig/ffmpeg/libavdevice/v4l.c 2011-05-17 02:21:57.302377529 +0400
-@@ -26,7 +26,7 @@
- #include <sys/mman.h>
- #include <sys/time.h>
- #define _LINUX_TIME_H 1
--#include <linux/videodev.h>
-+#include <libv4l1-videodev.h>
- #include <time.h>
-
- typedef struct {
---- kino-1.3.3.orig/src/v4l.h 2011-05-17 02:20:38.896969666 +0400
-+++ kino-1.3.3.orig/src/v4l.h 2011-05-17 02:21:39.922730395 +0400
-@@ -40,7 +40,7 @@
-
- #define _DEVICE_H_
- #define _LINUX_TIME_H
--#include <linux/videodev.h>
-+#include <libv4l1-videodev.h>
-
- #include "displayer.h"
diff --git a/pkgs/applications/video/kodi-packages/inputstream-adaptive/default.nix b/pkgs/applications/video/kodi-packages/inputstream-adaptive/default.nix
index b2a9fc33255f..62ebe39788f4 100644
--- a/pkgs/applications/video/kodi-packages/inputstream-adaptive/default.nix
+++ b/pkgs/applications/video/kodi-packages/inputstream-adaptive/default.nix
@@ -2,13 +2,13 @@
buildKodiBinaryAddon rec {
pname = "inputstream-adaptive";
namespace = "inputstream.adaptive";
- version = "2.6.13";
+ version = "2.6.14";
src = fetchFromGitHub {
owner = "xbmc";
repo = "inputstream.adaptive";
rev = "${version}-${rel}";
- sha256 = "1xvinmwyx7mai84i8c394dqw86zb6ib9wnxjmv7zpky6x64lvv10";
+ sha256 = "sha256-5hYB9J4syY+2XOTdg9h7xLk8MMEG88EETIgkUmz4KOU=";
};
extraNativeBuildInputs = [ gtest ];
diff --git a/pkgs/applications/video/kodi-packages/inputstream-ffmpegdirect/default.nix b/pkgs/applications/video/kodi-packages/inputstream-ffmpegdirect/default.nix
index f6ab6d2e95a9..1e91c2679855 100644
--- a/pkgs/applications/video/kodi-packages/inputstream-ffmpegdirect/default.nix
+++ b/pkgs/applications/video/kodi-packages/inputstream-ffmpegdirect/default.nix
@@ -3,13 +3,13 @@
buildKodiBinaryAddon rec {
pname = "inputstream-ffmpegdirect";
namespace = "inputstream.ffmpegdirect";
- version = "1.21.1";
+ version = "1.21.3";
src = fetchFromGitHub {
owner = "xbmc";
repo = "inputstream.ffmpegdirect";
rev = "${version}-${rel}";
- sha256 = "1x5gj7iq74ysyfrzvp135m0pjz47zamcgw1v1334xd7xcx5q178p";
+ sha256 = "sha256-OShd6sPGXXu0rlSwuQFMWqrLscE6Y0I2eV2YJYyZNMs=";
};
extraBuildInputs = [ bzip2 zlib kodi.ffmpeg ];
diff --git a/pkgs/applications/video/kodi-packages/netflix/default.nix b/pkgs/applications/video/kodi-packages/netflix/default.nix
index e258270dad63..1aac5f8e9b27 100644
--- a/pkgs/applications/video/kodi-packages/netflix/default.nix
+++ b/pkgs/applications/video/kodi-packages/netflix/default.nix
@@ -3,13 +3,13 @@
buildKodiAddon rec {
pname = "netflix";
namespace = "plugin.video.netflix";
- version = "1.15.0";
+ version = "1.15.1";
src = fetchFromGitHub {
owner = "CastagnaIT";
repo = namespace;
rev = "v${version}";
- sha256 = "1jibzzm8viqpanby6lqxpb95gw5hw3lfsw4jasjskiinbf8n469k";
+ sha256 = "0c5cdi6s76vg2gyxzf0ylisxai1ii8vi6h4q4mznpfmplfdp667v";
};
propagatedBuildInputs = [
diff --git a/pkgs/applications/video/kodi-packages/osmc-skin/default.nix b/pkgs/applications/video/kodi-packages/osmc-skin/default.nix
index c83fd66a4333..7bbb62029bba 100644
--- a/pkgs/applications/video/kodi-packages/osmc-skin/default.nix
+++ b/pkgs/applications/video/kodi-packages/osmc-skin/default.nix
@@ -15,7 +15,7 @@ buildKodiAddon rec {
homepage = "https://github.com/osmc/skin.osmc";
description = "The default skin for OSMC";
platforms = platforms.all;
- maintainers = with maintainers; [ worldofpeace ];
+ maintainers = with maintainers; [ ];
license = licenses.cc-by-nc-sa-30;
};
}
diff --git a/pkgs/applications/video/kodi-packages/pvr-iptvsimple/default.nix b/pkgs/applications/video/kodi-packages/pvr-iptvsimple/default.nix
index 74c5973da540..b6feec8ab039 100644
--- a/pkgs/applications/video/kodi-packages/pvr-iptvsimple/default.nix
+++ b/pkgs/applications/video/kodi-packages/pvr-iptvsimple/default.nix
@@ -6,13 +6,13 @@
buildKodiBinaryAddon rec {
pname = "pvr-iptvsimple";
namespace = "pvr.iptvsimple";
- version = "7.6.1";
+ version = "7.6.5";
src = fetchFromGitHub {
owner = "kodi-pvr";
repo = "pvr.iptvsimple";
rev = "${version}-${rel}";
- sha256 = "1g1ildl2l6nl63qbfhijcbmvr6z84nqhjsy2lgx3dy25cmcqzir9";
+ sha256 = "sha256-Z4H+5dUYJ3vAgodPxWmttVhPVdPVYTJbmYxo1lzLHNA=";
};
extraBuildInputs = [
diff --git a/pkgs/applications/video/kodi/unwrapped.nix b/pkgs/applications/video/kodi/unwrapped.nix
index 87cb39f4ea59..184274647424 100644
--- a/pkgs/applications/video/kodi/unwrapped.nix
+++ b/pkgs/applications/video/kodi/unwrapped.nix
@@ -38,15 +38,15 @@ assert usbSupport -> !udevSupport; # libusb-compat-0_1 won't be used if udev is
assert gbmSupport || waylandSupport || x11Support;
let
- kodiReleaseDate = "20210219";
- kodiVersion = "19.0";
+ kodiReleaseDate = "20210508";
+ kodiVersion = "19.1";
rel = "Matrix";
kodi_src = fetchFromGitHub {
owner = "xbmc";
repo = "xbmc";
rev = "${kodiVersion}-${rel}";
- sha256 = "097dg6a7v4ia85jx1pmlpwzdpqcqxlrmniqd005q73zvgj67zc2p";
+ sha256 = "0jh67vw3983lnfgqzqfislawwbpq0vxxk1ljsg7mar06mlwfxb7h";
};
ffmpeg = stdenv.mkDerivation rec {
diff --git a/pkgs/applications/video/kooha/default.nix b/pkgs/applications/video/kooha/default.nix
index 0a3de27f53ed..223ed132c928 100644
--- a/pkgs/applications/video/kooha/default.nix
+++ b/pkgs/applications/video/kooha/default.nix
@@ -4,14 +4,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "kooha";
- version = "1.1.1";
+ version = "1.1.3";
format = "other";
src = fetchFromGitHub {
owner = "SeaDve";
repo = "Kooha";
rev = "v${version}";
- sha256 = "05515xccs6y3wy28a6lkyn2jgi0fli53548l8qs73li8mdbxzd4c";
+ sha256 = "14lrx6wplvlk3cg3wij88h4ydp3m69pw7lvvzrq3j9qnh431bs36";
};
buildInputs = [
diff --git a/pkgs/applications/video/makemkv/default.nix b/pkgs/applications/video/makemkv/default.nix
index 817daf31d0aa..da18a8d7abef 100644
--- a/pkgs/applications/video/makemkv/default.nix
+++ b/pkgs/applications/video/makemkv/default.nix
@@ -3,7 +3,7 @@
, fetchurl
, autoPatchelfHook
, pkg-config
-, ffmpeg_3
+, ffmpeg
, openssl
, qtbase
, zlib
@@ -39,7 +39,7 @@ in mkDerivation {
nativeBuildInputs = [ autoPatchelfHook pkg-config ];
- buildInputs = [ ffmpeg_3 openssl qtbase zlib ];
+ buildInputs = [ ffmpeg openssl qtbase zlib ];
qtWrapperArgs =
let
diff --git a/pkgs/applications/video/manim/default.nix b/pkgs/applications/video/manim/default.nix
index f2d33506ffcd..0f224a5b1057 100644
--- a/pkgs/applications/video/manim/default.nix
+++ b/pkgs/applications/video/manim/default.nix
@@ -1,5 +1,5 @@
{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder, file, fetchpatch
-, cairo, ffmpeg_3, sox, xdg-utils, texlive
+, cairo, ffmpeg, sox, xdg-utils, texlive
, colour, numpy, pillow, progressbar, scipy, tqdm, opencv , pycairo, pydub
, pbr, fetchPypi
}:
@@ -28,14 +28,14 @@ buildPythonApplication rec {
pycairo
pydub
- cairo sox ffmpeg_3 xdg-utils
+ cairo sox ffmpeg xdg-utils
];
# Test with texlive to see whether it works but don't propagate
# because it's huge and optional
# TODO: Use smaller TexLive distribution
# Doesn't need everything but it's hard to figure out what it needs
- checkInputs = [ cairo sox ffmpeg_3 xdg-utils texlive.combined.scheme-full ];
+ checkInputs = [ cairo sox ffmpeg xdg-utils texlive.combined.scheme-full ];
# Simple test and complex test with LaTeX
checkPhase = ''
diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix
index 9234121479e1..9fff6d7b7b2a 100644
--- a/pkgs/applications/video/mplayer/default.nix
+++ b/pkgs/applications/video/mplayer/default.nix
@@ -106,6 +106,8 @@ stdenv.mkDerivation rec {
rm -rf ffmpeg
'';
+ patches = [ ./svn-r38199-ffmpeg44fix.patch ];
+
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ pkg-config yasm ];
buildInputs = with lib;
diff --git a/pkgs/applications/video/mplayer/svn-r38199-ffmpeg44fix.patch b/pkgs/applications/video/mplayer/svn-r38199-ffmpeg44fix.patch
new file mode 100644
index 000000000000..4137989fcb54
--- /dev/null
+++ b/pkgs/applications/video/mplayer/svn-r38199-ffmpeg44fix.patch
@@ -0,0 +1,22 @@
+Index: libmpcodecs/ad_spdif.c
+===================================================================
+diff --git a/libmpcodecs/ad_spdif.c b/libmpcodecs/ad_spdif.c
+--- a/libmpcodecs/ad_spdif.c (revision 38198)
++++ b/libmpcodecs/ad_spdif.c (revision 38199)
+@@ -298,14 +298,8 @@
+ if (spdif_ctx->header_written)
+ av_write_trailer(lavf_ctx);
+ av_freep(&lavf_ctx->pb);
+- if (lavf_ctx->streams) {
+- av_freep(&lavf_ctx->streams[0]->codec);
+- av_freep(&lavf_ctx->streams[0]->info);
+- av_freep(&lavf_ctx->streams[0]);
+- }
+- av_freep(&lavf_ctx->streams);
+- av_freep(&lavf_ctx->priv_data);
++ avformat_free_context(lavf_ctx);
++ lavf_ctx = NULL;
+ }
+- av_freep(&lavf_ctx);
+ av_freep(&spdif_ctx);
+ }
diff --git a/pkgs/applications/video/openshot-qt/default.nix b/pkgs/applications/video/openshot-qt/default.nix
index 5951f4665e40..c25e53b657b6 100644
--- a/pkgs/applications/video/openshot-qt/default.nix
+++ b/pkgs/applications/video/openshot-qt/default.nix
@@ -18,7 +18,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
buildInputs = [ gtk3 ];
- propagatedBuildInputs = with python3Packages; [ libopenshot pyqt5_with_qtwebkit requests sip httplib2 pyzmq ];
+ propagatedBuildInputs = with python3Packages; [ libopenshot pyqt5_with_qtwebkit requests sip_4 httplib2 pyzmq ];
dontWrapGApps = true;
dontWrapQtApps = true;
diff --git a/pkgs/applications/video/openshot-qt/libopenshot.nix b/pkgs/applications/video/openshot-qt/libopenshot.nix
index 169bd33b7095..246c3d5cab86 100644
--- a/pkgs/applications/video/openshot-qt/libopenshot.nix
+++ b/pkgs/applications/video/openshot-qt/libopenshot.nix
@@ -1,8 +1,8 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch
, pkg-config, cmake, doxygen
-, libopenshot-audio, imagemagick, ffmpeg_3
-, swig, python3
-, unittest-cpp, cppzmq, zeromq
+, libopenshot-audio, imagemagick, ffmpeg
+, swig, python3, jsoncpp
+, cppzmq, zeromq
, qtbase, qtmultimedia
, llvmPackages
}:
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
};
patches = [
+ # Fix build with GCC 10.
(fetchpatch {
name = "fix-build-with-gcc-10.patch";
url = "https://github.com/OpenShot/libopenshot/commit/13290364e7bea54164ab83d973951f2898ad9e23.diff";
@@ -33,10 +34,10 @@ stdenv.mkDerivation rec {
export _REL_PYTHON_MODULE_PATH=$(toPythonPath $out)
'';
- nativeBuildInputs = [ pkg-config cmake doxygen ];
+ nativeBuildInputs = [ pkg-config cmake doxygen swig ];
buildInputs =
- [ imagemagick ffmpeg_3 swig python3 unittest-cpp
+ [ imagemagick ffmpeg python3 jsoncpp
cppzmq zeromq qtbase qtmultimedia ]
++ optional stdenv.isDarwin llvmPackages.openmp
;
@@ -44,7 +45,6 @@ stdenv.mkDerivation rec {
dontWrapQtApps = true;
LIBOPENSHOT_AUDIO_DIR = libopenshot-audio;
- "UNITTEST++_INCLUDE_DIR" = "${unittest-cpp}/include/UnitTest++";
doCheck = false;
diff --git a/pkgs/applications/video/peek/default.nix b/pkgs/applications/video/peek/default.nix
index 2a1418cb3731..edeb848867fb 100644
--- a/pkgs/applications/video/peek/default.nix
+++ b/pkgs/applications/video/peek/default.nix
@@ -16,7 +16,7 @@
, glib
, cairo
, keybinder3
-, ffmpeg_3
+, ffmpeg
, python3
, libxml2
, gst_all_1
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
'';
preFixup = ''
- gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ which ffmpeg_3 gifski ]})
+ gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ which ffmpeg gifski ]})
'';
passthru = {
@@ -79,8 +79,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/phw/peek";
description = "Simple animated GIF screen recorder with an easy to use interface";
- license = licenses.gpl3;
- maintainers = with maintainers; [ puffnfresh worldofpeace ];
+ license = licenses.gpl3Plus;
+ maintainers = with maintainers; [ puffnfresh ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/video/pitivi/default.nix b/pkgs/applications/video/pitivi/default.nix
index 45c96fb180d3..b1be6035f9e8 100644
--- a/pkgs/applications/video/pitivi/default.nix
+++ b/pkgs/applications/video/pitivi/default.nix
@@ -11,7 +11,7 @@
, gobject-introspection
, libpeas
, librsvg
-, gnome3
+, gnome
, libnotify
, gsound
, meson
@@ -21,13 +21,13 @@
python3Packages.buildPythonApplication rec {
pname = "pitivi";
- version = "2020.09.2";
+ version = "2021.01";
format = "other";
src = fetchurl {
- url = "mirror://gnome/sources/pitivi/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0hzvv4wia4rk0kvq16y27imq2qd4q5lg3vx99hdcjdb1x3zqqfg0";
+ url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz";
+ sha256 = "0krzsrv19v3mwhbsm72ica6m3p8ijy0lbd0c3s87yd7pmbwld2c1";
};
patches = [
@@ -52,9 +52,9 @@ python3Packages.buildPythonApplication rec {
gtk3
libpeas
librsvg
- gnome3.gnome-desktop
+ gnome.gnome-desktop
gsound
- gnome3.adwaita-icon-theme
+ gnome.adwaita-icon-theme
gsettings-desktop-schemas
libnotify
] ++ (with gst_all_1; [
@@ -89,7 +89,7 @@ python3Packages.buildPythonApplication rec {
strictDeps = false;
passthru = {
- updateScript = gnome3.updateScript {
+ updateScript = gnome.updateScript {
packageName = "pitivi";
versionPolicy = "none"; # we are using dev version, since the stable one is too old
};
diff --git a/pkgs/applications/video/prism/default.nix b/pkgs/applications/video/prism/default.nix
new file mode 100644
index 000000000000..8cb6153b8111
--- /dev/null
+++ b/pkgs/applications/video/prism/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "prism";
+ version = "0.1.1";
+
+ src = fetchFromGitHub {
+ owner = "muesli";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0q7q7aj3fm45bnx6hgl9c1ll8na16x6p7qapr0c4a6dhxwd7n511";
+ };
+
+ vendorSha256 = "1mkd1s9zgzy9agy2rjjk8wfdga7nzv9cmwgiarfi4xrqzj4mbaxq";
+
+ meta = with lib; {
+ description = "An RTMP stream recaster/splitter";
+ homepage = "https://github.com/muesli/prism";
+ license = licenses.mit;
+ maintainers = with maintainers; [ paperdigits ];
+ };
+}
diff --git a/pkgs/applications/video/qmediathekview/default.nix b/pkgs/applications/video/qmediathekview/default.nix
index d0f414135703..e37a8b1ed4ae 100644
--- a/pkgs/applications/video/qmediathekview/default.nix
+++ b/pkgs/applications/video/qmediathekview/default.nix
@@ -1,13 +1,22 @@
-{ mkDerivation, lib, fetchFromGitHub, qtbase, qttools, xz, boost, qmake, pkg-config }:
+{ lib
+, stdenv
+, mkDerivation
+, fetchFromGitHub
+, boost
+, qtbase
+, xz
+, qmake
+, pkg-config
+}:
mkDerivation rec {
pname = "QMediathekView";
- version = "2019-01-06";
+ version = "0.2.1";
src = fetchFromGitHub {
owner = "adamreichold";
repo = pname;
- rev = "e098aaec552ec4e367078bf19953a08067316b4b";
+ rev = "v${version}";
sha256 = "0i9hac9alaajbra3lx23m0iiq6ww4is00lpbzg5x70agjrwj0nd6";
};
@@ -16,7 +25,7 @@ mkDerivation rec {
--replace /usr ""
'';
- buildInputs = [ qtbase qttools xz boost ];
+ buildInputs = [ qtbase xz boost ];
nativeBuildInputs = [ qmake pkg-config ];
@@ -28,5 +37,6 @@ mkDerivation rec {
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ dotlambda ];
+ broken = stdenv.isAarch64;
};
}
diff --git a/pkgs/applications/video/qstopmotion/default.nix b/pkgs/applications/video/qstopmotion/default.nix
index 9a5bb5eb4620..469ba5b8eaa6 100644
--- a/pkgs/applications/video/qstopmotion/default.nix
+++ b/pkgs/applications/video/qstopmotion/default.nix
@@ -6,7 +6,7 @@
, qtquickcontrols
, qtimageformats
, qtxmlpatterns
-, ffmpeg_3
+, ffmpeg
, guvcview
, cmake
, ninja
@@ -40,7 +40,6 @@ mkDerivation rec {
v4l-utils
libv4l
pcre
- ffmpeg_3
guvcview
qwt
];
@@ -64,6 +63,10 @@ mkDerivation rec {
grep -rl 'qwt' . | xargs sed -i 's@<qwt/qwt_slider.h>@<qwt_slider.h>@g'
'';
+ qtWrapperArgs = [
+ "--prefix" "PATH" ":" (lib.makeBinPath [ ffmpeg ])
+ ];
+
meta = with lib; {
homepage = "http://www.qstopmotion.org";
description = "Create stopmotion animation with a (web)camera";
diff --git a/pkgs/applications/video/recapp/default.nix b/pkgs/applications/video/recapp/default.nix
new file mode 100644
index 000000000000..7ec88af821e5
--- /dev/null
+++ b/pkgs/applications/video/recapp/default.nix
@@ -0,0 +1,81 @@
+{ lib
+, python3
+, fetchFromGitHub
+, appstream-glib
+, desktop-file-utils
+, gettext
+, glib
+, gobject-introspection
+, gtk3
+, gst_all_1
+, libnotify
+, librsvg
+, meson
+, ninja
+, pkg-config
+, slop
+, wrapGAppsHook
+}:
+
+python3.pkgs.buildPythonApplication rec {
+ pname = "recapp";
+ version = "1.1.1";
+
+ format = "other";
+
+ src = fetchFromGitHub {
+ owner = "amikha1lov";
+ repo = "RecApp";
+ rev = "v${version}";
+ sha256 = "08bpfcqgw0lj6j7y5b2i18kffawlzp6pfk4wdpmk29vwmgk9s9yc";
+ };
+
+ postPatch = ''
+ patchShebangs build-aux/meson
+ '';
+
+ nativeBuildInputs = [
+ appstream-glib
+ desktop-file-utils
+ gettext
+ glib
+ gtk3
+ meson
+ ninja
+ pkg-config
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ libnotify
+ librsvg
+ gobject-introspection
+ gtk3
+ gst_all_1.gst-plugins-base
+ gst_all_1.gst-plugins-good
+ gst_all_1.gst-plugins-bad
+ gst_all_1.gst-plugins-ugly
+ ];
+
+ propagatedBuildInputs = with python3.pkgs; [
+ pulsectl
+ pydbus
+ pygobject3
+ ];
+
+ dontWrapGApps = true;
+
+ preFixup = ''
+ makeWrapperArgs+=(
+ "''${gappsWrapperArgs[@]}"
+ "--prefix" "PATH" ":" "${lib.makeBinPath [ gst_all_1.gstreamer.dev slop ]}"
+ )
+ '';
+
+ meta = with lib; {
+ description = "User friendly Open Source screencaster for Linux written in GTK";
+ homepage = "https://github.com/amikha1lov/RecApp";
+ license = licenses.gpl3Plus;
+ maintainers = with maintainers; [ dotlambda ];
+ };
+}
diff --git a/pkgs/applications/video/vdr/default.nix b/pkgs/applications/video/vdr/default.nix
index eeb61624409f..265ef82528db 100644
--- a/pkgs/applications/video/vdr/default.nix
+++ b/pkgs/applications/video/vdr/default.nix
@@ -5,12 +5,12 @@
}: stdenv.mkDerivation rec {
pname = "vdr";
- version = "2.4.6";
+ version = "2.4.7";
src = fetchgit {
url = "git://git.tvdr.de/vdr.git";
- rev = "V20406";
- sha256 = "sha256-te9lMmnWpesv+np2gJUDL17pI0WyVxhUnoBsFSRtOco=";
+ rev = version;
+ sha256 = "sha256-hDJ/DemWuLddDvXGqxkSTIqATlWUjolcP7ojjhK2CDk=";
};
enableParallelBuilding = true;
@@ -51,6 +51,6 @@
description = "Video Disc Recorder";
maintainers = [ maintainers.ck3d ];
platforms = [ "i686-linux" "x86_64-linux" ];
- license = licenses.gpl2;
+ license = licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/video/vdr/xineliboutput/default.nix b/pkgs/applications/video/vdr/xineliboutput/default.nix
index 950cb253c129..7660b4eae3d2 100644
--- a/pkgs/applications/video/vdr/xineliboutput/default.nix
+++ b/pkgs/applications/video/vdr/xineliboutput/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, lib, vdr
, libav, libcap, libvdpau
-, xineLib, libjpeg, libextractor, libglvnd, libGLU
+, xine-lib, libjpeg, libextractor, libglvnd, libGLU
, libX11, libXext, libXrender, libXrandr
, makeWrapper
}: let
@@ -34,7 +34,7 @@
postFixup = ''
for f in $out/bin/*; do
wrapProgram $f \
- --prefix XINE_PLUGIN_PATH ":" "${makeXinePluginPath [ "$out" xineLib ]}"
+ --prefix XINE_PLUGIN_PATH ":" "${makeXinePluginPath [ "$out" xine-lib ]}"
done
'';
@@ -53,10 +53,10 @@
libXrender
libX11
vdr
- xineLib
+ xine-lib
];
- passthru.requiredXinePlugins = [ xineLib self ];
+ passthru.requiredXinePlugins = [ xine-lib self ];
meta = with lib;{
homepage = "https://sourceforge.net/projects/xineliboutput/";
diff --git a/pkgs/applications/video/xine-ui/default.nix b/pkgs/applications/video/xine-ui/default.nix
index 651597b3a480..ed60fad56c3b 100644
--- a/pkgs/applications/video/xine-ui/default.nix
+++ b/pkgs/applications/video/xine-ui/default.nix
@@ -1,34 +1,61 @@
-{lib, stdenv, fetchurl, pkg-config, xorg, libpng, xineLib, readline, ncurses, curl
-, lirc, shared-mime-info, libjpeg }:
+{ lib
+, stdenv
+, fetchurl
+, curl
+, libjpeg
+, libpng
+, lirc
+, ncurses
+, pkg-config
+, readline
+, shared-mime-info
+, xine-lib
+, xorg
+}:
stdenv.mkDerivation rec {
- name = "xine-ui-0.99.12";
+ pname = "xine-ui";
+ version = "0.99.12";
src = fetchurl {
- url = "mirror://sourceforge/xine/${name}.tar.xz";
+ url = "mirror://sourceforge/xine/${pname}-${version}.tar.xz";
sha256 = "10zmmss3hm8gjjyra20qhdc0lb1m6sym2nb2w62bmfk8isfw9gsl";
};
- nativeBuildInputs = [ pkg-config shared-mime-info ];
-
- buildInputs =
- [ xineLib libpng readline ncurses curl lirc libjpeg
- xorg.xlibsWrapper xorg.libXext xorg.libXv xorg.libXxf86vm xorg.libXtst xorg.xorgproto
- xorg.libXinerama xorg.libXi xorg.libXft
- ];
-
- patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
+ nativeBuildInputs = [
+ pkg-config
+ shared-mime-info
+ ];
+ buildInputs = [
+ curl
+ libjpeg
+ libpng
+ lirc
+ ncurses
+ readline
+ xine-lib
+ ] ++ (with xorg; [
+ libXext
+ libXft
+ libXi
+ libXinerama
+ libXtst
+ libXv
+ libXxf86vm
+ xlibsWrapper
+ xorgproto
+ ]);
configureFlags = [ "--with-readline=${readline.dev}" ];
LIRC_CFLAGS="-I${lirc}/include";
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
-#NIX_LDFLAGS = "-lXext -lgcc_s";
meta = with lib; {
- homepage = "http://www.xine-project.org/";
- description = "Xlib-based interface to Xine, a video player";
+ homepage = "http://xinehq.de/";
+ description = "Xlib-based frontend for Xine video player";
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
- license = licenses.gpl2;
};
}
diff --git a/pkgs/applications/video/xscast/default.nix b/pkgs/applications/video/xscast/default.nix
index 6501a3990885..d740efe0c9b2 100644
--- a/pkgs/applications/video/xscast/default.nix
+++ b/pkgs/applications/video/xscast/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, makeWrapper, ffmpeg_3, imagemagick, dzen2, xorg }:
+{ lib, stdenv, fetchFromGitHub, makeWrapper, ffmpeg, imagemagick, dzen2, xorg }:
stdenv.mkDerivation {
pname = "xscast-unstable";
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
patchShebangs $out/bin
wrapProgram "$out/bin/xscast" \
- --prefix PATH : ${lib.makeBinPath [ ffmpeg_3 dzen2 xorg.xwininfo xorg.xinput xorg.xmodmap imagemagick ]}
+ --prefix PATH : ${lib.makeBinPath [ ffmpeg dzen2 xorg.xwininfo xorg.xinput xorg.xmodmap imagemagick ]}
runHook postInstall
'';