Mail archive
alpine-aports

Re: [alpine-aports] Add support for newer AMD Radeon cards.

From: Timo Teras <timo.teras_at_iki.fi>
Date: Fri, 4 Nov 2016 09:49:51 +0200

On Wed, 5 Oct 2016 23:32:58 +0200
Linus Swälas <linus.swalas_at_borderless.se> wrote:

> ---
> main/xf86-video-amdgpu/APKBUILD | 46
> +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46
> insertions(+) create mode 100644 main/xf86-video-amdgpu/APKBUILD
>
> diff --git a/main/xf86-video-amdgpu/APKBUILD
> b/main/xf86-video-amdgpu/APKBUILD new file mode 100644
> index 0000000..92b3c48
> --- /dev/null
> +++ b/main/xf86-video-amdgpu/APKBUILD
> _at_@ -0,0 +1,46 @@
> +pkgname=xf86-video-amdgpu
> +pkgver=1.1.0
> +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
> + "
> +
> +prepare() {
> + cd "$srcdir"/$pkgname-$pkgver
> + for i in $source; do
> + case $i in
> + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return
> 1;;
> + esac
> + done
> +}

The prepare block is not needed any more. There's default
implementation that does this.

I took this, and the follow up upgrade commit.

Fixed up the maintainer line to contain name too:
+# Maintainer: linus.swalas_at_borderless.se

and committed.

Thanks.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Nov 04 2016 - 09:49:51 GMT