Skip to content

Commit 5ee776b

Browse files
committed
mumble: 1.5.857 -> 1.6.870
Signed-off-by: Felix Singer <felixsinger@posteo.net>
1 parent ac67479 commit 5ee776b

File tree

2 files changed

+24
-11
lines changed

2 files changed

+24
-11
lines changed

nixos/modules/services/networking/murmur.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ in
331331
Type = if forking then "forking" else "simple";
332332
PIDFile = lib.mkIf forking "/run/murmur/murmurd.pid";
333333
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
334-
ExecStart = "${cfg.package}/bin/mumble-server -ini /run/murmur/murmurd.ini";
334+
ExecStart = "${cfg.package}/bin/mumble-server --ini /run/murmur/murmurd.ini";
335335
Restart = "always";
336336
LogsDirectory = lib.mkIf cfg.logToFile "murmur";
337337
LogsDirectoryMode = "0750";

pkgs/applications/networking/mumble/default.nix

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
fetchFromGitHub,
55
fetchpatch,
66
pkg-config,
7-
qt5,
7+
qt6,
88
cmake,
99
ninja,
1010
avahi,
@@ -38,6 +38,10 @@
3838
nlohmann_json,
3939
xar,
4040
makeBinaryWrapper,
41+
postgresql,
42+
serverMysqlSupport ? false,
43+
serverPostgresqlSupport ? true,
44+
serverSqliteSupport ? true,
4145
}:
4246

4347
let
@@ -55,8 +59,8 @@ let
5559
ninja
5660
pkg-config
5761
python3
58-
qt5.wrapQtAppsHook
59-
qt5.qttools
62+
qt6.wrapQtAppsHook
63+
qt6.qttools
6064
makeBinaryWrapper
6165
]
6266
++ (overrides.nativeBuildInputs or [ ]);
@@ -78,6 +82,7 @@ let
7882
"-D CMAKE_UNITY_BUILD=ON" # Upstream uses this in their build pipeline to speed up builds
7983
"-D bundled-gsl=OFF"
8084
"-D bundled-json=OFF"
85+
"-D use-timestamps=OFF"
8186
]
8287
++ (overrides.cmakeFlags or [ ]);
8388

@@ -107,7 +112,7 @@ let
107112

108113
platforms = lib.platforms.darwin;
109114
nativeBuildInputs = [
110-
qt5.qttools
115+
qt6.qttools
111116
];
112117

113118
buildInputs = [
@@ -117,7 +122,7 @@ let
117122
libsndfile
118123
libvorbis
119124
speexdsp
120-
qt5.qtsvg
125+
qt6.qtsvg
121126
rnnoise
122127
]
123128
++ lib.optional (!jackSupport && alsaSupport) alsa-lib
@@ -132,6 +137,7 @@ let
132137
cmakeFlags = [
133138
"-D server=OFF"
134139
"-D bundled-speex=OFF"
140+
"-D bundled-rnnoise=OFF"
135141
"-D bundle-qt-translations=OFF"
136142
"-D update=OFF"
137143
"-D overlay-xcompile=OFF"
@@ -151,8 +157,8 @@ let
151157
env.NIX_CFLAGS_COMPILE = lib.optionalString speechdSupport "-I${speechd-minimal}/include/speech-dispatcher";
152158

153159
patches = [
154-
./disable-overlay-build.patch
155-
./fix-plugin-copy.patch
160+
#./disable-overlay-build.patch
161+
#./fix-plugin-copy.patch
156162
];
157163

158164
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
@@ -193,13 +199,20 @@ let
193199
cmakeFlags = [
194200
"-D client=OFF"
195201
(lib.cmakeBool "ice" iceSupport)
202+
(lib.cmakeBool "enable-mysql" serverMysqlSupport)
203+
(lib.cmakeBool "enable-postgresql" serverPostgresqlSupport)
204+
(lib.cmakeBool "enable-sqlite" serverSqliteSupport)
196205
]
197206
++ lib.optionals iceSupport [
198207
"-D Ice_HOME=${lib.getDev zeroc-ice};${lib.getLib zeroc-ice}"
199208
"-D Ice_SLICE_DIR=${lib.getDev zeroc-ice}/share/ice/slice"
200209
];
201210

202-
buildInputs = [ libcap ] ++ lib.optional iceSupport zeroc-ice;
211+
buildInputs = [
212+
libcap
213+
]
214+
++ lib.optional iceSupport zeroc-ice
215+
++ lib.optional serverPostgresqlSupport postgresql;
203216
} source;
204217

205218
overlay =
@@ -216,14 +229,14 @@ let
216229
} source;
217230

218231
source = rec {
219-
version = "1.5.857";
232+
version = "1.6.870";
220233

221234
# Needs submodules
222235
src = fetchFromGitHub {
223236
owner = "mumble-voip";
224237
repo = "mumble";
225238
tag = "v${version}";
226-
hash = "sha256-4ySak2nzT8p48waMgBc9kLrvFB8716e7p0G4trzuh1k=";
239+
hash = "sha256-FpZbFY/RvQOEDQAXkm1f5Oy00UUG11Az7LJnWfoinOM=";
227240
fetchSubmodules = true;
228241
};
229242
};

0 commit comments

Comments
 (0)