diff options
author | freaj <freaj@riseup.net> | 2015-03-10 16:48:46 +0100 |
---|---|---|
committer | freaj <freaj@riseup.net> | 2015-03-10 16:48:46 +0100 |
commit | 18565999ceaaa7dcf03127da930fcd1f59c6e0f0 (patch) | |
tree | aa58118a9df11b95828a841a036725d11504b646 /pcr/openal-soft-tox | |
parent | 0a2b0c76389423c804b6f1aa9d2b4acb2aadc1b4 (diff) | |
download | abslibre-18565999ceaaa7dcf03127da930fcd1f59c6e0f0.tar.gz abslibre-18565999ceaaa7dcf03127da930fcd1f59c6e0f0.tar.bz2 abslibre-18565999ceaaa7dcf03127da930fcd1f59c6e0f0.zip |
openal-soft-tox: add new package to [pcr]
Diffstat (limited to 'pcr/openal-soft-tox')
-rw-r--r-- | pcr/openal-soft-tox/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pcr/openal-soft-tox/PKGBUILD b/pcr/openal-soft-tox/PKGBUILD new file mode 100644 index 000000000..c5feb3273 --- /dev/null +++ b/pcr/openal-soft-tox/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: <freaj> freaj@riseup.net +# Maintainer (Arch): GI_Jack <iamjacksemail@hackermail.com> +# Contributor (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor (Arch): Allan McRae <allan@archlinux.org> +# Contributor (Arch): Jason Chu <jchu@xentac.net> + +# It should be noted that the tox developers think this package might break other openal +# installs, use with caution +# adds echo cancelation and a few other tox specific features. +# Contact NikolaiToryzin on Freenode IRC for questions + +_pkgname=openal +pkgname=openal-soft-tox +pkgver=r3453.b80570b +pkgrel=2 +pkgdesc="A cross-platform 3D audio library(patched for tox.im)" +arch=(i686 x86_64) +url="https://github.com/irungentoo/openal-soft-tox" +license=(LGPL) +depends=(glibc) +conflicts=$_pkgname +provides=$_pkgname +makedepends=(alsa-lib pkgconfig cmake libpulse qt4 fluidsynth portaudio git) +optdepends=('qt4: alsoft-config GUI Configurator' + 'fluidsynth: MIDI rendering') +source=($_pkgname::git+https://github.com/irungentoo/openal-soft-tox.git) +md5sums=('SKIP') + +build() { + cd $_pkgname/build + cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .. + make +} +pkgver() { + cd $_pkgname + printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} +package() { + cd $_pkgname + make -C build DESTDIR="$pkgdir/" install + install -m644 -t "$pkgdir/usr/share/openal" env-vars.txt hrtf.txt +} |