summaryrefslogtreecommitdiff
path: root/user/xf86-video-freedreno/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 03:48:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 03:48:39 +0000
commit2694701ad828f7857ba5cfdd9560a7976841d50d (patch)
treedb94bc8fcccfccaa86af3adecd9ab055215ff75f /user/xf86-video-freedreno/APKBUILD
parent7c5a1791a30d4a9621e28885559ee69ca6dbd79b (diff)
downloadpackages-2694701ad828f7857ba5cfdd9560a7976841d50d.tar.gz
packages-2694701ad828f7857ba5cfdd9560a7976841d50d.tar.bz2
packages-2694701ad828f7857ba5cfdd9560a7976841d50d.tar.xz
packages-2694701ad828f7857ba5cfdd9560a7976841d50d.zip
user/xf86-video-freedreno: new package
Diffstat (limited to 'user/xf86-video-freedreno/APKBUILD')
-rw-r--r--user/xf86-video-freedreno/APKBUILD42
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"