2017-09-24 16:45:47 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, zlib }:
|
2012-11-30 10:39:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-01 16:58:07 +00:00
|
|
|
version = "0.8.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gpac";
|
2012-11-30 10:39:40 +00:00
|
|
|
|
2017-09-24 16:45:47 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gpac";
|
|
|
|
repo = "gpac";
|
|
|
|
rev = "v${version}";
|
2019-07-01 16:58:07 +00:00
|
|
|
sha256 = "1w1dyrn6900yi8ngchfzy5hvxr6yc60blvdq8y8mczimmmq8khb5";
|
2012-11-30 10:39:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# this is the bare minimum configuration, as I'm only interested in MP4Box
|
|
|
|
# For most other functionality, this should probably be extended
|
2017-10-01 08:59:12 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-11-30 10:39:40 +00:00
|
|
|
|
2017-10-01 08:59:12 +00:00
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2012-11-30 10:39:40 +00:00
|
|
|
description = "Open Source multimedia framework for research and academic purposes";
|
|
|
|
longDescription = ''
|
|
|
|
GPAC is an Open Source multimedia framework for research and academic purposes.
|
|
|
|
The project covers different aspects of multimedia, with a focus on presentation
|
|
|
|
technologies (graphics, animation and interactivity) and on multimedia packaging
|
|
|
|
formats such as MP4.
|
|
|
|
|
|
|
|
GPAC provides three sets of tools based on a core library called libgpac:
|
|
|
|
|
|
|
|
A multimedia player, called Osmo4 / MP4Client,
|
|
|
|
A multimedia packager, called MP4Box,
|
|
|
|
And some server tools included in MP4Box and MP42TS applications.
|
|
|
|
'';
|
2017-09-24 16:45:47 +00:00
|
|
|
homepage = https://gpac.wp.imt.fr;
|
2017-10-01 08:59:12 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ bluescreen303 mgdelacroix ];
|
|
|
|
platforms = platforms.linux;
|
2012-11-30 10:39:40 +00:00
|
|
|
};
|
|
|
|
}
|