mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
libtd: update to 1.8.51. adopt.
This commit is contained in:
parent
304c609e3f
commit
2c9b07292c
3 changed files with 52 additions and 6 deletions
|
@ -4044,7 +4044,7 @@ libcglm.so.0 cglm-0.7.6_1
|
|||
libfcft.so.4 fcft-3.0.1_1
|
||||
libaml.so.0 aml-0.1.0_1
|
||||
libneatvnc.so.0 neatvnc-0.3.2_1
|
||||
libtdjson.so.1.8.0 libtd-1.8.0_1
|
||||
libtdjson.so.1.8.51 libtd-1.8.51_1
|
||||
libJudy.so.1 judy-1.0.5_1
|
||||
libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2
|
||||
libKSeExprUI.so.4 seexpr-krita-4.0.4.0_1
|
||||
|
|
45
srcpkgs/libtd/patches/build_2e2.patch
Normal file
45
srcpkgs/libtd/patches/build_2e2.patch
Normal file
|
@ -0,0 +1,45 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -187,17 +187,14 @@ set(TDE2E_ENABLE_INSTALL ${TD_INSTALL_STATIC_LIBRARIES} CACHE BOOL "" FORCE)
|
||||
set(TDE2E_INSTALL_INCLUDES ${TD_E2E_ONLY} CACHE BOOL "" FORCE)
|
||||
add_subdirectory(tde2e)
|
||||
|
||||
-if (TD_E2E_ONLY)
|
||||
- if (TD_INSTALL_STATIC_LIBRARIES)
|
||||
+if (TD_INSTALL_STATIC_LIBRARIES)
|
||||
include(GeneratePkgConfig)
|
||||
- generate_pkgconfig(tdutils "Telegram Library - Utils")
|
||||
generate_pkgconfig(tde2e "Telegram Library - E2E")
|
||||
install(EXPORT TdStaticTargets
|
||||
FILE tde2eStaticTargets.cmake
|
||||
NAMESPACE tde2e::
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/tde2e"
|
||||
)
|
||||
- endif()
|
||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/tde2eConfig.cmake" "include(\"\${CMAKE_CURRENT_LIST_DIR}/tde2eStaticTargets.cmake\")\n")
|
||||
include(CMakePackageConfigHelpers)
|
||||
write_basic_package_version_file("tde2eConfigVersion.cmake"
|
||||
@@ -207,7 +204,11 @@ if (TD_E2E_ONLY)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tde2eConfig.cmake" "${CMAKE_CURRENT_BINARY_DIR}/tde2eConfigVersion.cmake"
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/tde2e"
|
||||
)
|
||||
- return()
|
||||
+ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/tde2e/td"
|
||||
+ DESTINATION include
|
||||
+ COMPONENT development
|
||||
+ FILES_MATCHING PATTERN "*.h"
|
||||
+ )
|
||||
endif()
|
||||
|
||||
if (NOT TDUTILS_MIME_TYPE OR NOT TDUTILS_USE_EXTERNAL_DEPENDENCIES)
|
||||
@@ -1400,7 +1401,6 @@ include(GeneratePkgConfig)
|
||||
if (TD_INSTALL_STATIC_LIBRARIES)
|
||||
generate_pkgconfig(tdutils "Telegram Library - Utils")
|
||||
generate_pkgconfig(tdactor "Telegram Library - Actor")
|
||||
- generate_pkgconfig(tde2e "Telegram Library - E2E")
|
||||
generate_pkgconfig(tdnet "Telegram Library - Net")
|
||||
generate_pkgconfig(tdsqlite "Telegram Library - SQLite")
|
||||
generate_pkgconfig(tddb "Telegram Library - Database")
|
||||
--
|
||||
2.50.1
|
||||
|
|
@ -1,17 +1,18 @@
|
|||
# Template file for 'libtd'
|
||||
pkgname=libtd
|
||||
version=1.8.0
|
||||
revision=2
|
||||
version=1.8.51
|
||||
revision=1
|
||||
_td_hash=6d74326c5ce53aeb52496f157f0080d9b8515970
|
||||
build_style=cmake
|
||||
build_helper=qemu
|
||||
hostmakedepends="gperf"
|
||||
makedepends="openssl-devel zlib-devel"
|
||||
short_desc="Cross-platform library for building Telegram clients"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="Komeil Parseh <komeilparseh@disroot.org>"
|
||||
license="BSL-1.0"
|
||||
homepage="https://core.telegram.org/tdlib"
|
||||
distfiles="https://github.com/tdlib/td/archive/v${version}.tar.gz"
|
||||
checksum=30d560205fe82fb811cd57a8fcbc7ac853a5b6195e9cb9e6ff142f5e2d8be217
|
||||
distfiles="https://github.com/tdlib/td/archive/${_td_hash}.tar.gz>libtd-${version}.tar.gz"
|
||||
checksum=9e1c088fbea876b8a6b85b8478abc2facd05e380874a55d7ea687213e4ca3110
|
||||
|
||||
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
||||
broken="Unsupported tl-schema version -1"
|
||||
|
|
Loading…
Add table
Reference in a new issue