Skip to content

Commit 7d2e8bb

Browse files
committed
mumble: 1.5.857 -> 1.6.870
Signed-off-by: Felix Singer <felixsinger@posteo.net>
1 parent 82c3737 commit 7d2e8bb

File tree

3 files changed

+24
-33
lines changed

3 files changed

+24
-33
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 & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
2+
cli11,
23
lib,
34
stdenv,
45
fetchFromGitHub,
56
fetchpatch,
67
pkg-config,
7-
qt5,
8+
qt6,
89
cmake,
910
ninja,
1011
avahi,
@@ -34,10 +35,12 @@
3435
libpulseaudio,
3536
speechdSupport ? false,
3637
speechd-minimal,
37-
microsoft-gsl,
3838
nlohmann_json,
3939
xar,
4040
makeBinaryWrapper,
41+
spdlog,
42+
utfcpp,
43+
serverSqliteSupport ? true,
4144
}:
4245

4346
let
@@ -55,18 +58,20 @@ let
5558
ninja
5659
pkg-config
5760
python3
58-
qt5.wrapQtAppsHook
59-
qt5.qttools
61+
qt6.wrapQtAppsHook
62+
qt6.qttools
6063
makeBinaryWrapper
6164
]
6265
++ (overrides.nativeBuildInputs or [ ]);
6366

6467
buildInputs = [
6568
boost
69+
cli11
6670
poco
6771
protobuf
68-
microsoft-gsl
6972
nlohmann_json
73+
spdlog
74+
utfcpp
7075
]
7176
++ lib.optionals stdenv.hostPlatform.isLinux [ avahi ]
7277
++ (overrides.buildInputs or [ ]);
@@ -76,8 +81,11 @@ let
7681
"-D CMAKE_CXX_STANDARD=17" # protobuf >22 requires C++ 17
7782
"-D BUILD_NUMBER=${lib.versions.patch source.version}"
7883
"-D CMAKE_UNITY_BUILD=ON" # Upstream uses this in their build pipeline to speed up builds
79-
"-D bundled-gsl=OFF"
8084
"-D bundled-json=OFF"
85+
"-D use-timestamps=OFF"
86+
"-D bundled-cli11=OFF"
87+
"-D bundled-spdlog=OFF"
88+
"-D bundled-utfcpp=OFF"
8189
]
8290
++ (overrides.cmakeFlags or [ ]);
8391

@@ -107,7 +115,7 @@ let
107115

108116
platforms = lib.platforms.darwin;
109117
nativeBuildInputs = [
110-
qt5.qttools
118+
qt6.qttools
111119
];
112120

113121
buildInputs = [
@@ -117,7 +125,7 @@ let
117125
libsndfile
118126
libvorbis
119127
speexdsp
120-
qt5.qtsvg
128+
qt6.qtsvg
121129
rnnoise
122130
]
123131
++ lib.optional (!jackSupport && alsaSupport) alsa-lib
@@ -132,6 +140,7 @@ let
132140
cmakeFlags = [
133141
"-D server=OFF"
134142
"-D bundled-speex=OFF"
143+
"-D bundled-rnnoise=OFF"
135144
"-D bundle-qt-translations=OFF"
136145
"-D update=OFF"
137146
"-D overlay-xcompile=OFF"
@@ -151,7 +160,6 @@ let
151160
env.NIX_CFLAGS_COMPILE = lib.optionalString speechdSupport "-I${speechd-minimal}/include/speech-dispatcher";
152161

153162
patches = [
154-
./disable-overlay-build.patch
155163
./fix-plugin-copy.patch
156164
];
157165

@@ -165,6 +173,7 @@ let
165173
--source-dir=$NIX_BUILD_TOP/source/ \
166174
--binary-dir=$out \
167175
--only-appbundle \
176+
--no-overlay \
168177
--version "${source.version}"
169178
170179
mkdir -p $out/Applications $out/bin
@@ -193,6 +202,9 @@ let
193202
cmakeFlags = [
194203
"-D client=OFF"
195204
(lib.cmakeBool "ice" iceSupport)
205+
(lib.cmakeBool "enable-mysql" false)
206+
(lib.cmakeBool "enable-postgresql" false)
207+
(lib.cmakeBool "enable-sqlite" serverSqliteSupport)
196208
]
197209
++ lib.optionals iceSupport [
198210
"-D Ice_HOME=${lib.getDev zeroc-ice};${lib.getLib zeroc-ice}"
@@ -216,14 +228,14 @@ let
216228
} source;
217229

218230
source = rec {
219-
version = "1.5.857";
231+
version = "1.6.870";
220232

221233
# Needs submodules
222234
src = fetchFromGitHub {
223235
owner = "mumble-voip";
224236
repo = "mumble";
225237
tag = "v${version}";
226-
hash = "sha256-4ySak2nzT8p48waMgBc9kLrvFB8716e7p0G4trzuh1k=";
238+
hash = "sha256-FpZbFY/RvQOEDQAXkm1f5Oy00UUG11Az7LJnWfoinOM=";
227239
fetchSubmodules = true;
228240
};
229241
};

pkgs/applications/networking/mumble/disable-overlay-build.patch

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)