Package Details: libquotient-git 0.7.1.r1158.f38f5e7-1

Git Clone URL: https://aur.archlinux.org/libquotient-git.git (read-only, click to copy)
Package Base: libquotient-git
Description: A Qt5 library to write cross-platform clients for Matrix
Upstream URL: https://github.com/quotient-im/libQuotient
Keywords: library matrix qt5 quotient
Licenses: LGPL2
Conflicts: libquotient
Provides: libquotient
Submitter: Scrumplex
Maintainer: None
Last Packager: obj_Obj
Votes: 4
Popularity: 0.000001
First Submitted: 2019-07-15 19:56 (UTC)
Last Updated: 2023-01-11 17:37 (UTC)

Required by (2)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

morguldir commented on 2019-10-20 00:15 (UTC) (edited on 2019-10-20 00:30 (UTC) by morguldir)

So it doesn't look like there are any plans to properly tag this thing, and i need to specify 0.6 for quaternion-git, so i wrote a new pkgver() function extracting the version out of CMakeFiles.txt. It should be pretty consistent.

pkgver() {
    cd "$pkgname"

    _info="$(git blame -s CMakeLists.txt | grep set\(API)"
    _commit="$(echo $_info | awk '{print $1}')"
    _ver="$(echo $_info | awk '{print $4}' | sed s/[^0-9.]//g)"
    _patch_ver="$(git blame -p CMakeLists.txt | grep project\(Quotient | sed s/[^0-9]//g)"
    _revisions="$(git rev-list --count $_commit..HEAD)"
    _current_commit="$(git log --pretty=format:'%h' -n 1)"
    printf "%s.%d.r%d.g%s" $_ver $_patch_ver $_revisions $_current_commit
}

Scrumplex commented on 2019-07-16 01:42 (UTC)

Thank you @Morguldir. Updated the package

morguldir commented on 2019-07-16 00:59 (UTC)

You should use -DBUILD_SHARED_LIBS=1 so that the package creates shared libraries instead.

Scrumplex commented on 2019-07-15 20:06 (UTC)

For some reason git thinks 0.5.0.1 is the latest tag. I guess this will get fixed by time.