oggvideotools: init at 0.9.1

This commit is contained in:
Sandro Jäckel 2021-10-23 00:17:48 +02:00
parent 2070d83f07
commit 6fdc3e6a7c
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
3 changed files with 38 additions and 0 deletions

View 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 ];
};
}

View 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[])
{

View file

@ -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 { };