summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Heinrich2019-02-03 22:00:41 +0100
committerJonas Heinrich2019-02-03 22:00:41 +0100
commitb09e230618107f87a2e848d3146b86d0c59366b3 (patch)
tree80322a33201bc758278b6f5642d8688b4a97e5fe
downloadaur-b09e230618107f87a2e848d3146b86d0c59366b3.tar.gz
first commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD33
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f7d8892ec6c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Sun Feb 3 21:00:05 UTC 2019
+pkgbase = avs-device-sdk
+ pkgdesc = A personal music streaming server that works.
+ pkgver = 1.11
+ pkgrel = 1
+ url = https://github.com/alexa/avs-device-sdk
+ arch = any
+ license = Apache
+ makedepends = portaudio
+ depends = portaudio
+ source = avs-device-sdk-1.11.tar.gz::https://github.com/alexa/avs-device-sdk/archive/v1.11.tar.gz
+ sha512sums = 8ddac6a258c8bc054e4eac3a65da1626294112c88da18e50d7359d980c380b392d0c81f5ac1f5faaceca7d19a72b408708a7f4d247246d5f6f24390b5236b1aa
+
+pkgname = avs-device-sdk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cce8cff3aa2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Jonas Heinrich <onny@project-insanity.org>
+# Contributor: Jonas Heinrich <onny@project-insanity.org>
+
+pkgname=avs-device-sdk
+pkgver=1.11
+pkgrel=1
+pkgdesc="A personal music streaming server that works."
+arch=('any')
+url="https://github.com/alexa/avs-device-sdk"
+license=('Apache')
+makedepends=('portaudio')
+depends=('portaudio')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alexa/avs-device-sdk/archive/v${pkgver}.tar.gz")
+sha512sums=('8ddac6a258c8bc054e4eac3a65da1626294112c88da18e50d7359d980c380b392d0c81f5ac1f5faaceca7d19a72b408708a7f4d247246d5f6f24390b5236b1aa')
+
+build() {
+ cd "${srcdir}"
+ mkdir -p build
+ cd build
+ cmake "../avs-device-sdk-${pkgver}" \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DSENSORY_KEY_WORD_DETECTOR=OFF \
+ -DGSTREAMER_MEDIA_PLAYER=ON \
+ -DPORTAUDIO=ON \
+ -DPORTAUDIO_LIB_PATH="/usr/lib/libportaudio.so" \
+ -DPORTAUDIO_INCLUDE_DIR="/usr/include"
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}