mediainfo: Add package and dependencies
Includes only the CLI version and the following dependencies: * libzen * libmediainfo
This commit is contained in:
parent
cbe467ef99
commit
9901537209
4 changed files with 88 additions and 0 deletions
29
pkgs/applications/misc/mediainfo/default.nix
Normal file
29
pkgs/applications/misc/mediainfo/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, automake, autoconf, libtool, pkgconfig, libzen, libmediainfo, zlib }:
|
||||
|
||||
let version = "0.7.71"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mediainfo-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.bz2";
|
||||
sha256 = "0sf0ym0v5ds5w4bxk66712adybr1prxxqwvrf9clm57ibs602jfq";
|
||||
};
|
||||
|
||||
buildInputs = [ automake autoconf libtool pkgconfig libzen libmediainfo zlib ];
|
||||
|
||||
sourceRoot = "./MediaInfo/Project/GNU/CLI/";
|
||||
|
||||
configureFlags = [ "--with-libmediainfo=${libmediainfo}" ];
|
||||
preConfigure = "sh autogen";
|
||||
|
||||
meta = {
|
||||
description = "Supplies technical and tag information about a video or audio file";
|
||||
longDescription = ''
|
||||
MediaInfo is a convenient unified display of the most relevant technical
|
||||
and tag data for video and audio files.
|
||||
'';
|
||||
homepage = http://mediaarena.net/;
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
29
pkgs/development/libraries/libmediainfo/default.nix
Normal file
29
pkgs/development/libraries/libmediainfo/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, automake, autoconf, libtool, pkgconfig, libzen, zlib }:
|
||||
|
||||
let version = "0.7.71"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libmediainfo-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.bz2";
|
||||
sha256 = "088v7qsn7d5pijr88fx4azwb31g6d7bp5ykrzgwhskmj80y3rlp2";
|
||||
};
|
||||
|
||||
buildInputs = [ automake autoconf libtool pkgconfig libzen zlib ];
|
||||
|
||||
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
|
||||
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
preConfigure = "sh autogen";
|
||||
|
||||
postInstall = ''
|
||||
install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Shared library for mediainfo";
|
||||
homepage = http://mediaarena.net/;
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
24
pkgs/development/libraries/libzen/default.nix
Normal file
24
pkgs/development/libraries/libzen/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, automake, autoconf, libtool, pkgconfig }:
|
||||
|
||||
let version = "0.4.30"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libzen-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://mediaarea.net/download/source/libzen/${version}/libzen_${version}.tar.bz2";
|
||||
sha256 = "1ripvyzz2lw9nx2j8mkjgjfpabrz6knwxri52asqf1abnszbry64";
|
||||
};
|
||||
|
||||
buildInputs = [ automake autoconf libtool pkgconfig ];
|
||||
|
||||
sourceRoot = "./ZenLib/Project/GNU/Library/";
|
||||
|
||||
preConfigure = "sh autogen";
|
||||
|
||||
meta = {
|
||||
description = "Shared library for libmediainfo and mediainfo";
|
||||
homepage = http://mediaarena.net/;
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -5911,6 +5911,8 @@ let
|
|||
|
||||
libmcrypt = callPackage ../development/libraries/libmcrypt {};
|
||||
|
||||
libmediainfo = callPackage ../development/libraries/libmediainfo { };
|
||||
|
||||
libmhash = callPackage ../development/libraries/libmhash {};
|
||||
|
||||
libmodbus = callPackage ../development/libraries/libmodbus {};
|
||||
|
@ -6319,6 +6321,8 @@ let
|
|||
|
||||
libyubikey = callPackage ../development/libraries/libyubikey { };
|
||||
|
||||
libzen = callPackage ../development/libraries/libzen { };
|
||||
|
||||
libzip = callPackage ../development/libraries/libzip { };
|
||||
|
||||
libzdb = callPackage ../development/libraries/libzdb { };
|
||||
|
@ -10179,6 +10183,8 @@ let
|
|||
|
||||
mda_lv2 = callPackage ../applications/audio/mda-lv2 { };
|
||||
|
||||
mediainfo = callPackage ../applications/misc/mediainfo { };
|
||||
|
||||
meld = callPackage ../applications/version-management/meld {
|
||||
inherit (gnome) scrollkeeper;
|
||||
pygtk = pyGtkGlade;
|
||||
|
|
Loading…
Reference in a new issue