Skip to content
Snippets Groups Projects
Commit 5f050d3c authored by NeKit's avatar NeKit
Browse files

Enable libhybris to build for x86, but limit X driver to arm/arm64

parent 35642479
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ pkgrel=0
_commit=fbaf21e7cb343e0b7cd29f256ec28c46c01c07b8
pkgdesc="custom DRI3-based Xorg extension for use with libhybris"
url="https://github.com/NotKit/drihybris"
arch="all"
arch="armhf aarch64"
license="MIT"
subpackages="$pkgname-doc $pkgname-dev"
depends_dev="drihybrisproto"
......
......@@ -4,7 +4,7 @@ pkgrel=0
_commit=d15da5304b6b15bc12864041267880abb5565d0c
pkgdesc="glamor Xserver 2D acceleration modified to work with libhybris drivers"
url="https://github.com/NotKit/glamor-hybris"
arch="all"
arch="armhf aarch64"
license="MIT"
subpackages="$pkgname-doc $pkgname-dev"
depends=
......
pkgname=libhybris
pkgver=1.0_git20180212
pkgrel=2
arch="armhf aarch64"
arch="x86 armhf aarch64"
url="https://github.com/libhybris/libhybris"
license="Apache"
makedepends="autoconf automake libtool wayland-dev linux-headers bsd-compat-headers
......@@ -21,6 +21,9 @@ subpackages="$pkgname-dev $pkgname-egl $pkgname-gles $pkgname-libwayland-egl:_wa
if [ "$CARCH" == "aarch64" ]; then
subpackages="$pkgname-dev $pkgname-egl $pkgname-gles $pkgname-libwayland-egl:_wayland
$pkgname-7.1:_specific $pkgname-7.1-caf:_specific"
elif [ "$CARCH" == "x86" ]; then
subpackages="$pkgname-dev $pkgname-egl $pkgname-gles $pkgname-libwayland-egl:_wayland
$pkgname-7.1:_specific $pkgname-4.4:_specific"
fi
options="!check !strip !tracedeps"
......@@ -56,6 +59,10 @@ build() {
_vers="7.1 7.1-caf"
_ldpath="/usr/libexec/droid-hybris/system/lib64:/vendor/lib64:/system/lib64"
_arch="arm64"
elif [ "$CARCH" == "x86" ]; then
_vers="7.1 4.4"
_ldpath="/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib"
_arch="x86"
fi
for _headers_ver in $_vers; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment