mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #123343 from dotlambda/zoneminder-ffmpeg
zoneminder: use ffmpeg instead of ffmpeg_3
This commit is contained in:
commit
166a930ae8
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, lib, fetchFromGitHub, fetchurl, fetchpatch, substituteAll, cmake, makeWrapper, pkg-config
|
||||
, curl, ffmpeg_3, glib, libjpeg, libselinux, libsepol, mp4v2, libmysqlclient, mariadb, pcre, perl, perlPackages
|
||||
, curl, ffmpeg, glib, libjpeg, libselinux, libsepol, mp4v2, libmysqlclient, mariadb, pcre, perl, perlPackages
|
||||
, polkit, util-linuxMinimal, x264, zlib
|
||||
, coreutils, procps, psmisc, nixosTests }:
|
||||
|
||||
|
@ -138,7 +138,7 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
for f in includes/Event.php views/image.php ; do
|
||||
substituteInPlace web/$f \
|
||||
--replace "'ffmpeg " "'${ffmpeg_3}/bin/ffmpeg "
|
||||
--replace "'ffmpeg " "'${ffmpeg}/bin/ffmpeg "
|
||||
done
|
||||
|
||||
substituteInPlace web/includes/functions.php \
|
||||
|
@ -147,7 +147,7 @@ in stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
buildInputs = [
|
||||
curl ffmpeg_3 glib libjpeg libselinux libsepol mp4v2 libmysqlclient mariadb.client pcre perl polkit x264 zlib
|
||||
curl ffmpeg glib libjpeg libselinux libsepol mp4v2 libmysqlclient mariadb.client pcre perl polkit x264 zlib
|
||||
util-linuxMinimal # for libmount
|
||||
] ++ (with perlPackages; [
|
||||
# build-time dependencies
|
||||
|
|
Loading…
Reference in a new issue