kotatogram-desktop: 1.1.5 -> 1.2
This commit is contained in:
parent
8d5d6fb6b7
commit
4d5326e4fd
@ -1,32 +1,28 @@
|
|||||||
{ mkDerivation, lib, fetchFromGitHub, pkg-config, python3, cmake, ninja
|
{ mkDerivation, lib, fetchFromGitHub, pkg-config, python3, cmake, ninja
|
||||||
, qtbase, qtimageformats, enchant, xdg_utils, ffmpeg, openalSoft, lzma
|
, qtbase, qtimageformats, libsForQt5, hunspell, xdg_utils, ffmpeg, openalSoft
|
||||||
, lz4, xxHash, zlib, minizip, openssl, libtgvoip, range-v3
|
, lzma, lz4, xxHash, zlib, minizip, openssl, libtgvoip, microsoft_gsl, tl-expected
|
||||||
|
, range-v3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "kotatogram-desktop";
|
pname = "kotatogram-desktop";
|
||||||
version = "1.1.5";
|
version = "1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kotatogram";
|
owner = "kotatogram";
|
||||||
repo = "kotatogram-desktop";
|
repo = "kotatogram-desktop";
|
||||||
rev = "k${version}";
|
rev = "k${version}";
|
||||||
sha256 = "1j5wn3k1mr2c39szmyzm0pf720jmbllcaj40p2ydx0p3lir1s760";
|
sha256 = "00pdx3cjhrihf7ihhmszcf159jrzn1bcx20vwiiizs5r1qk8l210";
|
||||||
fetchSubmodules = true;
|
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 ];
|
nativeBuildInputs = [ pkg-config python3 cmake ninja ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase qtimageformats ffmpeg openalSoft lzma lz4 xxHash
|
qtbase qtimageformats ffmpeg openalSoft lzma lz4 xxHash libsForQt5.libdbusmenu
|
||||||
zlib minizip openssl enchant libtgvoip range-v3
|
zlib minizip openssl hunspell libtgvoip microsoft_gsl tl-expected range-v3
|
||||||
];
|
];
|
||||||
|
|
||||||
qtWrapperArgs = [
|
qtWrapperArgs = [
|
||||||
@ -35,8 +31,8 @@ mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DTDESKTOP_API_TEST=ON"
|
"-DTDESKTOP_API_TEST=ON"
|
||||||
"-DTDESKTOP_DISABLE_GTK_INTEGRATION=ON"
|
|
||||||
"-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF"
|
"-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF"
|
||||||
|
"-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user