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