mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
stellarium: build with qt6
This commit is contained in:
parent
e177a194c0
commit
e562fc6e05
@ -3,13 +3,15 @@
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, perl
|
||||
, wrapGAppsHook
|
||||
, wrapQtAppsHook
|
||||
, qtbase
|
||||
, qtcharts
|
||||
, qtlocation
|
||||
, qtpositioning
|
||||
, qtmultimedia
|
||||
, qtscript
|
||||
, qtserialport
|
||||
, qttranslations
|
||||
, qtwayland
|
||||
, qtwebengine
|
||||
, calcmysky
|
||||
, qxlsx
|
||||
@ -31,16 +33,18 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
perl
|
||||
wrapGAppsHook
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtcharts
|
||||
qtlocation
|
||||
qtpositioning
|
||||
qtmultimedia
|
||||
qtscript
|
||||
qtserialport
|
||||
qttranslations
|
||||
qtwayland
|
||||
qtwebengine
|
||||
calcmysky
|
||||
qxlsx
|
||||
@ -54,6 +58,12 @@ stdenv.mkDerivation rec {
|
||||
'SET(CMAKE_INSTALL_PREFIX "${placeholder "out"}/Applications/Stellarium.app/Contents")'
|
||||
'';
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free open-source planetarium";
|
||||
homepage = "https://stellarium.org/";
|
||||
|
@ -36139,7 +36139,7 @@ with pkgs;
|
||||
|
||||
sq = callPackage ../development/tools/sq { };
|
||||
|
||||
stellarium = libsForQt5.callPackage ../applications/science/astronomy/stellarium { };
|
||||
stellarium = qt6Packages.callPackage ../applications/science/astronomy/stellarium { };
|
||||
|
||||
stellarsolver = libsForQt5.callPackage ../development/libraries/science/astronomy/stellarsolver { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user