|
|
|
@ -16,6 +16,12 @@ stdenv.mkDerivation rec { |
|
|
|
|
buildInputs = [ ffmpeg libpng libjpeg ]; |
|
|
|
|
cmakeFlags = [ "-DENABLE_THUMBNAILER=ON" ]; |
|
|
|
|
|
|
|
|
|
# https://github.com/dirkvdb/ffmpegthumbnailer/issues/215 |
|
|
|
|
postPatch = '' |
|
|
|
|
substituteInPlace libffmpegthumbnailer.pc.in \ |
|
|
|
|
--replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
homepage = "https://github.com/dirkvdb/ffmpegthumbnailer"; |
|
|
|
|
description = "A lightweight video thumbnailer"; |
|
|
|
|