Package Details: aasdk-git r90.a483733-1

Git Clone URL: https://aur.archlinux.org/aasdk-git.git (read-only, click to copy)
Package Base: aasdk-git
Description: Library to build AndroidAuto headunit
Upstream URL: https://github.com/f1xpl/aasdk
Licenses: GPL3
Conflicts: aasdk
Provides: aasdk
Submitter: parkerlreed
Maintainer: parkerlreed
Last Packager: parkerlreed
Votes: 1
Popularity: 0.000000
First Submitted: 2018-02-27 02:03 (UTC)
Last Updated: 2020-10-20 16:06 (UTC)

Required by (1)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3

urizen commented on 2019-03-08 02:20 (UTC)

Got it to build with theses changes to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 1e3f4bc..1e8c94e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,14 +11,23 @@ provides=($_pkgname)
 conflicts=($_pkgname)
 depends=('libusb' 'protobuf' 'openssl' 'boost-libs')
 makedepends=('cmake' 'boost' 'git')
-source=("$pkgname::git+https://github.com/f1xpl/aasdk.git#branch=master")
-md5sums=('SKIP')
+source=(
+  "$pkgname::git+https://github.com/f1xpl/aasdk.git#branch=master"
+  promise.patch
+  )
+md5sums=('SKIP'
+          'SKIP')

 pkgver() {
   cd $pkgname
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

+prepare() {
+  cd $pkgname
+  patch --forward --strip=1 --input="${srcdir}/promise.patch"
+}
+
 build() {
   cd $pkgname
   mkdir -p aasdk_build

And promise.patch :

diff --git a/include/f1x/aasdk/IO/Promise.hpp b/include/f1x/aasdk/IO/Promise.hpp
index 9f5e222..646b258 100644
--- a/include/f1x/aasdk/IO/Promise.hpp
+++ b/include/f1x/aasdk/IO/Promise.hpp
@@ -20,6 +20,7 @@

 #include <functional>
 #include <boost/asio.hpp>
+#include <boost/core/noncopyable.hpp>
 #include <f1x/aasdk/Error/Error.hpp>
 #include <f1x/aasdk/IO/IOContextWrapper.hpp>

I also commented on the issue upstream.

parkerlreed commented on 2019-02-06 16:15 (UTC)

Build errors out currently. Ticket submitted upstream.

parkerlreed commented on 2018-07-20 21:38 (UTC)

Done

parkerlreed commented on 2018-07-20 21:33 (UTC)

Yeah I just noticed a comment on git from the dev saying releases need to be on master (because stuff in dev can break). I'll update it now.

xnick commented on 2018-07-20 21:31 (UTC) (edited on 2018-07-20 21:31 (UTC) by xnick)

aasdk and openauto gits are set to checkout the development branch by default. I was unable to build openauto because of this. Maybe add a git checkout master before building these packages?

parkerlreed commented on 2018-07-18 11:57 (UTC) (edited on 2018-07-18 11:58 (UTC) by parkerlreed)

You are free to create RPi versions. I don't have the hardware to test and the build instructions change quite a bit. I felt the GitHub pages already had ARM covered. I wanted an easy way to test x86(_64) packages since that's the hardware I own.

xamindar commented on 2018-07-18 05:12 (UTC)

Why create this package and restrict it from armv7h when this is most likely to be used on a Raspberry Pi because it's a dependency of openauto? The mind boggles. Thanks for the attempt I guess?

parkerlreed commented on 2018-02-27 02:15 (UTC) (edited on 2018-03-10 05:55 (UTC) by parkerlreed)

EDIT: Unfucked both PKGBUILDs. Now they only copy the needed files and are a ton smaller after compiling.

aasdk (including the whole source folder) is copied into /opt/aasdk after building.

openauto build points to the /opt/aasdk in the cmake and also gets put in /opt/openauto

Shell script is placed at /usr/bin/autoapp which points to /opt/openauto/bin/autoapp