FreeBSD Bugzilla – Attachment 248777 Details for
Bug 277344
net-im/telegram-desktop: Adding options group for choosing which desktop is using
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for net-im/telegram-desktop/Makefile
tdesktop_Makefile.patch (text/plain), 3.65 KB, created by
Sergey Kiselev
on 2024-02-27 04:43:05 UTC
(
hide
)
Description:
patch for net-im/telegram-desktop/Makefile
Filename:
MIME Type:
Creator:
Sergey Kiselev
Created:
2024-02-27 04:43:05 UTC
Size:
3.65 KB
patch
obsolete
>diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile >index d13295de8fe8..4a8618109ca0 100644 >--- a/net-im/telegram-desktop/Makefile >+++ b/net-im/telegram-desktop/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= telegram-desktop > DISTVERSION= 4.15.0 >+PORTREVISION= 1 > CATEGORIES= net-im > MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ > DISTNAME= tdesktop-${DISTVERSION}-full >@@ -38,8 +39,6 @@ LIB_DEPENDS= libabsl_base.so:devel/abseil \ > libprotobuf.so:devel/protobuf \ > libqrcodegencpp.so:graphics/qr-code-generator \ > librnnoise.so:audio/rnnoise \ >- libxcb-keysyms.so:x11/xcb-util-keysyms \ >- libxkbcommon.so:x11/libxkbcommon \ > libxxhash.so:devel/xxhash \ > libvpx.so:multimedia/libvpx > >@@ -51,7 +50,7 @@ qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 > qt6_CONFLICTS_INSTALL= ${PORTNAME} > > USES= cmake compiler:c++20-lang desktop-file-utils gl gnome jpeg localbase \ >- minizip openal pkgconfig python:build ssl xorg >+ minizip openal pkgconfig python:build ssl > > USE_GITHUB= nodefault > GH_ACCOUNT= telegramdesktop >@@ -60,21 +59,19 @@ GH_PROJECT= tdesktop > .if ${FLAVOR} == qt5 > USES+= kde:5 qt:5 > USE_QT= buildtools:build core dbus declarative gui imageformats network qmake:build \ >- svg wayland widgets >+ svg widgets > USE_KDE= coreaddons kimageformats > .else > USES+= qt:6 >-USE_QT= 5compat base declarative imageformats lottie shadertools svg tools:build wayland >+USE_QT= 5compat base declarative imageformats lottie shadertools svg tools:build > .endif > > USE_GL= gl > USE_GNOME= glib20 glibmm26 introspection >-USE_XORG= x11 xcb xcomposite xdamage xext xfixes xrandr xrender xtst > > CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} > CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ >- DESKTOP_APP_DISABLE_SCUDO \ >- DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION >+ DESKTOP_APP_DISABLE_SCUDO > > # Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port). > CMAKE_ARGS+= -DLINUX=true >@@ -86,11 +83,14 @@ LDFLAGS+= -lBlocksRuntime > # It dynamically loads PulseAudio, and if this fails, it loads ALSA. > # If both of them are not installed, then voice calls do not work, but other functionalities still work. > OPTIONS_DEFINE= SYSTEM_FONTS >-OPTIONS_DEFAULT= ALSA >+OPTIONS_DEFAULT= ALSA X11 > OPTIONS_GROUP= AUDIO > OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO >+OPTIONS_SINGLE= DESKTOP >+OPTIONS_SINGLE_DESKTOP= X11 WAYLAND > > AUDIO_DESC= Audio backend for voice calls >+DESKTOP_DESC= Desktop integration > SYSTEM_FONTS_DESC= Use system fonts instead of bundled patched ones > > ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib >@@ -98,6 +98,12 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio > ALSA_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_ALSA > PULSEAUDIO_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_PULSEAUDIO > SYSTEM_FONTS_CMAKE_BOOL_OFF= DESKTOP_APP_USE_PACKAGED_FONTS >+WAYLAND_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION >+WAYLAND_USE= qt=wayland >+X11_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_X11_INTEGRATION >+X11_USES= xorg >+X11_USE= xorg=x11,xcb,xcomposite,xdamage,xext,xfixes,xrandr,xrender,xtst >+X11_LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms \ > > # Telegram asks each custom build to have its own API ID and hash. > TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d >@@ -132,10 +138,7 @@ post-extract: > ${WRKSRC}/Telegram/ThirdParty/lz4 \ > ${WRKSRC}/Telegram/ThirdParty/minizip \ > ${WRKSRC}/Telegram/ThirdParty/jimf \ >- ${WRKSRC}/Telegram/ThirdParty/plasma-wayland-protocols \ > ${WRKSRC}/Telegram/ThirdParty/range-v3 \ >- ${WRKSRC}/Telegram/ThirdParty/wayland \ >- ${WRKSRC}/Telegram/ThirdParty/wayland-protocols \ > ${WRKSRC}/Telegram/ThirdParty/xxHash > > .if ${FLAVOR} == qt5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277344
:
248777
|
248808