diff options
author | Linus Swälas <linus.swalas@borderless.se> | 2016-10-05 23:32:58 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-04 07:46:35 +0000 |
commit | b357c54ce57891ea311ac08a3d7ecbb4a30bee73 (patch) | |
tree | efa4af7eb1dd0ffcbf3023e904cab8fe6ad4cbf8 /main | |
parent | 0f259798d39acfb64b80786fbdeab6061bf3bc01 (diff) | |
download | aports-b357c54ce57891ea311ac08a3d7ecbb4a30bee73.tar.bz2 aports-b357c54ce57891ea311ac08a3d7ecbb4a30bee73.tar.xz |
main/x86-video-amdgpu: new aport
AMD Rx/HDxxxx video driver
http://xorg.freedesktop.org/
Diffstat (limited to 'main')
-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" |