Package Details: libtd-git 1.8.0.r896.gaeed6c45d-1

Git Clone URL: https://aur.archlinux.org/libtd-git.git (read-only, click to copy)
Package Base: libtd-git
Description: TDLib (Telegram Database library) is a cross-platform library for building Telegram clients (Git)
Upstream URL: https://core.telegram.org/tdlib
Licenses: boost
Conflicts: libtd, telegram-tdlib
Provides: libtd
Submitter: TheGoliath
Maintainer: gustawho
Last Packager: gustawho
Votes: 1
Popularity: 0.000000
First Submitted: 2020-07-18 11:56 (UTC)
Last Updated: 2022-07-02 05:58 (UTC)

Dependencies (7)

Required by (1)

Sources (1)

Latest Comments

xiota commented on 2023-11-12 13:06 (UTC) (edited on 2023-11-12 13:47 (UTC) by xiota)

Should telegram-tdlib be added to provides to allow this to be used with packages that list the other one in depends?

Following pkgver() will produce strings like 1.8.21.r25.g6ee6428:

pkgver() {
  cd "${pkgname%-git}"
  local _regex='^\s*project.*TDLib\s+VERSION\s+([0-9]+\.[0-9]+\.[0-9]+)\s+.*$'
  local _file='CMakeLists.txt'
  local _line=$(grep -Esm1 "$_regex" "$_file")
  local _version=$(sed -E "s@$_regex@\1@" <<< "${_line:?}")
  local _lnum=$(grep -En "$_regex" "$_file" | cut -d':' -f1)
  local _commit=$(git blame -L ${_lnum:?},$_lnum -- "$_file" | awk '{print $1;}')
  local _revision=$(git rev-list --count ${_commit:?}..HEAD)
  local _hash=$(git rev-parse --short HEAD)

  printf "%s.r%s.g%s" "${_version:?}" "${_revision:?}" "${_hash::7}"
}

Archytino commented on 2021-12-19 16:56 (UTC) (edited on 2021-12-19 16:59 (UTC) by Archytino)

Please solve this issue

CXXFLAGS+=' -fpermissive'

Arndroid commented on 2021-02-04 21:13 (UTC)

Thanks for this!

ColonelThirtyTwo commented on 2020-09-30 19:26 (UTC)

PHP isn't needed unless you need to build the documentation, which this PKGBUILD does not do.