# Contributor: Alexey Min 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" }