summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-10-01 09:01:56 +0000
committerGitHub <noreply@github.com>2017-10-01 09:01:56 +0000
commit432f9925a69406fc6c415dfb0f4400b5ce58916c (patch)
treed22c5375e07c110924a4a82850c1f14a87a91938 /pkgs/applications/video
parenteaf9e31f86cac4b8e83506ad0cbe56fe23dc0e65 (diff)
parent2847acf517475bdac6731b96ec406006f5105494 (diff)
downloadnixlib-432f9925a69406fc6c415dfb0f4400b5ce58916c.tar
nixlib-432f9925a69406fc6c415dfb0f4400b5ce58916c.tar.gz
nixlib-432f9925a69406fc6c415dfb0f4400b5ce58916c.tar.bz2
nixlib-432f9925a69406fc6c415dfb0f4400b5ce58916c.tar.lz
nixlib-432f9925a69406fc6c415dfb0f4400b5ce58916c.tar.xz
nixlib-432f9925a69406fc6c415dfb0f4400b5ce58916c.tar.zst
nixlib-432f9925a69406fc6c415dfb0f4400b5ce58916c.zip
Merge pull request #29745 from mgdelacroix/gpac-update
gpac: 0.5.0 -> 0.7.1
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/gpac/default.nix31
1 files changed, 18 insertions, 13 deletions
diff --git a/pkgs/applications/video/gpac/default.nix b/pkgs/applications/video/gpac/default.nix
index 927842916a15..7a8b66d2d28e 100644
--- a/pkgs/applications/video/gpac/default.nix
+++ b/pkgs/applications/video/gpac/default.nix
@@ -1,19 +1,25 @@
-{ stdenv, fetchsvn, pkgconfig, zlib }:
+{ stdenv, fetchFromGitHub, pkgconfig, zlib }:
 
 stdenv.mkDerivation rec {
-  name = "gpac-0.5.0-svn";
+  version = "0.7.1";
+  name = "gpac-${version}";
 
-  src = fetchsvn {
-    url = "http://svn.code.sf.net/p/gpac/code/trunk/gpac";
-    rev = "4749";
-    sha256 = "0y38pmp64a2l70y1yby90qzxfzx8y7r0cdmgjxzw86jh6si5ndhp";
+  src = fetchFromGitHub {
+    owner = "gpac";
+    repo = "gpac";
+    rev = "v${version}";
+    sha256 = "197c5968p5bzvk0ga347fwgkqh4j1v3z65wlx65c5m9gwfxz2k2q";
   };
 
   # this is the bare minimum configuration, as I'm only interested in MP4Box
   # For most other functionality, this should probably be extended
-  nativeBuildInputs = [ pkgconfig zlib ];
+  nativeBuildInputs = [ pkgconfig ];
 
-  meta = {
+  buildInputs = [ zlib ];
+
+  enableParallelBuilding = true;
+
+  meta = with stdenv.lib; {
     description = "Open Source multimedia framework for research and academic purposes";
     longDescription = ''
       GPAC is an Open Source multimedia framework for research and academic purposes.
@@ -27,10 +33,9 @@ stdenv.mkDerivation rec {
       A multimedia packager, called MP4Box,
       And some server tools included in MP4Box and MP42TS applications.
     '';
-    homepage = http://gpac.wp.mines-telecom.fr;
-    license = stdenv.lib.licenses.lgpl21;
-
-    maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
-    platforms = stdenv.lib.platforms.linux;
+    homepage = https://gpac.wp.imt.fr;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ bluescreen303 mgdelacroix ];
+    platforms = platforms.linux;
   };
 }