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:
parent
2d08cf8554
commit
3e883537f1
1 changed files with 26 additions and 0 deletions
26
hybris/hybris-base/APKBUILD
Normal file
26
hybris/hybris-base/APKBUILD
Normal 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"
|
||||||
|
}
|
Loading…
Reference in a new issue