pmaports/hybris/glamor-hybris/APKBUILD
Minecrell a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00

38 lines
1.3 KiB
Text

# Maintainer: TheKit <nekit1000@gmail.com>
pkgname=glamor-hybris
pkgver=1.0_git20191007
pkgrel=0
_commit="28f342f937a5f9a606273b48dcede7eefbab4bab"
pkgdesc="glamor Xserver 2D acceleration modified to work with libhybris drivers"
url="https://github.com/NotKit/glamor-hybris"
arch="armhf armv7 aarch64"
license="MIT"
subpackages="$pkgname-doc $pkgname-dev"
makedepends="autoconf automake util-macros libtool
xorg-server-dev libxi-dev fontsproto randrproto
videoproto renderproto drihybris-dev libepoxy-dev
libhybris-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/NotKit/glamor-hybris/archive/$_commit.tar.gz"
options="!check" # no testsuite
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
}
sha512sums="49a323d40b56f15fe96a7371c864abc78669c7e58585d689c284127f1a01660504938e0dcf6e1199da4f6d382087232a00091d22efa5b12059867e45c301a584 glamor-hybris-28f342f937a5f9a606273b48dcede7eefbab4bab.tar.gz"