Commit graph

8 commits

Author SHA1 Message Date
Asriel Dreemurr
f6e76368c1
hybris/libhybris: updated to the latest 08-05-2018 commit, fixed compilation (!424)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-06-07 23:52:18 +02:00
Alexey Min
fb784b6236
hybris/*: enable building for armv7 (!297)
[ci:skip-build]: simple arch change, building will probably take too
                 long
2019-04-06 00:29:55 +02:00
Luca Weiss
2f4da158d0
Always quote _commit (!207)
[skip ci]: too many aports changed
2019-02-11 22:03:58 +01:00
Luca Weiss
774046c85b Use _commit consistently, use _commit in sources instead of pkgver (!207) 2019-02-11 22:02:26 +01:00
NeKit
4c085ddf54
libhybris: replace 7.1-caf pkg with separate test_hwcomposer binary (!88)
As observed on UBPorts, hwcomposer implementation on Android 7 CAF (non-Nexus
Qualcomm) devices has slight differences in employed structs, which makes
them binary incompatible with AOSP headers.

Halium 7.1 android-headers extracted from LineageOS include those
modifications (e. g. https://github.com/Halium/android-headers/blob/halium-7.1/hardware/hwcomposer.h#L290),
so it is enough to add QTI_BSP/QCOM_BSP to defines of programs utilizing
those headers. In case of libhybris, only test_hwcomposer is affected so
far on 7.1 (might be not true for Android 5.1/6!).

This change avoids providing libhybris-7.1-caf package by building a
separate binary of test_hwcomposer for affected devices.
2018-12-04 07:16:25 +01:00
Robert Yang
467c240aee
hybris: Correct the musl runtime linker config file name for armhf 2018-11-27 07:47:11 +01:00
NotKit
d3c369bc43
Update libhybris and add more related packages 2018-11-27 07:47:11 +01:00
NotKit
c9b6e30e76 Package libhybris (#1402)
As discussed in #1039, I want to split feature/hybris branch into
smaller sensible pull requests.

This is the first one that simply adds android-headers and libhybris
packaging. libhybris allows apps compiled with glibc (musl in our case)
to load Android libraries that utilize bionic libc, which is used to
load proprietary userspace drivers.

The package isn't very useful on its own and requires core (non-UI/Java)
Android services to be running in some way - either in Halium-style LXC
container or in same root as main OS with modified init (Mer/Sailfish do
it this way). Both ways are tested to work in postmarketOS.

libhybris also includes some tests, not all of them are known to be
representative, but test_vibrator and test_egl_configs are usually good
indicators if system is set up correctly.
2018-04-10 21:13:42 +00:00