Date: Friday, September 8, 2017 @ 11:14:43 Author: andyrtr Revision: 305056
archrelease: copy trunk to testing-i686, testing-x86_64 Added: xf86-video-amdgpu/repos/testing-i686/ xf86-video-amdgpu/repos/testing-i686/PKGBUILD (from rev 305055, xf86-video-amdgpu/trunk/PKGBUILD) xf86-video-amdgpu/repos/testing-x86_64/ xf86-video-amdgpu/repos/testing-x86_64/PKGBUILD (from rev 305055, xf86-video-amdgpu/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) Copied: xf86-video-amdgpu/repos/testing-i686/PKGBUILD (from rev 305055, xf86-video-amdgpu/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-09-08 11:14:43 UTC (rev 305056) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Laurent Carlier <lordhea...@gmail.com> + +pkgname=xf86-video-amdgpu +pkgver=1.4.0 +pkgrel=1 +pkgdesc="X.org amdgpu video driver" +arch=('i686' 'x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +depends=('libsystemd' 'mesa') +makedepends=('xorg-server-devel' 'systemd' 'X-ABI-VIDEODRV_VERSION=23') +conflicts=('xorg-server<1.19.0' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24') +groups=('xorg-drivers') +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}) +sha256sums=('f8cac4bf3dd795b93cc337e5c0c62618026f597890a10d996f09c73eb88ba67c' + 'SKIP') +validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # Michel Daenzer <mic...@daenzer.net> + +build() { + cd ${pkgname}-${pkgver} + + # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf + # With them, module fail to load with undefined symbol. + # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845 + export CFLAGS=${CFLAGS/-fno-plt} + export CXXFLAGS=${CXXFLAGS/-fno-plt} + export LDFLAGS=${LDFLAGS/,-z,now} + + ./configure --prefix=/usr \ + --enable-glamor + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + + make "DESTDIR=${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} Copied: xf86-video-amdgpu/repos/testing-x86_64/PKGBUILD (from rev 305055, xf86-video-amdgpu/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-09-08 11:14:43 UTC (rev 305056) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Laurent Carlier <lordhea...@gmail.com> + +pkgname=xf86-video-amdgpu +pkgver=1.4.0 +pkgrel=1 +pkgdesc="X.org amdgpu video driver" +arch=('i686' 'x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +depends=('libsystemd' 'mesa') +makedepends=('xorg-server-devel' 'systemd' 'X-ABI-VIDEODRV_VERSION=23') +conflicts=('xorg-server<1.19.0' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24') +groups=('xorg-drivers') +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}) +sha256sums=('f8cac4bf3dd795b93cc337e5c0c62618026f597890a10d996f09c73eb88ba67c' + 'SKIP') +validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # Michel Daenzer <mic...@daenzer.net> + +build() { + cd ${pkgname}-${pkgver} + + # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf + # With them, module fail to load with undefined symbol. + # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845 + export CFLAGS=${CFLAGS/-fno-plt} + export CXXFLAGS=${CXXFLAGS/-fno-plt} + export LDFLAGS=${LDFLAGS/,-z,now} + + ./configure --prefix=/usr \ + --enable-glamor + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + + make "DESTDIR=${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +}