oggvideotools: init at 0.9.1
This commit is contained in:
parent
2070d83f07
commit
6fdc3e6a7c
26
pkgs/tools/misc/oggvideotools/default.nix
Normal file
26
pkgs/tools/misc/oggvideotools/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, stdenv, fetchurl, cmake, pkg-config, boost, gd, libogg, libtheora, libvorbis }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oggvideotools";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/oggvideotools/oggvideotools/oggvideotools-${version}/oggvideotools-${version}.tar.bz2";
|
||||
sha256 = "sha256-2dv3iXt86phhIgnYC5EnRzyX1u5ssNzPwrOP4+jilSM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./fix-compile.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [ boost gd libogg libtheora libvorbis ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Toolbox for manipulating and creating Ogg video files";
|
||||
homepage = "http://www.streamnik.de/oggvideotools.html";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
10
pkgs/tools/misc/oggvideotools/fix-compile.patch
Normal file
10
pkgs/tools/misc/oggvideotools/fix-compile.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- oggvideotools-0.9.1/src/base/test/decoderTest.cpp 2016-09-05 10:35:14.000000000 +0200
|
||||
+++ oggvideotools-0.9.1/src/base/test/decoderTest.cpp 2021-10-22 22:42:48.980473419 +0200
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "oggDecoder.h"
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
+#include <cstring>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
@ -1269,6 +1269,8 @@ with pkgs;
|
||||
|
||||
artyFX = callPackage ../applications/audio/artyFX {};
|
||||
|
||||
oggvideotools = callPackage ../tools/misc/oggvideotools { };
|
||||
|
||||
owl-lisp = callPackage ../development/compilers/owl-lisp {};
|
||||
|
||||
ascii = callPackage ../tools/text/ascii { };
|
||||
|
Loading…
Reference in New Issue
Block a user