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
qttools, # for translations
46
wrapQtAppsHook,
47
libnotify,
0
0
0
48
qt5compat,
49
qtbase,
50
qtdeclarative,
···
56
qtwebengine,
57
qtwebchannel,
58
wrapGAppsHook3,
0
59
withWebengine ? true,
60
61
# for pjsip
···
241
sed -i -e '/GIT_REPOSITORY/,+1c SOURCE_DIR ''${CMAKE_CURRENT_SOURCE_DIR}/qwindowkit' extras/build/cmake/contrib_tools.cmake
242
sed -i -e 's/if(DISTRO_NEEDS_QMSETUP_PATCH)/if(TRUE)/' CMakeLists.txt
243
cp -R --no-preserve=mode,ownership ${qwindowkit-src} qwindowkit
0
0
244
'';
245
246
preConfigure = ''
···
265
266
buildInputs = [
267
ffmpeg_6
0
0
268
libnotify
0
269
networkmanager
270
qtbase
271
qt5compat
···
276
qtpositioning
277
qtsvg
278
qtwebchannel
0
279
]
280
++ lib.optionals withWebengine [ qtwebengine ];
281
···
45
qttools, # for translations
46
wrapQtAppsHook,
47
libnotify,
48
+
md4c,
49
+
html-tidy,
50
+
hunspell,
51
qt5compat,
52
qtbase,
53
qtdeclarative,
···
59
qtwebengine,
60
qtwebchannel,
61
wrapGAppsHook3,
62
+
zxing-cpp,
63
withWebengine ? true,
64
65
# for pjsip
···
245
sed -i -e '/GIT_REPOSITORY/,+1c SOURCE_DIR ''${CMAKE_CURRENT_SOURCE_DIR}/qwindowkit' extras/build/cmake/contrib_tools.cmake
246
sed -i -e 's/if(DISTRO_NEEDS_QMSETUP_PATCH)/if(TRUE)/' CMakeLists.txt
247
cp -R --no-preserve=mode,ownership ${qwindowkit-src} qwindowkit
248
+
substituteInPlace CMakeLists.txt \
249
+
--replace-fail 'add_subdirectory(3rdparty/zxing-cpp EXCLUDE_FROM_ALL)' 'find_package(ZXing)'
250
'';
251
252
preConfigure = ''
···
271
272
buildInputs = [
273
ffmpeg_6
274
+
html-tidy
275
+
hunspell
276
libnotify
277
+
md4c
278
networkmanager
279
qtbase
280
qt5compat
···
285
qtpositioning
286
qtsvg
287
qtwebchannel
288
+
zxing-cpp
289
]
290
++ lib.optionals withWebengine [ qtwebengine ];
291