gscan2pdf: 2.12.6 -> 2.12.8
Adds a patch that fixes ffmpeg 5.1 compatibility
This commit is contained in:
parent
2864ef44e3
commit
608a3ef0b7
|
@ -10,13 +10,17 @@ with lib;
|
||||||
|
|
||||||
perlPackages.buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
pname = "gscan2pdf";
|
pname = "gscan2pdf";
|
||||||
version = "2.12.6";
|
version = "2.12.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/gscan2pdf/gscan2pdf-${version}.tar.xz";
|
url = "mirror://sourceforge/gscan2pdf/gscan2pdf-${version}.tar.xz";
|
||||||
sha256 = "sha256-9ntpUEM3buT3EhneXz9G8bibvzOnEK6Xt0jJcTvLKT0=";
|
hash = "sha256-dmN2fMBDZqgvdHQryQgjmBHeH/h2dihRH8LkflFYzTk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./ffmpeg5-compat.patch
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook ];
|
nativeBuildInputs = [ wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
|
15
pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch
Normal file
15
pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- a/t/351_unpaper.t
|
||||||
|
+++ b/t/351_unpaper.t
|
||||||
|
@@ -88,8 +88,10 @@
|
||||||
|
|
||||||
|
# if we use unlike, we no longer
|
||||||
|
# know how many tests there will be
|
||||||
|
- if ( $msg !~
|
||||||
|
-/(deprecated|Encoder did not produce proper pts, making some up)/
|
||||||
|
+ if ( $msg !~ /( deprecated |
|
||||||
|
+ \Qdoes not contain an image sequence pattern\E |
|
||||||
|
+ \QEncoder did not produce proper pts, making some up\E |
|
||||||
|
+ \Quse the -update option\E )/x
|
||||||
|
)
|
||||||
|
{
|
||||||
|
fail 'no warnings';
|
Loading…
Reference in a new issue