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=2.3.13+r6207.20210425.0ddcf4eb
Submitter: popux
Maintainer: LevitatingRein (dreieck)
Last Packager: dreieck
Votes: 1
Popularity: 0.000000
First Submitted: 2015-04-19 19:31
Last Updated: 2021-04-30 13:12

Latest Comments

dreieck commented on 2021-04-29 16:49

Would it be possible to include Aruco tracking capabilities? Thank you!

dreieck commented on 2021-04-29 16:46

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

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

==> 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