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