Package Details: opentrack-git 1:2.3.13+r6207.20210425.0ddcf4eb-2

Git Clone URL: https://aur.archlinux.org/opentrack-git.git (read-only, click to copy)
Package Base: opentrack-git
Description: An application dedicated to tracking user's head movements and relaying the information to games and flight simulation software
Upstream URL: https://github.com/opentrack/opentrack/
Licenses: GPL3
Conflicts: opentrack
Provides: opentrack
Submitter: popux
Maintainer: Levitating (dreieck)
Last Packager: Levitating
Votes: 3
Popularity: 0.027249
First Submitted: 2015-04-19 19:31 (UTC)
Last Updated: 2024-12-22 19:15 (UTC)

Latest Comments

« First ‹ Previous 1 2

dreieck commented on 2021-04-29 16:46 (UTC) (edited on 2021-04-29 16:47 (UTC) by dreieck)

I suggest that you add to $pkgver (i.e. into pkgver()) some code to determine the upstream "official" version of the software, and then increment $epoch (i.e.
epoch=1)
and then change
provides=('opentrack') to
provides=("opentrack=${pkgver}").

There is software version present:

In "${srcdir}/opentrack":

git describe:
opentrack-2.2-end-of-alpha-4557-g0ddcf4eb

git describe --tags:
opentrack-2.3.13-1-g0ddcf4eb

pkgver() could look for example like:

pkgver() {
  cd "$srcdir/opentrack"
  _ver="$(git describe --tags | awk -F- '{print $2}')"
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --format=%cd --date=format:%Y%m%d)"
  _hash="$(git rev-parse --short HEAD)"
  if [ -z "${_ver}" ]; then
    error "Could not determine version."
    return 11
  else
    printf '%s' "${_ver}+r${_rev}.${_date}.${_hash}"
  fi
}

Thanks for your maintanence efforts! (or simpler, like just using "${_ver}" and "${_rev}".)

dreieck commented on 2021-04-18 20:44 (UTC) (edited on 2021-04-29 16:30 (UTC) by dreieck)

For me, build fails when I compile with wine support, but succeeds without.

In the PKGBUILD's build() function I had to change -DSDK_WINE=ON to

-DSDK_WINE=OFF

to achieve compilation without wine support.


EDIT 2021-04-29: Now it works with -DSDK_WINE=ON; there also has been another commit to upstream git repo, maybe that changed something.

caseyjp1 commented on 2018-04-07 23:39 (UTC)

==> Validating source files with sha256sums... XPSDK300.zip ... FAILED ==> ERROR: One or more files did not pass the validity check! :: Unable to build xplane-sdk-devel - makepkg exited with code: 1