3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/frei0r/default.nix

30 lines
824 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoconf, cairo, opencv, pkgconfig }:
stdenv.mkDerivation rec {
name = "frei0r-plugins-${version}";
2017-07-22 10:48:00 +01:00
version = "1.6.1";
src = fetchurl {
2015-03-12 13:00:27 +00:00
url = "https://files.dyne.org/frei0r/releases/${name}.tar.gz";
2017-07-22 10:48:00 +01:00
sha256 = "0pji26fpd0dqrx1akyhqi6729s394irl73dacnyxk58ijqq4dhp0";
};
nativeBuildInputs = [ autoconf pkgconfig ];
buildInputs = [ cairo opencv ];
postInstall = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
for f in $out/lib/frei0r-1/*.so* ; do
ln -s $f "''${f%.*}.dylib"
done
'';
2014-07-27 11:52:21 +01:00
meta = with stdenv.lib; {
homepage = https://frei0r.dyne.org;
description = "Minimalist, cross-platform, shared video plugins";
license = licenses.gpl2;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux ++ platforms.darwin;
};
}