tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
jami: use md4c, html-tidy, hunspell and zxing-cpp from nixpkgs
linsui
6 months ago
225cbfd4
be2b8ea3
+10
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
instant-messengers
jami
default.nix
+10
pkgs/applications/networking/instant-messengers/jami/default.nix
···
45
45
qttools, # for translations
46
46
wrapQtAppsHook,
47
47
libnotify,
48
48
+
md4c,
49
49
+
html-tidy,
50
50
+
hunspell,
48
51
qt5compat,
49
52
qtbase,
50
53
qtdeclarative,
···
56
59
qtwebengine,
57
60
qtwebchannel,
58
61
wrapGAppsHook3,
62
62
+
zxing-cpp,
59
63
withWebengine ? true,
60
64
61
65
# for pjsip
···
241
245
sed -i -e '/GIT_REPOSITORY/,+1c SOURCE_DIR ''${CMAKE_CURRENT_SOURCE_DIR}/qwindowkit' extras/build/cmake/contrib_tools.cmake
242
246
sed -i -e 's/if(DISTRO_NEEDS_QMSETUP_PATCH)/if(TRUE)/' CMakeLists.txt
243
247
cp -R --no-preserve=mode,ownership ${qwindowkit-src} qwindowkit
248
248
+
substituteInPlace CMakeLists.txt \
249
249
+
--replace-fail 'add_subdirectory(3rdparty/zxing-cpp EXCLUDE_FROM_ALL)' 'find_package(ZXing)'
244
250
'';
245
251
246
252
preConfigure = ''
···
265
271
266
272
buildInputs = [
267
273
ffmpeg_6
274
274
+
html-tidy
275
275
+
hunspell
268
276
libnotify
277
277
+
md4c
269
278
networkmanager
270
279
qtbase
271
280
qt5compat
···
276
285
qtpositioning
277
286
qtsvg
278
287
qtwebchannel
288
288
+
zxing-cpp
279
289
]
280
290
++ lib.optionals withWebengine [ qtwebengine ];
281
291