diff options
Diffstat (limited to 'main/xf86-video-amdgpu')
-rw-r--r-- | main/xf86-video-amdgpu/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/xf86-video-amdgpu/APKBUILD b/main/xf86-video-amdgpu/APKBUILD new file mode 100644 index 0000000000..3cdab83fbf --- /dev/null +++ b/main/xf86-video-amdgpu/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Linus Swälas <linus.swalas@borderless.se> +pkgname=xf86-video-amdgpu +pkgver=1.1.2 +pkgrel=0 +pkgdesc="AMD Rx/HDxxxx video driver" +url="http://xorg.freedesktop.org/" +arch="all" +license="custom" +subpackages="$pkgname-doc" +depends="mesa-dri-ati" +makedepends="xorg-server-dev libxi-dev fontsproto randrproto + videoproto renderproto libdrm-dev xf86driproto glproto mesa-dev + xineramaproto eudev-dev pixman-dev + " + +source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$srcdir"/$pkgname-$pkgver + export LDFLAGS="$LDFLAGS -Wl,-z,lazy" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="02356ac7e840782edfd15ae81e508cec xf86-video-amdgpu-1.1.2.tar.bz2" +sha256sums="6ee87fed6d70d12353ca7ac02f8321a30d770626bf56f62f0e27970a33690779 xf86-video-amdgpu-1.1.2.tar.bz2" +sha512sums="c381120000ba7ec1651f01e77e4093ccb939eb0e8925ea76532d6204b1072f3240cef412136ac4cf2a67268dfa9fda9bb455fe29874a4fd4a3be07d9a04b17ba xf86-video-amdgpu-1.1.2.tar.bz2" |