mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
beamerpresenter: 0.2.3 -> 0.2.4
this should fix building with MuPDF 1.23
This commit is contained in:
parent
88aa035e6c
commit
d798b7fcb3
@ -7,6 +7,7 @@
|
||||
, wrapQtAppsHook
|
||||
, gst_all_1
|
||||
, qtbase
|
||||
, qtsvg
|
||||
, qtmultimedia
|
||||
, qttools
|
||||
, qtwayland
|
||||
@ -27,13 +28,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "beamerpresenter";
|
||||
version = "0.2.3-1";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stiglers-eponym";
|
||||
repo = "BeamerPresenter";
|
||||
rev = "dd41a00b3c6c8b881fa62945165c965634df66f0";
|
||||
sha256 = "11yj1zl8hdnqbynkbyzg8kwyx1jl8c87x8f8qyllpk0s6cg304d0";
|
||||
rev = "v${version}";
|
||||
sha256 = "1zypzmkiwc14b9224nr37y7wviasirmwhfmifb7q1b33877g41ji";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -51,6 +52,7 @@ stdenv.mkDerivation rec {
|
||||
gst_all_1.gst-plugins-good
|
||||
zlib
|
||||
qtbase
|
||||
qtsvg
|
||||
qtmultimedia
|
||||
qttools
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
@ -70,10 +72,10 @@ stdenv.mkDerivation rec {
|
||||
"-DUSE_POPPLER=${if usePoppler then "ON" else "OFF"}"
|
||||
"-DUSE_MUPDF=${if useMupdf then "ON" else "OFF"}"
|
||||
"-DUSE_QTPDF=OFF"
|
||||
"-DUSE_MUPDF_THIRD=ON"
|
||||
"-DLINK_MUPDF_THIRD=ON"
|
||||
"-DUSE_EXTERNAL_RENDERER=${if useExternalRenderer then "ON" else "OFF"}"
|
||||
"-DUSE_MUJS=OFF"
|
||||
"-DUSE_GUMBO=ON"
|
||||
"-DLINK_MUJS=OFF"
|
||||
"-DLINK_GUMBO=ON"
|
||||
"-DUSE_TRANSLATIONS=ON"
|
||||
"-DQT_VERSION_MAJOR=${lib.versions.major qtbase.version}"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user