cinelerra: streamline build
This commit is contained in:
parent
e5782ca77c
commit
f452b45052
@ -7,7 +7,7 @@
|
|||||||
, fontconfig, intltool }:
|
, fontconfig, intltool }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "cinelerra-unstable-2018-05-16";
|
name = "cinelerra-cv-2018-05-16";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ratopi";
|
owner = "ratopi";
|
||||||
@ -16,14 +16,18 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0a8kfm1v96sv6jh4568crg6nkr6n3579i9xksfj8w199s6yxzsbk";
|
sha256 = "0a8kfm1v96sv6jh4568crg6nkr6n3579i9xksfj8w199s6yxzsbk";
|
||||||
};
|
};
|
||||||
|
|
||||||
# touch config.rpath: work around bug in automake 1.10 ?
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
|
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
|
||||||
touch config.rpath
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
|
sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
## fix bug with parallel building
|
||||||
|
preBuild = ''
|
||||||
|
make -C cinelerra versioninfo.h
|
||||||
|
'';
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ automake
|
[ automake
|
||||||
autoconf libtool pkgconfig file
|
autoconf libtool pkgconfig file
|
||||||
@ -38,10 +42,6 @@ stdenv.mkDerivation {
|
|||||||
fontconfig intltool
|
fontconfig intltool
|
||||||
];
|
];
|
||||||
|
|
||||||
# $ make -C cinelerra edl.o
|
|
||||||
# edl.C:50:25: fatal error: versioninfo.h: No such file or directory
|
|
||||||
enableParallelBuilding = false;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Video Editor";
|
description = "Video Editor";
|
||||||
homepage = http://www.cinelerra.org;
|
homepage = http://www.cinelerra.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user