Skip to content

Commit c39894d

Browse files
committed
lazarus-qt6: init at 3.6-0
1 parent 542c24c commit c39894d

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

pkgs/by-name/la/lazpaint/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5-
lazarus-qt,
5+
lazarus-qt5,
66
fpc,
77
autoPatchelfHook,
88
libsForQt5,
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636
};
3737

3838
nativeBuildInputs = [
39-
lazarus-qt
39+
lazarus-qt5
4040
fpc
4141
libsForQt5.wrapQtAppsHook
4242
autoPatchelfHook
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
6262
cp -r --no-preserve=mode ${bgrabitmap} bgrabitmap
6363
cp -r --no-preserve=mode ${bgracontrols} bgracontrols
6464
65-
lazbuild --lazarusdir=${lazarus-qt}/share/lazarus \
65+
lazbuild --lazarusdir=${lazarus-qt5}/share/lazarus \
6666
--build-mode=ReleaseQt5 \
6767
bgrabitmap/bgrabitmap/bgrabitmappack.lpk \
6868
bgracontrols/bgracontrols.lpk \

pkgs/development/compilers/fpc/lazarus.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ let
4343
)
4444
);
4545

46+
qtVersion = lib.versions.major qtbase.version;
4647
in
4748
stdenv.mkDerivation rec {
4849
pname = "lazarus-${LCL_PLATFORM}";
@@ -94,7 +95,7 @@ stdenv.mkDerivation rec {
9495
"bigide"
9596
];
9697

97-
LCL_PLATFORM = if withQt then "qt5" else "gtk2";
98+
LCL_PLATFORM = if withQt then "qt${qtVersion}" else "gtk2";
9899

99100
NIX_LDFLAGS = lib.concatStringsSep " " (
100101
[
@@ -114,7 +115,7 @@ stdenv.mkDerivation rec {
114115
]
115116
++ lib.optionals withQt [
116117
"-L${lib.getLib libqtpas}/lib"
117-
"-lQt5Pas"
118+
"-lQt${qtVersion}Pas"
118119
]
119120
);
120121

pkgs/tools/graphics/goverlay/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
stdenv,
66
fetchFromGitHub,
77
fpc,
8-
lazarus-qt,
8+
lazarus-qt5,
99
wrapQtAppsHook,
1010
breeze-qt5,
1111
libGL,
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
6969

7070
nativeBuildInputs = [
7171
fpc
72-
lazarus-qt
72+
lazarus-qt5
7373
wrapQtAppsHook
7474
];
7575

@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
8585

8686
buildPhase = ''
8787
runHook preBuild
88-
HOME=$(mktemp -d) lazbuild --lazarusdir=${lazarus-qt}/share/lazarus -B goverlay.lpi
88+
HOME=$(mktemp -d) lazbuild --lazarusdir=${lazarus-qt5}/share/lazarus -B goverlay.lpi
8989
runHook postBuild
9090
'';
9191

pkgs/top-level/aliases.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ mapAliases {
633633
LASzip2 = laszip_2; # Added 2024-06-12
634634
latencytop = throw "'latencytop' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
635635
latinmodern-math = lmmath;
636+
lazarus-qt = lazarus-qt5; # Added 2024-12-25
636637
leafpad = throw "'leafpad' has been removed due to lack of maintenance upstream. Consider using 'xfce.mousepad' instead"; # Added 2024-10-19
637638
ledger_agent = ledger-agent; # Added 2024-01-07
638639
lfs = dysk; # Added 2023-07-03

pkgs/top-level/all-packages.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6525,7 +6525,12 @@ with pkgs;
65256525
fpc = fpc;
65266526
};
65276527

6528-
lazarus-qt = libsForQt5.callPackage ../development/compilers/fpc/lazarus.nix {
6528+
lazarus-qt5 = libsForQt5.callPackage ../development/compilers/fpc/lazarus.nix {
6529+
fpc = fpc;
6530+
withQt = true;
6531+
};
6532+
6533+
lazarus-qt6 = qt6Packages.callPackage ../development/compilers/fpc/lazarus.nix {
65296534
fpc = fpc;
65306535
withQt = true;
65316536
};

0 commit comments

Comments
 (0)