[arch-commits] Commit in xf86-video-amdgpu/repos (2 files)
Andreas Radke
andyrtr at archlinux.org
Fri Oct 11 17:39:13 UTC 2019
Date: Friday, October 11, 2019 @ 17:39:13
Author: andyrtr
Revision: 364639
archrelease: copy trunk to testing-x86_64
Added:
xf86-video-amdgpu/repos/testing-x86_64/
xf86-video-amdgpu/repos/testing-x86_64/PKGBUILD
(from rev 364638, xf86-video-amdgpu/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: xf86-video-amdgpu/repos/testing-x86_64/PKGBUILD (from rev 364638, xf86-video-amdgpu/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-10-11 17:39:13 UTC (rev 364639)
@@ -0,0 +1,45 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=xf86-video-amdgpu
+pkgver=19.1.0
+pkgrel=1
+pkgdesc="X.org amdgpu video driver"
+arch=('x86_64')
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('systemd-libs' 'mesa')
+makedepends=('xorg-server-devel' 'systemd' 'X-ABI-VIDEODRV_VERSION=24.0')
+conflicts=('xorg-server<1.20.0' 'X-ABI-VIDEODRV_VERSION<24' 'X-ABI-VIDEODRV_VERSION>=25')
+groups=('xorg-drivers')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig})
+sha512sums=('ccdaa2378492da1a2f3d18fedacd1318c4708da534a8a959276a82730d5420619d83ad1ec8d7835c55655fe56123cd9bffb44e6223c5a97033c01f598af4a173'
+ 'SKIP')
+validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # Michel Daenzer <michel at 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}/"
+}
More information about the arch-commits
mailing list