diff --git a/devel/libada/Makefile b/devel/libada/Makefile index d44697193792..206b3493f6ce 100644 --- a/devel/libada/Makefile +++ b/devel/libada/Makefile @@ -1,28 +1,29 @@ PORTNAME= libada DISTVERSIONPREFIX= v -DISTVERSION= 2.9.0 -PORTREVISION= 2 +DISTVERSION= 2.9.1 CATEGORIES= devel www MAINTAINER= osa@FreeBSD.org COMMENT= WHATWG-compliant and fast URL parser WWW= https://ada-url.com/ LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT USES= cmake localbase:ldflags USE_LDCONFIG= yes CMAKE_OFF= ADA_TESTING ADA_BENCHMARKS ADA_TOOLS CMAKE_ON= BUILD_SHARED_LIBS \ CMAKE_DISABLE_FIND_PACKAGE_Git \ CMAKE_DISABLE_FIND_PACKAGE_Python3 USE_GITHUB= yes GH_ACCOUNT= ada-url GH_PROJECT= ada +PLIST_SUB= SOVERSION=${PORTVERSION} + .include diff --git a/devel/libada/distinfo b/devel/libada/distinfo index e309bc4defdb..20174b4d2aac 100644 --- a/devel/libada/distinfo +++ b/devel/libada/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1722788107 -SHA256 (ada-url-ada-v2.9.0_GH0.tar.gz) = 8b992f0ce9134cb4eafb74b164d2ce2cb3af1900902162713b0e0c5ab0b6acd8 -SIZE (ada-url-ada-v2.9.0_GH0.tar.gz) = 384243 +TIMESTAMP = 1724592312 +SHA256 (ada-url-ada-v2.9.1_GH0.tar.gz) = 64eb3d91db941645d1b68ac8d1cbb7b534fbe446b66c1da11e384e17fca975e7 +SIZE (ada-url-ada-v2.9.1_GH0.tar.gz) = 384701 diff --git a/devel/libada/pkg-plist b/devel/libada/pkg-plist index dad58d23f715..c8189b804b4e 100644 --- a/devel/libada/pkg-plist +++ b/devel/libada/pkg-plist @@ -1,37 +1,37 @@ include/ada.h include/ada/ada_idna.h include/ada/ada_version.h include/ada/character_sets-inl.h include/ada/character_sets.h include/ada/checkers-inl.h include/ada/checkers.h include/ada/common_defs.h include/ada/encoding_type.h include/ada/expected.h include/ada/helpers.h include/ada/implementation.h include/ada/log.h include/ada/parser.h include/ada/scheme-inl.h include/ada/scheme.h include/ada/serializers.h include/ada/state.h include/ada/unicode-inl.h include/ada/unicode.h include/ada/url-inl.h include/ada/url.h include/ada/url_aggregator-inl.h include/ada/url_aggregator.h include/ada/url_base-inl.h include/ada/url_base.h include/ada/url_components.h include/ada/url_search_params-inl.h include/ada/url_search_params.h include/ada_c.h lib/cmake/ada/ada-config-version.cmake lib/cmake/ada/ada-config.cmake lib/cmake/ada/ada_targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/ada/ada_targets.cmake lib/libada.so lib/libada.so.2 -lib/libada.so.2.9.0 +lib/libada.so.%%SOVERSION%% diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index 03cc2a5c48c1..c2a2e7afa2a3 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,155 +1,156 @@ PORTNAME= telegram-desktop DISTVERSION= 5.4.1 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Telegram Desktop messaging app WWW= https://desktop.telegram.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= does not build, webrtc related #BROKEN_SSL= openssl openssl31 #BROKEN_SSL_REASON= undefined symbol: ERR_load_BIO_strings NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe NOT_FOR_ARCHS_REASON= Only little endian is supported BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ range-v3>0:devel/range-v3 \ tl-expected>0:devel/tl-expected \ v4l_compat>0:multimedia/v4l_compat \ yasm:devel/yasm \ ${LOCALBASE}/lib/libtg_owt.a:net-im/tg_owt LIB_DEPENDS= libabsl_base.so:devel/abseil \ libada.so:devel/libada \ libavformat.so:multimedia/ffmpeg \ libcrc32c.so:devel/crc32c \ libdbus-1.so:devel/dbus \ libdispatch.so:devel/libdispatch \ libfmt.so:devel/libfmt \ libhunspell-1.7.so:textproc/hunspell \ liblz4.so:archivers/liblz4 \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpipewire-0.3.so:multimedia/pipewire \ libprotobuf-lite.so:devel/protobuf \ libqrcodegencpp.so:graphics/qr-code-generator \ librnnoise.so:audio/rnnoise \ libsrtp2.so:net/libsrtp2 \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon \ libxxhash.so:devel/xxhash \ libvpx.so:multimedia/libvpx FLAVORS= qt5 qt6 FLAVOR?= ${FLAVORS:[1]} qt5_PKGNAMESUFFIX= qt6_PKGNAMESUFFIX= -qt6 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 USE_GITHUB= nodefault GH_ACCOUNT= telegramdesktop 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 USE_KDE= coreaddons kimageformats .else USES+= kde:6 qt:6 USE_QT= 5compat base declarative imageformats lottie shadertools svg tools:build wayland USE_KDE= coreaddons kimageformats .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} \ -DQT_VERSION_MAJOR=${FLAVOR:S/qt//} CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ DESKTOP_APP_DISABLE_JEMALLOC \ DESKTOP_APP_DISABLE_SCUDO \ DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION # Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port). CMAKE_ARGS+= -DLINUX=true # libdispatch components LDFLAGS+= -lBlocksRuntime # 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= SYSTEM_FONTS OPTIONS_DEFAULT= ALSA OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO AUDIO_DESC= Audio backend for voice calls SYSTEM_FONTS_DESC= Use system fonts instead of bundled patched ones ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib 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 # Telegram asks each custom build to have its own API ID and hash. TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d TELEGRAM_API_ID= 601761 .include .if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400000 && ${OSVERSION} < 1400091) #EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt USES+= llvm:min=16,build USES:= ${USES:Ncompiler\:*} # XXX avoid warnings .if defined(WITH_CCACHE_BUILD) && !defined(NO_CCACHE) CMAKE_ARGS+= -DCMAKE_CC_COMPILER_LAUNCHER="${LOCALBASE}/bin/ccache" \ -DCMAKE_CPP_COMPILER_LAUNCHER="${LOCALBASE}/bin/ccache" \ -DCMAKE_CXX_COMPILER_LAUNCHER="${LOCALBASE}/bin/ccache" .endif #.else #USES+= compiler:c++20-lang .endif post-extract: # Some of the third-party components already built, and # can be safely removed ${RM} -rf \ ${WRKSRC}/Telegram/ThirdParty/QR \ ${WRKSRC}/Telegram/ThirdParty/dispatch \ ${WRKSRC}/Telegram/ThirdParty/expected \ ${WRKSRC}/Telegram/ThirdParty/fcitx5-qt \ ${WRKSRC}/Telegram/ThirdParty/hime \ ${WRKSRC}/Telegram/ThirdParty/hunspell \ ${WRKSRC}/Telegram/ThirdParty/jemalloc \ ${WRKSRC}/Telegram/ThirdParty/jimf \ ${WRKSRC}/Telegram/ThirdParty/kcoreaddons \ ${WRKSRC}/Telegram/ThirdParty/kimageformats \ ${WRKSRC}/Telegram/ThirdParty/lz4 \ ${WRKSRC}/Telegram/ThirdParty/minizip \ ${WRKSRC}/Telegram/ThirdParty/plasma-wayland-protocols \ ${WRKSRC}/Telegram/ThirdParty/range-v3 \ ${WRKSRC}/Telegram/ThirdParty/wayland \ ${WRKSRC}/Telegram/ThirdParty/wayland-protocols \ ${WRKSRC}/Telegram/ThirdParty/xxHash post-patch: # XXX fix the following on every source file # warning: unknown warning option '-Wno-maybe-uninitialized' # warning: argument unused during compilation: '-fstack-clash-protection' ${REINPLACE_CMD} -e /-Wno-maybe-uninitialized/d -e /-fstack-clash-protection/d \ ${WRKSRC}/cmake/options_linux.cmake .include