Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : telegram | name : telegram | ||||
| version : 2.7.1 | version : 2.7.4 | ||||
| release : 150 | release : 151 | ||||
| source : | source : | ||||
| - https://github.com/telegramdesktop/tdesktop/releases/download/v2.7.1/tdesktop-2.7.1-full.tar.gz : 41bfbe1ee63da9a6af7cf7d11b1cdd13a6754b51b294ac5a9d56f5f11dfbdd05 | - https://github.com/telegramdesktop/tdesktop/releases/download/v2.7.4/tdesktop-2.7.4-full.tar.gz : 97526f0b4adf04cf86b605ae84f3efaacf58eb8f828bab8f4fe752a4fac62fb2 | ||||
| - git|https://github.com/desktop-app/tg_owt.git : 2d804d2c9c5d05324c8ab22f2e6ff8306521b3c3 | - git|https://github.com/desktop-app/tg_owt.git : 18cb4cd9bb4c2f5f5f5e760ec808f74c302bc1bf | ||||
| license : GPL-3.0-or-later | license : GPL-3.0-or-later | ||||
| component : network.im | component : network.im | ||||
| summary : Telegram is a messaging app with a focus on speed and security, it’s super fast, simple and free. | summary : Telegram is a messaging app with a focus on speed and security, it’s super fast, simple and free. | ||||
| description: | | description: | | ||||
| Telegram is a messaging app with a focus on speed and security, it’s super fast, simple and free. | Telegram is a messaging app with a focus on speed and security, it’s super fast, simple and free. | ||||
| optimize : lto | optimize : lto | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(Qt5WaylandClient) | - pkgconfig(Qt5WaylandClient) | ||||
| - pkgconfig(alsa) | - pkgconfig(alsa) | ||||
| - pkgconfig(appindicator3-0.1) | - pkgconfig(appindicator3-0.1) | ||||
| - pkgconfig(dbusmenu-qt5) | - pkgconfig(dbusmenu-qt5) | ||||
| - pkgconfig(enchant-2) | - pkgconfig(enchant-2) | ||||
| - pkgconfig(glibmm-2.4) | - pkgconfig(glibmm-2.4) | ||||
| - pkgconfig(gtk+-3.0) | |||||
| - pkgconfig(hunspell) | - pkgconfig(hunspell) | ||||
| - pkgconfig(libavcodec) | - pkgconfig(libavcodec) | ||||
| - pkgconfig(libjpeg) | - pkgconfig(libjpeg) | ||||
| - pkgconfig(libpulse) | - pkgconfig(libpulse) | ||||
| - pkgconfig(liblz4) | - pkgconfig(liblz4) | ||||
| - pkgconfig(minizip) | - pkgconfig(minizip) | ||||
| - pkgconfig(openal) | - pkgconfig(openal) | ||||
| - pkgconfig(opus) | - pkgconfig(opus) | ||||
| Show All 10 Lines | setup : | | ||||
| pushd tg_owt | pushd tg_owt | ||||
| # tg_out uses unreleased features of libvpx, so we cannot link it against | # tg_out uses unreleased features of libvpx, so we cannot link it against | ||||
| # the one in our repo (using the patch provided in this package). Until a new version | # the one in our repo (using the patch provided in this package). Until a new version | ||||
| # is not released, use the bundled libvpx with git submodules. | # is not released, use the bundled libvpx with git submodules. | ||||
| %cmake_ninja -DBUILD_SHARED_LIBS=NO # We want Telegram to statically link to tg_owt. | %cmake_ninja -DBUILD_SHARED_LIBS=NO # We want Telegram to statically link to tg_owt. | ||||
| %ninja_build | %ninja_build | ||||
| popd | popd | ||||
| pushd Telegram/ThirdParty/tgcalls | |||||
| %patch -p1 < $pkgfiles/Fix-build-on-GCC10.patch | |||||
| popd | |||||
| %cmake_ninja \ | %cmake_ninja \ | ||||
| -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \ | -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \ | ||||
| -DDESKTOP_APP_DISABLE_GTK_INTEGRATION=ON \ | |||||
| -DTDESKTOP_API_HASH=8562eb11c58f218ac08ee12c32e07ece \ | -DTDESKTOP_API_HASH=8562eb11c58f218ac08ee12c32e07ece \ | ||||
| -DTDESKTOP_API_ID=1080918 \ | -DTDESKTOP_API_ID=1080918 \ | ||||
| -DTDESKTOP_LAUNCHER_BASENAME=telegramdesktop \ | -DTDESKTOP_LAUNCHER_BASENAME=telegramdesktop \ | ||||
| -Dtg_owt_DIR=$workdir/tg_owt/solusBuildDir | -Dtg_owt_DIR=$workdir/tg_owt/solusBuildDir | ||||
| build : | | build : | | ||||
| %ninja_build | %ninja_build | ||||
| install : | | install : | | ||||
| %ninja_install | %ninja_install | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.