[arch-commits] Commit in nvidia-settings/trunk (PKGBUILD libxnvctrl_so.patch)

Levente Polyak anthraxx at archlinux.org
Mon Aug 5 17:08:36 UTC 2019


    Date: Monday, August 5, 2019 @ 17:08:35
  Author: anthraxx
Revision: 359193

upgpkg: nvidia-settings 430.40-3 (fix symlink copying)

Modified:
  nvidia-settings/trunk/PKGBUILD
  nvidia-settings/trunk/libxnvctrl_so.patch

---------------------+
 PKGBUILD            |    7 ++++---
 libxnvctrl_so.patch |    2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-05 17:05:51 UTC (rev 359192)
+++ PKGBUILD	2019-08-05 17:08:35 UTC (rev 359193)
@@ -5,7 +5,7 @@
 pkgbase=nvidia-settings
 pkgname=('nvidia-settings' 'libxnvctrl')
 pkgver=430.40
-pkgrel=2
+pkgrel=3
 pkgdesc='Tool for configuring the NVIDIA graphics driver'
 url='https://github.com/NVIDIA/nvidia-settings'
 arch=('x86_64')
@@ -15,7 +15,7 @@
 source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/NVIDIA/nvidia-settings/archive/${pkgver}.tar.gz
         libxnvctrl_so.patch)
 sha512sums=('b45591e2acd0cf35ef96d416727c7fc9c79d02177546084e0e2c939a5f6ad4a3a3c11db45131c2e2ca43c72f13f83c03f03a502a75e07aefaba208c137938c04'
-            '51c2d1360ef13758b4196031ac3fcff3a3b328831f32929e26a6ab72e29ebaacc776d23e9f3cc0813160774f6c3ead37950280883c899df24ad0e368fc54e5bc')
+            '91ff94736063b911c83b8876fe3e3778db82e0ffe0102036d81a3a6e872ca44a585914646fcbbbe399cd63aa17685fc7f73263ec4f4084f48768ca4d704037fa')
 
 prepare() {
   export PREFIX=/usr
@@ -55,7 +55,8 @@
 
   cd src/libXNVCtrl
   install -Dm 644 ./*.h -t "${pkgdir}/usr/include/NVCtrl"
-  install -Dm 755 out/libXNVCtrl.* -t "${pkgdir}/usr/lib"
+  install -d "${pkgdir}/usr/lib"
+  cp -Pr out/libXNVCtrl.* -t "${pkgdir}/usr/lib"
 }
 
 # vim: ts=2 sw=2 et:

Modified: libxnvctrl_so.patch
===================================================================
--- libxnvctrl_so.patch	2019-08-05 17:05:51 UTC (rev 359192)
+++ libxnvctrl_so.patch	2019-08-05 17:08:35 UTC (rev 359193)
@@ -31,6 +31,6 @@
  	$(call quiet_cmd,AR) ru $@ $(LIBXNVCTRL_OBJ)
 +
 +$(LIBXNVCTRL_SHARED) : $(LIBXNVCTRL_OBJ)
-+	$(CC) -shared $(CFLAGS) $(LDFALGS) -Wl,-soname=$(notdir $@).${LIBXNVCTRL_ABI_VERSION_MAJOR} -o $@.$(LIBXNVCTRL_ABI_VERSION_MAJOR).$(LIBXNVCTRL_ABI_VERSION_MINOR).0 $^ $(LIBXNVCTRL_LIBS)
++	$(CC) -shared $(CFLAGS) $(LDFLAGS) -Wl,-soname=$(notdir $@).${LIBXNVCTRL_ABI_VERSION_MAJOR} -o $@.$(LIBXNVCTRL_ABI_VERSION_MAJOR).$(LIBXNVCTRL_ABI_VERSION_MINOR).0 $^ $(LIBXNVCTRL_LIBS)
 +	ln -s $(notdir $@).$(LIBXNVCTRL_ABI_VERSION_MAJOR).$(LIBXNVCTRL_ABI_VERSION_MINOR).0 $@
 +	ln -s $(notdir $@).$(LIBXNVCTRL_ABI_VERSION_MAJOR).$(LIBXNVCTRL_ABI_VERSION_MINOR).0 $@.$(LIBXNVCTRL_ABI_VERSION_MAJOR)


More information about the arch-commits mailing list