Lines 73-79
CMAKE_OFF= DESKTOP_APP_USE_PACKAGED_FONTS
Link Here
|
73 |
CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} |
73 |
CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} |
74 |
CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ |
74 |
CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ |
75 |
DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION |
75 |
DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION |
76 |
CMAKE_OFF= DESKTOP_APP_USE_PACKAGED_FONTS |
|
|
77 |
|
76 |
|
78 |
# Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port). |
77 |
# Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port). |
79 |
CMAKE_ARGS+= -DLINUX=true |
78 |
CMAKE_ARGS+= -DLINUX=true |
Lines 84-89
OPTIONS_DEFAULT= ALSA
Link Here
|
84 |
# Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA. |
83 |
# Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA. |
85 |
# It dynamically loads PulseAudio, and if this fails, it loads ALSA. |
84 |
# It dynamically loads PulseAudio, and if this fails, it loads ALSA. |
86 |
# If both of them are not installed, then voice calls do not work, but other functionalities still work. |
85 |
# If both of them are not installed, then voice calls do not work, but other functionalities still work. |
|
|
86 |
OPTIONS_DEFINE= SYSTEM_FONTS |
87 |
OPTIONS_DEFAULT= ALSA |
87 |
OPTIONS_DEFAULT= ALSA |
88 |
OPTIONS_MULTI= AUDIO |
88 |
OPTIONS_MULTI= AUDIO |
89 |
OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO |
89 |
OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO |
Lines 93-98
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
Link Here
|
93 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
93 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
94 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
94 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
95 |
|
95 |
|
|
|
96 |
SYSTEM_FONTS_DESC= Use system fonts instead of bundled patched ones |
97 |
SYSTEM_FONTS_CMAKE_BOOL= DESKTOP_APP_USE_PACKAGED_FONTS |
98 |
|
96 |
# Telegram asks each custom build to have its own API ID and hash. |
99 |
# Telegram asks each custom build to have its own API ID and hash. |
97 |
TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d |
100 |
TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d |
98 |
TELEGRAM_API_ID= 601761 |
101 |
TELEGRAM_API_ID= 601761 |