2020-02-09 15:05:44 +00:00
|
|
|
# Maintainer: TheKit <nekit1000@gmail.com>
|
2018-10-02 05:09:28 +00:00
|
|
|
pkgname=glamor-hybris
|
2020-01-10 05:20:57 +00:00
|
|
|
pkgver=1.0_git20191007
|
2019-06-07 17:05:02 +00:00
|
|
|
pkgrel=0
|
2020-01-10 05:20:57 +00:00
|
|
|
_commit="28f342f937a5f9a606273b48dcede7eefbab4bab"
|
2018-10-02 05:09:28 +00:00
|
|
|
pkgdesc="glamor Xserver 2D acceleration modified to work with libhybris drivers"
|
|
|
|
url="https://github.com/NotKit/glamor-hybris"
|
2019-04-04 07:25:53 +00:00
|
|
|
arch="armhf armv7 aarch64"
|
2018-10-02 05:09:28 +00:00
|
|
|
license="MIT"
|
|
|
|
subpackages="$pkgname-doc $pkgname-dev"
|
|
|
|
makedepends="autoconf automake util-macros libtool
|
|
|
|
xorg-server-dev libxi-dev fontsproto randrproto
|
2020-01-10 05:20:57 +00:00
|
|
|
videoproto renderproto drihybris-dev libepoxy-dev
|
2018-10-02 05:09:28 +00:00
|
|
|
libhybris-dev"
|
|
|
|
|
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/NotKit/glamor-hybris/archive/$_commit.tar.gz"
|
2020-01-10 05:20:57 +00:00
|
|
|
options="!check" # no testsuite
|
2018-10-02 05:09:28 +00:00
|
|
|
|
|
|
|
builddir="$srcdir"/$pkgname-$_commit
|
|
|
|
|
|
|
|
build() {
|
|
|
|
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
|
|
|
|
export CPPFLAGS="$CPPFLAGS -I/usr/include/android-7.1"
|
|
|
|
|
|
|
|
./autogen.sh \
|
|
|
|
--build=$CBUILD \
|
|
|
|
--host=$CHOST \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-glamor-gles2
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
mv "$pkgdir/usr/include/xorg/glamor.h" "$pkgdir/usr/include/xorg/glamor-hybris.h"
|
|
|
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
|
|
}
|
2020-01-10 05:20:57 +00:00
|
|
|
sha512sums="49a323d40b56f15fe96a7371c864abc78669c7e58585d689c284127f1a01660504938e0dcf6e1199da4f6d382087232a00091d22efa5b12059867e45c301a584 glamor-hybris-28f342f937a5f9a606273b48dcede7eefbab4bab.tar.gz"
|