Hi, there!
Has anyone tried using Android driver under Arch Linux with libhybris right now? I've seen this site http://www.cnx-software.com/2013/04/21/ ... ubieboard/ (make sure to have a look at the amazing video!) and I would like to reproduce this on Arch Linux.
I (guess that I) have successfully compiled android for the Cubieboard following the instructions on the cnx website. I uploaded the resulting /system folder and the headers to save you days of downloading and hours of compiling. (The resulting folder (with output) uses about 32GiB, the source code only used I think about 10GiB.)
I put these three PKGBUILDs together, with which you can successfully compile libhybris. But the tests fail.
Anyone an idea?
Regards,
Maribu
$this->bbcode_second_pass_code('', '
pkgname=android-system-cubieboard
pkgver=4.2
pkgrel=1
pkgdesc="/system folder of the Cubieboard Android image"
arch=('armv7h')
url="cubieboard.org"
license=('custom')
provides=('android-system')
options=('!strip')
source=(system.tar.xz::http://ubuntuone.com/64JdjdWVq9F2E5p6gMQE1J)
md5sums=('0291a0fffc5a2c9365473662f891e05e')
build() {
echo "Using prebuild image."
echo "--> Nothing to build!"
}
package() {
cd "${srcdir}"
cp system "${pkgdir}/" -R
}
# vim:set ts=2 sw=2 et:
')
$this->bbcode_second_pass_code('', '
pkgname=android-headers-cubieboard
pkgver=4.2
pkgrel=1
pkgdesc="Android headers extracted using the tool in libhybris. Android from Cubieboard was used"
arch=('armv7h')
url="cubieboard.org"
license=('custom')
provides=('android-headers')
options=('!strip')
source=(headers.tar.xz::http://ubuntuone.com/6PwRhU0CN1MZFrBUNJFnHL)
md5sums=('9a385e3a173ba19436d8723ec5f38cca')
build() {
echo "Using prebuild headers."
echo "--> Nothing to build!"
}
package() {
cd "${srcdir}"
mkdir -p "${pkgdir}/opt"
cp headers "${pkgdir}/opt/android-headers" -R
}
# vim:set ts=2 sw=2 et:
')
$this->bbcode_second_pass_code('', '
pkgname=libhybris-git
_pkgname=libhybris
pkgver=366.065d49c
pkgrel=1
pkgdesc="Enlightenment window manager (formerly e17) - Development version"
arch=('armv7h')
url="https://github.com/libhybris/libhybris"
license=('Apache')
depends=('android-system')
makedepends=('android-headers')
provides=('libhybris')
conflicts=('libhybris')
source=("libhybris::git+https://github.com/libhybris/libhybris")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd "${srcdir}/${_pkgname}/hybris"
./autogen.sh \
--prefix=/opt/hybris \
--with-android-headers=/opt/android-headers
make
}
package() {
cd "${srcdir}/${_pkgname}/hybris"
mkdir -p "${pkgdir}/opt/hybris"
make DESTDIR="${pkgdir}" install
}
')