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
This commit is contained in:
Alexey Min 2019-05-26 02:46:21 +03:00 committed by Oliver Smith
parent 2d08cf8554
commit 3e883537f1
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -0,0 +1,26 @@
# 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"
}