FreeBSD Bugzilla – Attachment 223091 Details for
Bug 254123
net-im/telegram-desktop: update to 2.6.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Port makefile after petting linters
Makefile.svndiff (text/plain), 3.15 KB, created by
Fernando Apesteguía
on 2021-03-08 11:47:44 UTC
(
hide
)
Description:
Port makefile after petting linters
Filename:
MIME Type:
Creator:
Fernando Apesteguía
Created:
2021-03-08 11:47:44 UTC
Size:
3.15 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revisión: 567838) >+++ Makefile (copia de trabajo) >@@ -1,7 +1,7 @@ > # $FreeBSD$ > > PORTNAME= telegram-desktop >-DISTVERSION= 2.5.8 >+DISTVERSION= 2.6.1 > CATEGORIES= net-im > MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ > DISTNAME= tdesktop-${DISTVERSION}-full >@@ -13,9 +13,9 @@ > LICENSE= GPLv3 > LICENSE_FILE= ${WRKSRC}/LICENSE > >+BROKEN_i386= Does not build, webrtc related. > NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe > NOT_FOR_ARCHS_REASON= Only little endian is supported >-BROKEN_i386= Does not build, webrtc related. > > BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib \ > dee>0:devel/dee \ >@@ -44,18 +44,19 @@ > USES= cmake compiler:c++17-lang desktop-file-utils gl \ > gnome pkgconfig python:3.7,build qt:5 ssl xorg > >-# see Bugzilla #245452 for details >-NO_CCACHE= yes >- > USE_GITHUB= nodefault > GH_ACCOUNT= telegramdesktop > GH_PROJECT= tdesktop >+USE_GL= gl > USE_GNOME= glib20 >+INSTALLS_ICONS= yes > USE_QT= core dbus gui imageformats network widgets buildtools_build \ > qmake_build wayland > USE_XORG= x11 xcb >-USE_GL= gl > >+CMAKE_ARGS= -DDESKTOP_APP_SPECIAL_TARGET="" -DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \ >+ -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} \ >+ -Ddisable_autoupdate=1 > CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ > TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION \ > DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION >@@ -62,35 +63,32 @@ > CMAKE_OFF= DESKTOP_APP_USE_PACKAGED_RLOTTIE DESKTOP_APP_USE_PACKAGED_VARIANT \ > DESKTOP_APP_USE_GLIBC_WRAPS TDESKTOP_USE_PACKAGED_TGVOIP \ > DESKTOP_APP_USE_PACKAGED_FONTS >-CMAKE_ARGS= -DDESKTOP_APP_SPECIAL_TARGET="" -DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \ >- -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} \ >- -Ddisable_autoupdate=1 > > # Disable DCHECKs, otherwise video calls will crash. > CXXFLAGS+= -DNDEBUG > >-# Telegram asks each custom build to have its own API ID and hash. >-TELEGRAM_API_ID= 601761 >-TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d >+# see Bugzilla #245452 for details >+NO_CCACHE= yes > > # Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA. > # 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= GTK >+OPTIONS_DEFAULT= ALSA > OPTIONS_MULTI= AUDIO > OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO >-OPTIONS_DEFINE= GTK >-OPTIONS_DEFAULT= ALSA > > AUDIO_DESC= Audio backend for voice calls > GTK_DESC= Gtk integration (Use Gtk dialogs, etc.) > > ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib >+GTK_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_GTK_INTEGRATION > PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio > >-GTK_CMAKE_BOOL_OFF= TDESKTOP_DISABLE_GTK_INTEGRATION >+# Telegram asks each custom build to have its own API ID and hash. >+TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d >+TELEGRAM_API_ID= 601761 > >-INSTALLS_ICONS= yes >- > .include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MGTK}
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 254123
:
223084
| 223091