Merge pull request #95546 from risicle/ris-gpac-1.0.0

gpac: 0.8.0 -> 1.0.0 addressing numerous CVEs
This commit is contained in:
WORLDofPEACE 2020-09-07 15:30:06 -04:00 committed by GitHub
commit 12a20ce010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,20 @@
{ stdenv, fetchFromGitHub, pkgconfig, zlib }:
stdenv.mkDerivation rec {
version = "0.8.0";
version = "1.0.0";
pname = "gpac";
src = fetchFromGitHub {
owner = "gpac";
repo = "gpac";
rev = "v${version}";
sha256 = "1w1dyrn6900yi8ngchfzy5hvxr6yc60blvdq8y8mczimmmq8khb5";
sha256 = "11jrklaahhdfqhci7f3lzv8wchh9bc91rg6w8ibh6varrk692vsb";
};
postPatch = ''
substituteInPlace Makefile --replace 'dh_link' 'ln -s'
'';
# this is the bare minimum configuration, as I'm only interested in MP4Box
# For most other functionality, this should probably be extended
nativeBuildInputs = [ pkgconfig ];