Merge pull request #124330 from jchw-forks/lightspark-ffmpeg

lightspark: ffmpeg_3 -> ffmpeg
This commit is contained in:
Robert Schütz 2021-05-27 23:09:34 +02:00 committed by GitHub
commit 572eb44019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, curl, zlib, ffmpeg_3, glew, pcre { lib, stdenv, fetchFromGitHub, pkg-config, cmake, curl, zlib, ffmpeg, glew, pcre
, rtmpdump, cairo, boost, SDL2, SDL2_mixer, libjpeg, pango, xz, nasm , rtmpdump, cairo, boost, SDL2, SDL2_mixer, libjpeg, pango, xz, nasm
, llvm, glibmm , llvm, glibmm
}: }:
@ -14,21 +14,21 @@ stdenv.mkDerivation rec {
sha256 = "sha256-pIiv5wEDLvTHjlYSicXUTTI6pVAsO6FC39Gie9Z/hZ4="; sha256 = "sha256-pIiv5wEDLvTHjlYSicXUTTI6pVAsO6FC39Gie9Z/hZ4=";
}; };
patchPhase = '' postPatch = ''
sed -i 's/SET(ETCDIR "\/etc")/SET(ETCDIR "etc")/g' CMakeLists.txt sed -i 's/SET(ETCDIR "\/etc")/SET(ETCDIR "etc")/g' CMakeLists.txt
''; '';
nativeBuildInputs = [ pkg-config cmake ]; nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ buildInputs = [
curl zlib ffmpeg_3 glew pcre rtmpdump cairo boost SDL2 SDL2_mixer libjpeg curl zlib ffmpeg glew pcre rtmpdump cairo boost SDL2 SDL2_mixer libjpeg
pango xz nasm llvm glibmm pango xz nasm llvm glibmm
]; ];
meta = with lib; { meta = with lib; {
description = "Open source Flash Player implementation"; description = "Open source Flash Player implementation";
homepage = "https://lightspark.github.io/"; homepage = "https://lightspark.github.io/";
license = licenses.lgpl3; license = licenses.lgpl3Plus;
maintainers = with maintainers; [ jchw ]; maintainers = with maintainers; [ jchw ];
platforms = platforms.linux; platforms = platforms.linux;
}; };