1
0

Accepting request 1038950 from home:13ilya

- Updated to 4.3.4.
  * Changed 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch.
  * Added BuildRequires: Qt6Qml, Qt6Quick, Qt6QuickWidgets,
    Qt6WaylandCompositor, qt6-widgets-private-devel and protobuf.
  * Changed BuildRequires: from glibmm-2.4 to glibmm-2.68.
  * Fixed OpenGL regression in Qt and language detection (video call crash).
  * Other bug fixes and minor improvements.

OBS-URL: https://build.opensuse.org/request/show/1038950
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=235
This commit is contained in:
Marcel Kuehlhorn 2022-12-03 15:00:30 +00:00 committed by Git OBS Bridge
parent 7846782df9
commit cc0e037187
5 changed files with 26 additions and 9 deletions

View File

@ -25,10 +25,10 @@
- /usr/local/include
+ ${libs_loc}/rnnoise/include
)
- find_library(RNNOISE_LIBRARY librnnoise.a REQUIRED)
+ find_library(RNNOISE_LIBRARY librnnoise.a HINTS "${rnnoise_lib_loc}" REQUIRED)
- find_library(DESKTOP_APP_RNNOISE_LIBRARIES librnnoise.a REQUIRED)
+ find_library(DESKTOP_APP_RNNOISE_LIBRARIES librnnoise.a HINTS "${rnnoise_lib_loc}" REQUIRED)
set_target_properties(external_rnnoise PROPERTIES
IMPORTED_LOCATION "${RNNOISE_LIBRARY}"
IMPORTED_LOCATION "${DESKTOP_APP_RNNOISE_LIBRARIES}"
)
--- a/cmake/external/expected/CMakeLists.txt
+++ b/cmake/external/expected/CMakeLists.txt

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5574cb8ebfa4983157d347883e7ef3bd85a8d71f972b8458d41fab0d7f733f56
size 41431505

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa11c52f7812c6e9a5ccf2e3a31d526a1db5562c1bbcb571aa70d681ca909b93
size 50030732

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Nov 29 11:49:02 UTC 2022 - Илья Индиго <ilya@ilya.cf>
- Updated to 4.3.4.
* Changed 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch.
* Added BuildRequires: Qt6Qml, Qt6Quick, Qt6QuickWidgets,
Qt6WaylandCompositor, qt6-widgets-private-devel and protobuf.
* Changed BuildRequires: from glibmm-2.4 to glibmm-2.68.
* Fixed OpenGL regression in Qt and language detection (video call crash).
* Other bug fixes and minor improvements.
-------------------------------------------------------------------
Tue Sep 20 15:44:53 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -36,7 +36,7 @@
%define qt_major_version 6
Name: telegram-desktop
Version: 4.1.1
Version: 4.3.4
Release: 0
Summary: Messaging application with a focus on speed and security
License: GPL-3.0-only
@ -96,12 +96,17 @@ BuildRequires: cmake(Qt%{qt_major_version}Core)
BuildRequires: cmake(Qt%{qt_major_version}DBus)
BuildRequires: cmake(Qt%{qt_major_version}Network)
BuildRequires: cmake(Qt%{qt_major_version}OpenGL)
BuildRequires: cmake(Qt%{qt_major_version}Qml)
BuildRequires: cmake(Qt%{qt_major_version}Quick)
BuildRequires: cmake(Qt%{qt_major_version}QuickWidgets)
BuildRequires: cmake(Qt%{qt_major_version}Svg)
BuildRequires: cmake(Qt%{qt_major_version}WaylandClient)
BuildRequires: cmake(Qt%{qt_major_version}WaylandCompositor)
BuildRequires: cmake(Qt%{qt_major_version}Widgets)
%if %{qt_major_version} >= 6
BuildRequires: qt%{qt_major_version}-gui-private-devel
BuildRequires: qt%{qt_major_version}-waylandclient-private-devel
BuildRequires: qt%{qt_major_version}-widgets-private-devel
BuildRequires: cmake(Qt%{qt_major_version}Core5Compat)
BuildRequires: cmake(Qt%{qt_major_version}OpenGLWidgets)
%else
@ -115,7 +120,7 @@ BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(glibmm-2.4)
BuildRequires: pkgconfig(glibmm-2.68)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(harfbuzz)
@ -151,6 +156,7 @@ BuildRequires: pkgconfig(opusfile)
BuildRequires: pkgconfig(opusurl)
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(portaudiocpp)
BuildRequires: pkgconfig(protobuf)
# Use system rnnoise on TW, self-build on others
%if 0%{?suse_version} > 01500
BuildRequires: expect-devel
@ -284,7 +290,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainf
%license LICENSE LEGAL
%doc README.md changelog.txt
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/metainfo/*.metainfo.xml