diff options
Diffstat (limited to 'user/xf86-video-freedreno/APKBUILD')
-rw-r--r-- | user/xf86-video-freedreno/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/user/xf86-video-freedreno/APKBUILD b/user/xf86-video-freedreno/APKBUILD new file mode 100644 index 000000000..d46d2b23a --- /dev/null +++ b/user/xf86-video-freedreno/APKBUILD @@ -0,0 +1,42 @@ +# 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="all" +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() { + cd "$builddir" + CFLAGS="$CFLAGS -Wno-error=deprecated-declarations" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="5bc7c35bd79e8ff90d8da5360413b03c497ba3dec9399c78fc85e8f1d2bf8955c27c6b225dfbbcdb73a16a4b539cfa131e309866e42289cb577d0e9bfc15b6ca xf86-video-freedreno-1.4.0.tar.bz2 +6e940ecb5b784b8e8854af47c0f01becf2a3453cc0d81b905612920d78ce8a89f99eac7b5e0c8d4755ec64755b482a6d4c1f369c96ee0c26e2402bd0b5c1f4d5 api-23.patch +5cac3b356339652d5447505ddb5851bdf492341d6f4e04cdda5372f1a74e47fcecfffc18af50bdf6ccaef9a894c6e5a208552add5f9dbe0bbb09805b7794448c secure-atom.patch" |