summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDet2015-06-22 01:29:14 +0300
committerDet2015-06-22 01:29:14 +0300
commitdf1a4229a473f1a3b51f720d5bfc8b5de4dce879 (patch)
treecaeb60fc9090e0095e16b98624e1beaae0d56758
parent85b5c12ba3ef770077cc045bdf1d5a3183732bf8 (diff)
downloadaur-df1a4229a473f1a3b51f720d5bfc8b5de4dce879.tar.gz
Re-do the accidentally removed 'Provides' loop
-rwxr-xr-xPKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c82b2169fef..f6605fcff67 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -112,13 +112,10 @@ package_xorg-server-git() {
depends=(libepoxy libxdmcp libxfont libpciaccess libdrm pixman libgcrypt libxau xorg-server-common-git xf86-input-evdev libxshmfence libgl)
# see src/xserver/hw/xfree86/common/xf86Module.h for ABI versions - we provide major numbers that drivers can depend on
# and /usr/lib/pkgconfig/xorg-server.pc in xorg-server-devel-git pkg
- _ABI_VIDEODRV="$(grep -Po "VIDEODRV_V.*\(\K[^)]*" xserver/hw/xfree86/common/xf86Module.h | sed "s/, /./")"
- _ABI_XINPUT="$(grep -Po "XINPUT_V.*\(\K[^)]*" xserver/hw/xfree86/common/xf86Module.h | sed "s/, /./")"
- _ABI_EXTENSION="$(grep -Po "EXTENSION_V.*\(\K[^)]*" xserver/hw/xfree86/common/xf86Module.h | sed "s/, /./")"
- provides=("X-ABI-VIDEODRV_VERSION=$_ABI_VIDEODRV"
- "X-ABI-XINPUT_VERSION=$_ABI_XINPUT"
- "X-ABI-EXTENSION_VERSION=$_ABI_EXTENSION"
- 'x-server' 'xorg-server')
+ for VAR in VIDEODRV XINPUT EXTENSION; do
+ provides+=("X-ABI-${VAR}_VERSION=$(grep -Po "${VAR}_V.*\(\K[^)]*" xserver/hw/xfree86/common/xf86Module.h |& sed 's/, /./')")
+ done
+ provides+=('x-server' 'xorg-server')
groups=('xorg')
conflicts=('nvidia-utils<=331.20' 'glamor-egl' 'xf86-video-modesetting' 'xorg-server')
replaces=('glamor-egl' 'xf86-video-modesetting')