octavePackages.video: Fix build & install (#458729)

This commit is contained in:
Sandro
2025-11-26 14:39:26 +00:00
committed by GitHub
@@ -4,7 +4,9 @@
lib,
fetchFromGitHub,
pkg-config,
ffmpeg,
autoconf,
automake,
ffmpeg_7,
}:
buildOctavePackage rec {
@@ -14,16 +16,28 @@ buildOctavePackage rec {
src = fetchFromGitHub {
owner = "Andy1978";
repo = "octave-video";
rev = "refs/tags/${version}";
tag = version;
hash = "sha256-fn9LNfuS9dSStBfzBjRRkvP50JJ5K+Em02J9+cHqt6w=";
};
preBuild = ''
pushd src
patchShebangs bootstrap configure
./bootstrap
./configure
popd
tar --transform 's,^,video-${version}/,' -cz * -f video-${version}.tar.gz
'';
nativeBuildInputs = [
pkg-config
autoconf
automake
];
propagatedBuildInputs = [
ffmpeg
ffmpeg_7
];
meta = {