mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
libopenshot-audio: 0.2.0 -> 0.2.2
Many thanks to @jonringer!
This commit is contained in:
parent
abe8a30912
commit
cdddc286a2
@ -1,34 +1,58 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, doxygen
|
||||
, alsa-lib, libX11, libXft, libXrandr, libXinerama, libXext, libXcursor
|
||||
, zlib, AGL, Cocoa, Foundation
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, alsa-lib
|
||||
, cmake
|
||||
, doxygen
|
||||
, libX11
|
||||
, libXcursor
|
||||
, libXext
|
||||
, libXft
|
||||
, libXinerama
|
||||
, libXrandr
|
||||
, pkg-config
|
||||
, zlib
|
||||
, AGL
|
||||
, Cocoa
|
||||
, Foundation
|
||||
}:
|
||||
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libopenshot-audio";
|
||||
version = "0.2.0";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenShot";
|
||||
repo = "libopenshot-audio";
|
||||
rev = "v${version}";
|
||||
sha256 = "13if0m5mvlqly8gmbhschzb9papkgp3yqivklhb949dhy16m8zgf";
|
||||
sha256 = "sha256-XtwTZsj/L/sw/28E7Qr5UyghGlBFFXvbmZLGXBB8vg0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
[ pkg-config cmake doxygen ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
doxygen
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
optionals stdenv.isLinux [ alsa-lib ]
|
||||
++ (if stdenv.isDarwin then
|
||||
[ zlib AGL Cocoa Foundation ]
|
||||
else
|
||||
[ libX11 libXft libXrandr libXinerama libXext libXcursor ])
|
||||
;
|
||||
buildInputs = lib.optionals stdenv.isLinux [
|
||||
alsa-lib
|
||||
] ++ (if stdenv.isDarwin then [
|
||||
AGL
|
||||
Cocoa
|
||||
Foundation
|
||||
zlib
|
||||
] else [
|
||||
libX11
|
||||
libXcursor
|
||||
libXext
|
||||
libXft
|
||||
libXinerama
|
||||
libXrandr
|
||||
]);
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
homepage = "http://openshot.org/";
|
||||
description = "High-quality sound editing library";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user