kotatogram-desktop: 1.1.5 -> 1.2

This commit is contained in:
Ilya Fedin 2020-03-19 01:34:44 +04:00
parent 8d5d6fb6b7
commit 4d5326e4fd

View File

@ -1,32 +1,28 @@
{ mkDerivation, lib, fetchFromGitHub, pkg-config, python3, cmake, ninja
, qtbase, qtimageformats, enchant, xdg_utils, ffmpeg, openalSoft, lzma
, lz4, xxHash, zlib, minizip, openssl, libtgvoip, range-v3
, qtbase, qtimageformats, libsForQt5, hunspell, xdg_utils, ffmpeg, openalSoft
, lzma, lz4, xxHash, zlib, minizip, openssl, libtgvoip, microsoft_gsl, tl-expected
, range-v3
}:
with lib;
mkDerivation rec {
pname = "kotatogram-desktop";
version = "1.1.5";
version = "1.2";
src = fetchFromGitHub {
owner = "kotatogram";
repo = "kotatogram-desktop";
rev = "k${version}";
sha256 = "1j5wn3k1mr2c39szmyzm0pf720jmbllcaj40p2ydx0p3lir1s760";
sha256 = "00pdx3cjhrihf7ihhmszcf159jrzn1bcx20vwiiizs5r1qk8l210";
fetchSubmodules = true;
};
postPatch = ''
substituteInPlace Telegram/lib_spellcheck/spellcheck/platform/linux/linux_enchant.cpp \
--replace '"libenchant-2.so.2"' '"${enchant}/lib/libenchant-2.so.2"'
'';
nativeBuildInputs = [ pkg-config python3 cmake ninja ];
buildInputs = [
qtbase qtimageformats ffmpeg openalSoft lzma lz4 xxHash
zlib minizip openssl enchant libtgvoip range-v3
qtbase qtimageformats ffmpeg openalSoft lzma lz4 xxHash libsForQt5.libdbusmenu
zlib minizip openssl hunspell libtgvoip microsoft_gsl tl-expected range-v3
];
qtWrapperArgs = [
@ -35,8 +31,8 @@ mkDerivation rec {
cmakeFlags = [
"-DTDESKTOP_API_TEST=ON"
"-DTDESKTOP_DISABLE_GTK_INTEGRATION=ON"
"-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF"
"-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF"
];
meta = {