Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : telegram | name : telegram | ||||
| version : 2.7.4 | version : 2.8.4 | ||||
| release : 152 | release : 153 | ||||
| source : | source : | ||||
| - https://github.com/telegramdesktop/tdesktop/releases/download/v2.7.4/tdesktop-2.7.4-full.tar.gz : 97526f0b4adf04cf86b605ae84f3efaacf58eb8f828bab8f4fe752a4fac62fb2 | - https://github.com/telegramdesktop/tdesktop/releases/download/v2.8.4/tdesktop-2.8.4-full.tar.gz : 0a2a68590cdbccb40ff835516e9c575c761c91f83712891f69a5310fcb23a6a0 | ||||
| - git|https://github.com/desktop-app/tg_owt.git : 18cb4cd9bb4c2f5f5f5e760ec808f74c302bc1bf | - git|https://github.com/desktop-app/tg_owt.git : 91d836dc84a16584c6ac52b36c04c0de504d9c34 | ||||
| - git|https://gitlab.xiph.org/xiph/rnnoise.git : 7f449bf8bd3b933891d12c30112268c4090e4d59 | |||||
| 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(dbusmenu-qt5) | - pkgconfig(dbusmenu-qt5) | ||||
| - pkgconfig(enchant-2) | |||||
| - pkgconfig(glibmm-2.4) | - pkgconfig(glibmm-2.4) | ||||
| - pkgconfig(hunspell) | - pkgconfig(hunspell) | ||||
| - pkgconfig(libavcodec) | - pkgconfig(libavcodec) | ||||
| - pkgconfig(libevent) | |||||
| - pkgconfig(libjpeg) | - pkgconfig(libjpeg) | ||||
| - pkgconfig(libpulse) | |||||
| - pkgconfig(liblz4) | - pkgconfig(liblz4) | ||||
| - pkgconfig(libpipewire-0.3) | |||||
| - pkgconfig(libpulse) | |||||
| - pkgconfig(libxxhash) | |||||
| - pkgconfig(minizip) | - pkgconfig(minizip) | ||||
| - pkgconfig(openal) | - pkgconfig(openal) | ||||
| - pkgconfig(opus) | - pkgconfig(opus) | ||||
| - pkgconfig(protobuf) | |||||
| - pkgconfig(vpx) | - pkgconfig(vpx) | ||||
| - pkgconfig(wayland-server) | |||||
| - pkgconfig(xcb-keysyms) | - pkgconfig(xcb-keysyms) | ||||
| - pkgconfig(xcomposite) | |||||
| - pkgconfig(xdamage) | |||||
| - pkgconfig(xkbcommon) | |||||
| - pkgconfig(xrandr) | |||||
| - pkgconfig(xtst) | |||||
| - kwayland-devel | - kwayland-devel | ||||
| - xxhash-devel | |||||
| - yasm | - yasm | ||||
| rundeps : | rundeps : | ||||
| - qt5-imageformats | - qt5-imageformats | ||||
| setup : | | setup : | | ||||
| cp -r $sources/tg_owt.git tg_owt | cp -r $sources/tg_owt.git tg_owt | ||||
| pushd tg_owt | pushd tg_owt | ||||
| # tg_out uses unreleased features of libvpx, so we cannot link it against | %cmake_ninja -DBUILD_SHARED_LIBS=NO | ||||
| # 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. | |||||
| %cmake_ninja -DBUILD_SHARED_LIBS=NO # We want Telegram to statically link to tg_owt. | |||||
| %ninja_build | %ninja_build | ||||
| popd | popd | ||||
| cp -r $sources/rnnoise.git rnnoise | |||||
| pushd rnnoise | |||||
| %autogen \ | |||||
| --disable-doc \ | |||||
| --disable-examples \ | |||||
| --disable-shared \ | |||||
| --libdir=$PWD/installed/lib \ | |||||
| --prefix=$PWD/installed | |||||
| %make | |||||
| %make_install DESTDIR=/ | |||||
| popd | |||||
| export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$workdir/rnnoise/installed/lib/pkgconfig" | |||||
| %cmake_ninja \ | %cmake_ninja \ | ||||
| -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \ | -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \ | ||||
| -DDESKTOP_APP_DISABLE_GTK_INTEGRATION=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.