Add telegram-desktop package

This commit is contained in:
Safa Arıman
2020-03-21 01:02:17 +03:00
parent 86f6d01b57
commit 0786374675
7 changed files with 185 additions and 3 deletions
+38
View File
@@ -0,0 +1,38 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import mesontools
def setup():
params = ' '.join([
'-B build',
'-G Ninja .',
'-Ddisable_autoupdate=1',
'-DCMAKE_BUILD_TYPE=Release',
'-DTDESKTOP_API_TEST=ON',
'-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF',
'-DDESKTOP_APP_USE_PACKAGED=ON',
'-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF',
'-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF',
'-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON',
'-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON',
'-DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON',
'-DTDESKTOP_USE_PACKAGED_TGVOIP=OFF',
'-DDESKTOP_APP_SPECIAL_TARGET=""',
'-DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop"'
])
cmaketools.configure(params)
def build():
mesontools.build()
def install():
mesontools.install()
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>telegram-desktop</Name>
<Homepage>https://desktop.telegram.org/</Homepage>
<Packager>
<Name>Safa Ariman</Name>
<Email>safa@ariman.gen.tr</Email>
</Packager>
<License>GPLv3</License>
<IsA>app:gui</IsA>
<Summary>Official Telegram Desktop client</Summary>
<Description>Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers.</Description>
<Archive sha1sum="406b753d66a5b4a24b9ddf585322cd07cd0fdf85" type="targz">https://github.com/telegramdesktop/tdesktop/releases/download/v1.9.21/tdesktop-1.9.21-full.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>xz-devel</Dependency>
<Dependency>libdbusmenu-qt-devel</Dependency>
<Dependency>expected-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>guidelines-support-library-devel</Dependency>
<Dependency>hunspell-devel</Dependency>
<Dependency>minizip-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>range-v3-devel</Dependency>
<Dependency>libopus-devel</Dependency>
<Dependency>xxhash-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>lz4-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>telegram-desktop</Name>
<RuntimeDependencies>
<Dependency>lz4</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>openal</Dependency>
<Dependency>xxhash</Dependency>
<Dependency>libopus</Dependency>
<Dependency>minizip</Dependency>
<Dependency>hunspell</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-imageformats</Dependency>
<Dependency>libdbusmenu-qt</Dependency>
<Dependency>open-sans-fonts</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-03-17</Date>
<Version>1.9.21</Version>
<Comment>First release</Comment>
<Name>Safa Ariman</Name>
<Email>safa@ariman.gen.tr</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>telegram-desktop</Name>
<Summary xml:lang="tr">Official Telegram Desktop client</Summary>
<Description xml:lang="tr">Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers.</Description>
</Source>
</PISI>
+69 -1
View File
@@ -4734,6 +4734,74 @@ complete albums that you have purchased from Amazon.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>telegram-desktop</Name>
<Homepage>https://desktop.telegram.org/</Homepage>
<Packager>
<Name>Safa Ariman</Name>
<Email>safa@ariman.gen.tr</Email>
</Packager>
<License>GPLv3</License>
<IsA>app:gui</IsA>
<PartOf>network.chat</PartOf>
<Summary xml:lang="en">Official Telegram Desktop client</Summary>
<Summary xml:lang="tr">Official Telegram Desktop client</Summary>
<Description xml:lang="en">Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers.</Description>
<Description xml:lang="tr">Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers.</Description>
<Archive type="targz" sha1sum="406b753d66a5b4a24b9ddf585322cd07cd0fdf85" name="tdesktop-1.9.21-full.tar.gz">https://github.com/telegramdesktop/tdesktop/releases/download/v1.9.21/tdesktop-1.9.21-full.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>xz-devel</Dependency>
<Dependency>libdbusmenu-qt-devel</Dependency>
<Dependency>expected-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>guidelines-support-library-devel</Dependency>
<Dependency>hunspell-devel</Dependency>
<Dependency>minizip-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>range-v3-devel</Dependency>
<Dependency>libopus-devel</Dependency>
<Dependency>xxhash-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>lz4-devel</Dependency>
</BuildDependencies>
<SourceURI>network/chat/telegram-desktop/pspec.xml</SourceURI>
</Source>
<Package>
<Name>telegram-desktop</Name>
<RuntimeDependencies>
<Dependency>lz4</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>openal</Dependency>
<Dependency>xxhash</Dependency>
<Dependency>libopus</Dependency>
<Dependency>minizip</Dependency>
<Dependency>hunspell</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-imageformats</Dependency>
<Dependency>libdbusmenu-qt</Dependency>
<Dependency>open-sans-fonts</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-03-17</Date>
<Version>1.9.21</Version>
<Comment>First release</Comment>
<Name>Safa Ariman</Name>
<Email>safa@ariman.gen.tr</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>telepathy-butterfly</Name>
@@ -111237,7 +111305,7 @@ to create header files and sources from protocol files.</Description>
<Archive type="targz" sha1sum="dbf1bee2391a58936e353f67c6935ecdfbae336b" name="v2.11.1.tar.gz">https://github.com/catchorg/Catch2/archive/v2.11.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>python3</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
<SourceURI>programming/library/catch2/pspec.xml</SourceURI>
</Source>
+1 -1
View File
@@ -1 +1 @@
594a689dbbe031e3dc2d7703ca426eed6b8d5d39
5f47cab99876d79b714e79afa16771a1d4b1550d
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
8e3af7f8cee8c7bb0eb1a1a67891a7ca7ade83bd
195b4664460f531fc63032016c27726efcbdca60