summaryrefslogblamecommitdiff
path: root/user/xf86-video-freedreno/APKBUILD
blob: 4eb0448e4192fff30335e9712a07f6c435d9b6c8 (plain) (tree)
1
2
3
4
5
6
7
8






                                                  
                                                 









                                                                                         










                                                                         



                  





                                                                                                                                                                                
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-video-freedreno
pkgver=1.4.0
pkgrel=0
pkgdesc="Libre Adreno video driver for X11"
url="https://www.X.Org/"
arch="aarch64 aarch64_be armel armeb armhf armv7"
license="X11 AND BSD-3-Clause"
depends=""
makedepends="eudev-dev libdrm-dev util-macros xorgproto-dev xorg-server-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-video-freedreno-$pkgver.tar.bz2
	api-23.patch
	secure-atom.patch
	"

build() {
	CFLAGS="$CFLAGS -Wno-error=deprecated-declarations" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="5bc7c35bd79e8ff90d8da5360413b03c497ba3dec9399c78fc85e8f1d2bf8955c27c6b225dfbbcdb73a16a4b539cfa131e309866e42289cb577d0e9bfc15b6ca  xf86-video-freedreno-1.4.0.tar.bz2
6e940ecb5b784b8e8854af47c0f01becf2a3453cc0d81b905612920d78ce8a89f99eac7b5e0c8d4755ec64755b482a6d4c1f369c96ee0c26e2402bd0b5c1f4d5  api-23.patch
5cac3b356339652d5447505ddb5851bdf492341d6f4e04cdda5372f1a74e47fcecfffc18af50bdf6ccaef9a894c6e5a208552add5f9dbe0bbb09805b7794448c  secure-atom.patch"