2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libogg, libvorbis, libdvdread }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "ogmtools";
|
|
|
|
version = "1.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://www.bunkus.org/videotools/ogmtools/ogmtools-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1spx81p5wf59ksl3r3gvf78d77sh7gj8a6lw773iv67bphfivmn8";
|
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildInputs = [ libogg libvorbis libdvdread ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "Tools for modifying and inspecting OGG media streams";
|
|
|
|
longDescription = ''
|
|
|
|
These tools allow information about (ogminfo) or extraction from
|
|
|
|
(ogmdemux) or creation of (ogmmerge) OGG media streams. Includes dvdxchap
|
|
|
|
tool for extracting chapter information from DVD.
|
|
|
|
'';
|
|
|
|
homepage = "https://www.bunkus.org/videotools/ogmtools/";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|