2014-07-27 12:28:02 +02:00
|
|
|
{ stdenv, fetchurl, autoconf, cairo, opencv, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "frei0r-plugins";
|
2017-07-22 11:48:00 +02:00
|
|
|
version = "1.6.1";
|
2014-07-27 12:28:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://files.dyne.org/frei0r/releases/${pname}-${version}.tar.gz";
|
2017-07-22 11:48:00 +02:00
|
|
|
sha256 = "0pji26fpd0dqrx1akyhqi6729s394irl73dacnyxk58ijqq4dhp0";
|
2014-07-27 12:28:02 +02:00
|
|
|
};
|
|
|
|
|
2019-05-04 02:10:42 +02:00
|
|
|
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 12:28:02 +02:00
|
|
|
|
2014-07-27 12:52:21 +02:00
|
|
|
meta = with stdenv.lib; {
|
2019-04-22 10:14:28 +02:00
|
|
|
homepage = https://frei0r.dyne.org;
|
2014-07-27 12:28:02 +02:00
|
|
|
description = "Minimalist, cross-platform, shared video plugins";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2019-05-04 02:10:42 +02:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-07-27 12:28:02 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|