mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #321562 from imincik/qgis-3.34.8
qgis-ltr: 3.34.7 -> 3.34.8
This commit is contained in:
commit
560adbb16d
@ -77,14 +77,14 @@ let
|
|||||||
urllib3
|
urllib3
|
||||||
];
|
];
|
||||||
in mkDerivation rec {
|
in mkDerivation rec {
|
||||||
version = "3.34.7";
|
version = "3.34.8";
|
||||||
pname = "qgis-ltr-unwrapped";
|
pname = "qgis-ltr-unwrapped";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "qgis";
|
owner = "qgis";
|
||||||
repo = "QGIS";
|
repo = "QGIS";
|
||||||
rev = "final-${lib.replaceStrings [ "." ] [ "_" ] version}";
|
rev = "final-${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||||
hash = "sha256-6fIBmIoCVo0AtkjC4Vn3jMjz93gZmvkFAgo+KnasyXo=";
|
hash = "sha256-UeyGx+C7szXv++hXFV006Xk4oSKfSj4teJIwaD4ODVk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
@ -147,9 +147,7 @@ in mkDerivation rec {
|
|||||||
|
|
||||||
# Add path to Qt platform plugins
|
# Add path to Qt platform plugins
|
||||||
# (offscreen is needed by "${APIS_SRC_DIR}/generate_console_pap.py")
|
# (offscreen is needed by "${APIS_SRC_DIR}/generate_console_pap.py")
|
||||||
preBuild = ''
|
env.QT_QPA_PLATFORM_PLUGIN_PATH="${qtbase}/${qtbase.qtPluginPrefix}/platforms";
|
||||||
export QT_QPA_PLATFORM_PLUGIN_PATH=${qtbase.bin}/lib/qt-${qtbase.version}/plugins/platforms
|
|
||||||
'';
|
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
@ -164,7 +162,7 @@ in mkDerivation rec {
|
|||||||
);
|
);
|
||||||
|
|
||||||
qtWrapperArgs = [
|
qtWrapperArgs = [
|
||||||
"--set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-${qtbase.version}/plugins/platforms"
|
"--set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase}/${qtbase.qtPluginPrefix}/platforms"
|
||||||
];
|
];
|
||||||
|
|
||||||
dontWrapGApps = true; # wrapper params passed below
|
dontWrapGApps = true; # wrapper params passed below
|
||||||
|
Loading…
Reference in New Issue
Block a user