lol

jami: build with system zxing-cpp (#431474)

authored by

Nick Cao and committed by
GitHub
be7ffb6c 9b6c6285

+29 -30
+29 -24
pkgs/applications/networking/instant-messengers/jami/default.nix pkgs/by-name/ja/jami/package.nix
··· 17 gmp, 18 gnutls, 19 llhttp, 20 - jack, 21 jsoncpp, 22 libarchive, 23 libgit2, 24 libnatpmp, 25 libpulseaudio, 26 libupnp, ··· 42 git, 43 networkmanager, # for libnm 44 python3, 45 - qttools, # for translations 46 - wrapQtAppsHook, 47 libnotify, 48 - qt5compat, 49 - qtbase, 50 - qtdeclarative, 51 qrencode, 52 - qtmultimedia, 53 - qtnetworkauth, 54 - qtpositioning, 55 - qtsvg, 56 - qtwebengine, 57 - qtwebchannel, 58 wrapGAppsHook3, 59 withWebengine ? true, 60 61 # for pjsip ··· 206 gmp 207 gnutls 208 llhttp 209 - jack 210 jsoncpp 211 libarchive 212 libgit2 ··· 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 244 ''; 245 246 preConfigure = '' ··· 255 256 nativeBuildInputs = [ 257 wrapGAppsHook3 258 - wrapQtAppsHook 259 pkg-config 260 cmake 261 git 262 python3 263 - qttools 264 ]; 265 266 buildInputs = [ 267 ffmpeg_6 268 libnotify 269 networkmanager 270 - qtbase 271 - qt5compat 272 qrencode 273 - qtnetworkauth 274 - qtdeclarative 275 - qtmultimedia 276 - qtpositioning 277 - qtsvg 278 - qtwebchannel 279 ] 280 - ++ lib.optionals withWebengine [ qtwebengine ]; 281 282 cmakeFlags = lib.optionals (!withWebengine) [ "-DWITH_WEBENGINE=false" ]; 283
··· 17 gmp, 18 gnutls, 19 llhttp, 20 jsoncpp, 21 libarchive, 22 libgit2, 23 + libjack2, 24 libnatpmp, 25 libpulseaudio, 26 libupnp, ··· 42 git, 43 networkmanager, # for libnm 44 python3, 45 libnotify, 46 + md4c, 47 + html-tidy, 48 + hunspell, 49 qrencode, 50 + qt6Packages, 51 wrapGAppsHook3, 52 + zxing-cpp, 53 withWebengine ? true, 54 55 # for pjsip ··· 200 gmp 201 gnutls 202 llhttp 203 + libjack2 204 jsoncpp 205 libarchive 206 libgit2 ··· 235 sed -i -e '/GIT_REPOSITORY/,+1c SOURCE_DIR ''${CMAKE_CURRENT_SOURCE_DIR}/qwindowkit' extras/build/cmake/contrib_tools.cmake 236 sed -i -e 's/if(DISTRO_NEEDS_QMSETUP_PATCH)/if(TRUE)/' CMakeLists.txt 237 cp -R --no-preserve=mode,ownership ${qwindowkit-src} qwindowkit 238 + substituteInPlace CMakeLists.txt \ 239 + --replace-fail 'add_subdirectory(3rdparty/zxing-cpp EXCLUDE_FROM_ALL)' 'find_package(ZXing)' 240 ''; 241 242 preConfigure = '' ··· 251 252 nativeBuildInputs = [ 253 wrapGAppsHook3 254 + qt6Packages.wrapQtAppsHook 255 pkg-config 256 cmake 257 git 258 python3 259 + qt6Packages.qttools # for translations 260 ]; 261 262 buildInputs = [ 263 ffmpeg_6 264 + html-tidy 265 + hunspell 266 libnotify 267 + md4c 268 networkmanager 269 qrencode 270 + zxing-cpp 271 ] 272 + ++ ( 273 + with qt6Packages; 274 + [ 275 + qtbase 276 + qt5compat 277 + qtnetworkauth 278 + qtdeclarative 279 + qtmultimedia 280 + qtpositioning 281 + qtsvg 282 + qtwebchannel 283 + ] 284 + ++ lib.optionals withWebengine [ qtwebengine ] 285 + ); 286 287 cmakeFlags = lib.optionals (!withWebengine) [ "-DWITH_WEBENGINE=false" ]; 288
-6
pkgs/top-level/all-packages.nix
··· 16205 16206 sieveshell = with python3.pkgs; toPythonApplication managesieve; 16207 16208 - jami = qt6Packages.callPackage ../applications/networking/instant-messengers/jami { 16209 - # TODO: remove once `udev` is `systemdMinimal` everywhere. 16210 - udev = systemdMinimal; 16211 - jack = libjack2; 16212 - }; 16213 - 16214 gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { }; 16215 16216 inherit (callPackage ../applications/misc/zettlr { }) zettlr;
··· 16205 16206 sieveshell = with python3.pkgs; toPythonApplication managesieve; 16207 16208 gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { }; 16209 16210 inherit (callPackage ../applications/misc/zettlr { }) zettlr;