Merge pull request #40880 from lheckemann/tdesktop-other

tdesktop: enable on other platforms
This commit is contained in:
Matthew Bauer 2018-06-28 20:33:48 -04:00 committed by GitHub
commit 9a2345e963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -90,6 +90,10 @@ mkDerivation rec {
sed -i Telegram/gyp/qt_rcc.gypi \
-e "s,/usr/bin/rcc,rcc,g"
# Build system assumes x86, but it works fine on non-x86 if we patch this one flag out
sed -i Telegram/ThirdParty/libtgvoip/libtgvoip.gyp \
-e "/-msse2/d"
gyp \
-Dbuild_defines=${GYP_DEFINES} \
-Gconfig=Release \
@ -133,7 +137,7 @@ mkDerivation rec {
description = "Telegram Desktop messaging app "
+ (if stable then "(stable version)" else "(pre-release)");
license = licenses.gpl3;
platforms = [ "x86_64-linux" "i686-linux" ];
platforms = platforms.linux;
homepage = https://desktop.telegram.org/;
maintainers = with maintainers; [ primeos abbradar garbas ];
};