Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : telegram | name : telegram | ||||
| version : 2.5.1 | version : 2.5.8 | ||||
| release : 141 | release : 142 | ||||
| source : | source : | ||||
| - https://github.com/telegramdesktop/tdesktop/releases/download/v2.5.1/tdesktop-2.5.1-full.tar.gz : f1cc5e876deaa4fa4eaafbba95f127d5a3114c166802902b8584099852b9eae2 | - https://github.com/telegramdesktop/tdesktop/releases/download/v2.5.8/tdesktop-2.5.8-full.tar.gz : 9c89cb31f8ba8a26821fe3c2769b04162e8d7629d327f9cd25a892e88878417e | ||||
| - https://github.com/desktop-app/tg_owt/archive/75ac66937341d8a9207375aaee79b4bdc500146c/tg_owt.tar.gz : 6e27cf6d8997630d04c45e15b654a91d3703a6726d5e09399c4795c8c330fe55 | - git|https://github.com/desktop-app/tg_owt.git : be23804afce3bb2e80a1d57a7c1318c71b82b7de | ||||
| - git|https://chromium.googlesource.com/libyuv/libyuv.git : 058746415698c6e101442c2b3e95f50832281671 | |||||
| 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(gtk+-3.0) | - 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) | ||||
| - pkgconfig(protobuf) | - pkgconfig(protobuf) | ||||
| - pkgconfig(vpx) | - pkgconfig(vpx) | ||||
| - pkgconfig(xcb-keysyms) | - pkgconfig(xcb-keysyms) | ||||
| - kwayland-devel | |||||
| - range-v3 | - range-v3 | ||||
| - xxhash-devel | - xxhash-devel | ||||
| - yasm | - yasm | ||||
| rundeps : | rundeps : | ||||
| - qt5-imageformats | - qt5-imageformats | ||||
| setup : | | setup : | | ||||
| mkdir tg_owt | cp -r $sources/tg_owt.git tg_owt | ||||
| pushd tg_owt | pushd tg_owt | ||||
| tar xf $sources/tg_owt.tar.gz --strip-components=1 | # tg_out uses unreleased features of libvpx, so we cannot link it against | ||||
| %patch -p1 < $pkgfiles/tg_owt-Link-against-shared-libvpx.patch | # the one in our repo (using the patch provided in this package). Until a new version | ||||
| rmdir src/third_party/libyuv | # is not released, use the bundled libvpx with git submodules. | ||||
| ln -s $sources/libyuv.git src/third_party/libyuv | |||||
| %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 | ||||
| %cmake_ninja \ | %cmake_ninja \ | ||||
| -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \ | -DDESKTOP_APP_DISABLE_CRASH_REPORTS=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.