mediathekview: 13.7.1 -> 13.8.0
Hangs on startup when using openjdk16. We use adoptopenjdk-hotspot-bin-16 instead.
This commit is contained in:
parent
9a5c4b119d
commit
0ad5158d6b
@ -1,34 +1,38 @@
|
|||||||
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "13.7.1";
|
version = "13.8.0";
|
||||||
pname = "mediathekview";
|
pname = "mediathekview";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.mediathekview.de/stabil/MediathekView-${version}-linux.tar.gz";
|
url = "https://download.mediathekview.de/stabil/MediathekView-${version}-linux.tar.gz";
|
||||||
sha256 = "sha256-yFPyj1Mbgj2eJv4DpvfOtPyTbL9gMAXC5TzSx8AV27o=";
|
sha256 = "0zfkwz5psv7m0881ykgqrxwjhadg39c55aj2wpy7m1jdara86c5q";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/{bin,lib}
|
mkdir -p $out/{bin,lib}
|
||||||
|
|
||||||
install -m644 MediathekView.jar $out/lib
|
install -m644 MediathekView.jar $out/lib
|
||||||
|
|
||||||
makeWrapper ${jre}/bin/java $out/bin/mediathek \
|
makeWrapper ${jre}/bin/java $out/bin/mediathek \
|
||||||
--add-flags "-Xmx1G --enable-preview -jar $out/lib/MediathekView.jar"
|
--add-flags "-jar $out/lib/MediathekView.jar"
|
||||||
|
|
||||||
makeWrapper ${jre}/bin/java $out/bin/MediathekView \
|
makeWrapper ${jre}/bin/java $out/bin/MediathekView \
|
||||||
--add-flags "-Xmx1G --enable-preview -jar $out/lib/MediathekView.jar"
|
--add-flags "-jar $out/lib/MediathekView.jar"
|
||||||
|
|
||||||
makeWrapper ${jre}/bin/java $out/bin/MediathekView_ipv4 \
|
makeWrapper ${jre}/bin/java $out/bin/MediathekView_ipv4 \
|
||||||
--add-flags "-Xmx1G --enable-preview -Djava.net.preferIPv4Stack=true -jar $out/lib/MediathekView.jar"
|
--add-flags "-Djava.net.preferIPv4Stack=true -jar $out/lib/MediathekView.jar"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)";
|
description = "Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)";
|
||||||
homepage = "https://mediathekview.de/";
|
homepage = "https://mediathekview.de/";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ moredread ];
|
maintainers = with maintainers; [ moredread ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
@ -25949,7 +25949,7 @@ with pkgs;
|
|||||||
|
|
||||||
mediainfo-gui = callPackage ../applications/misc/mediainfo-gui { };
|
mediainfo-gui = callPackage ../applications/misc/mediainfo-gui { };
|
||||||
|
|
||||||
mediathekview = callPackage ../applications/video/mediathekview { };
|
mediathekview = callPackage ../applications/video/mediathekview { jre = adoptopenjdk-hotspot-bin-16; };
|
||||||
|
|
||||||
megapixels = callPackage ../applications/graphics/megapixels { };
|
megapixels = callPackage ../applications/graphics/megapixels { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user