pmaports/hybris/hybris-base/APKBUILD
Alexey Min 3e883537f1
hybris-base: new package (!351)
Meta package to install all needed packages to get libhybris hardware
adaptation working.

Has 2 subpackages (caf/generic), that device packages can depend on.

Arches are limited, because libhybris cannot be built for x86_64.

[ci:skip-build]: already built successfully in CI
2019-05-26 18:03:17 +02:00

26 lines
739 B
Text

# Contributor: Alexey Min <alexey.min@gmail.com>
pkgname=hybris-base
pkgver=1.0
pkgrel=0
pkgdesc="Meta package to use libhybris adaptation"
url="https://postmarketos.org"
license="GPL-3.0-or-later"
options="!check"
# libhybris cannot be built for arch x86_64
arch="x86 armhf armv7 aarch64"
depends="lxc-android libhybris libhybris-7.1 libhybris-egl libhybris-gles libhybris-libwayland-egl wayland-libs-client wayland-libs-server"
subpackages="$pkgname-x11-generic:x11_generic $pkgname-x11-caf:x11_caf"
package() {
mkdir -p "$pkgdir"
}
x11_generic() {
depends="xf86-video-hwcomposer xf86-video-hwcomposer-7.1"
mkdir -p "$subpkgdir"
}
x11_caf() {
depends="xf86-video-hwcomposer xf86-video-hwcomposer-7.1-caf"
mkdir -p "$subpkgdir"
}