[arch-commits] Commit in nvidia-settings/repos/extra-x86_64 (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Jul 11 16:27:42 UTC 2020
Date: Saturday, July 11, 2020 @ 16:27:41
Author: svenstaro
Revision: 391648
archrelease: copy trunk to extra-x86_64
Added:
nvidia-settings/repos/extra-x86_64/PKGBUILD
(from rev 391647, nvidia-settings/trunk/PKGBUILD)
nvidia-settings/repos/extra-x86_64/libxnvctrl_so.patch
(from rev 391647, nvidia-settings/trunk/libxnvctrl_so.patch)
Deleted:
nvidia-settings/repos/extra-x86_64/PKGBUILD
nvidia-settings/repos/extra-x86_64/libxnvctrl_so.patch
---------------------+
PKGBUILD | 124 +++++++++++++++++++++++++-------------------------
libxnvctrl_so.patch | 72 ++++++++++++++---------------
2 files changed, 98 insertions(+), 98 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-11 16:27:33 UTC (rev 391647)
+++ PKGBUILD 2020-07-11 16:27:41 UTC (rev 391648)
@@ -1,62 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=nvidia-settings
-pkgname=('nvidia-settings' 'libxnvctrl')
-pkgver=450.51
-pkgrel=1
-pkgdesc='Tool for configuring the NVIDIA graphics driver'
-url='https://github.com/NVIDIA/nvidia-settings'
-arch=('x86_64')
-license=('GPL2')
-makedepends=('git' 'inetutils' 'gtk2' 'jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidia-utils' 'libxext')
-options=('staticlibs')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/NVIDIA/nvidia-settings/archive/${pkgver}.tar.gz
- libxnvctrl_so.patch)
-sha512sums=('f05e1ebf7161d14a55a81a8343e5bc0bc523cd01a93600ff5427310a5a5e22071221d7d82793dd103ace5c75aae840b8e39f5b4039f04bb07a5020e847c6f8e3'
- '91ff94736063b911c83b8876fe3e3778db82e0ffe0102036d81a3a6e872ca44a585914646fcbbbe399cd63aa17685fc7f73263ec4f4084f48768ca4d704037fa')
-
-prepare() {
- export PREFIX=/usr
- export NV_USE_BUNDLED_LIBJANSSON=0
- export OUTPUTDIR=out
- cd ${pkgbase}-${pkgver}
- patch -p0 < "${srcdir}/libxnvctrl_so.patch"
-}
-
-build() {
- cd ${pkgbase}-${pkgver}
- make
- make -C src/libXNVCtrl
-}
-
-package_nvidia-settings() {
- depends=('jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidia-utils' 'libxnvctrl')
-
- cd ${pkgbase}-${pkgver}
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 doc/nvidia-settings.desktop "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
- install -D -m644 doc/nvidia-settings.png "${pkgdir}/usr/share/pixmaps/nvidia-settings.png"
- sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
-
- rm "$pkgdir/usr/lib/libnvidia-gtk2.so.$pkgver"
-}
-
-package_libxnvctrl() {
- depends=('libxext')
- pkgdesc='NVIDIA NV-CONTROL X extension'
- provides=('libXNVCtrl.so')
-
- cd ${pkgbase}-${pkgver}
- install -Dm 644 doc/{NV-CONTROL-API.txt,FRAMELOCK.txt} -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 samples/{Makefile,README,*.c,*.h,*.mk} -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-
- cd src/libXNVCtrl
- install -Dm 644 ./*.h -t "${pkgdir}/usr/include/NVCtrl"
- install -d "${pkgdir}/usr/lib"
- cp -Pr out/libXNVCtrl.* -t "${pkgdir}/usr/lib"
-}
-
-# vim: ts=2 sw=2 et:
Copied: nvidia-settings/repos/extra-x86_64/PKGBUILD (from rev 391647, nvidia-settings/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-11 16:27:41 UTC (rev 391648)
@@ -0,0 +1,62 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=nvidia-settings
+pkgname=('nvidia-settings' 'libxnvctrl')
+pkgver=450.57
+pkgrel=1
+pkgdesc='Tool for configuring the NVIDIA graphics driver'
+url='https://github.com/NVIDIA/nvidia-settings'
+arch=('x86_64')
+license=('GPL2')
+makedepends=('git' 'inetutils' 'gtk2' 'jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidia-utils' 'libxext')
+options=('staticlibs')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/NVIDIA/nvidia-settings/archive/${pkgver}.tar.gz
+ libxnvctrl_so.patch)
+sha512sums=('c08a7d65d3f59b2de1f4619a4356e2ffcb54c58b22ad2861e20fc6af29ee31d756233d693789baf3c87829209638c4b07eddc98265d8b0c9dc8c5ef609b48591'
+ '91ff94736063b911c83b8876fe3e3778db82e0ffe0102036d81a3a6e872ca44a585914646fcbbbe399cd63aa17685fc7f73263ec4f4084f48768ca4d704037fa')
+
+prepare() {
+ export PREFIX=/usr
+ export NV_USE_BUNDLED_LIBJANSSON=0
+ export OUTPUTDIR=out
+ cd ${pkgbase}-${pkgver}
+ patch -p0 < "${srcdir}/libxnvctrl_so.patch"
+}
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ make
+ make -C src/libXNVCtrl
+}
+
+package_nvidia-settings() {
+ depends=('jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidia-utils' 'libxnvctrl')
+
+ cd ${pkgbase}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 doc/nvidia-settings.desktop "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
+ install -D -m644 doc/nvidia-settings.png "${pkgdir}/usr/share/pixmaps/nvidia-settings.png"
+ sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
+
+ rm "$pkgdir/usr/lib/libnvidia-gtk2.so.$pkgver"
+}
+
+package_libxnvctrl() {
+ depends=('libxext')
+ pkgdesc='NVIDIA NV-CONTROL X extension'
+ provides=('libXNVCtrl.so')
+
+ cd ${pkgbase}-${pkgver}
+ install -Dm 644 doc/{NV-CONTROL-API.txt,FRAMELOCK.txt} -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 samples/{Makefile,README,*.c,*.h,*.mk} -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+
+ cd src/libXNVCtrl
+ install -Dm 644 ./*.h -t "${pkgdir}/usr/include/NVCtrl"
+ install -d "${pkgdir}/usr/lib"
+ cp -Pr out/libXNVCtrl.* -t "${pkgdir}/usr/lib"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: libxnvctrl_so.patch
===================================================================
--- libxnvctrl_so.patch 2020-07-11 16:27:33 UTC (rev 391647)
+++ libxnvctrl_so.patch 2020-07-11 16:27:41 UTC (rev 391648)
@@ -1,36 +0,0 @@
---- src/libXNVCtrl/Makefile 2019-07-30 00:26:56.000000000 +0200
-+++ src/libXNVCtrl/Makefile 2019-08-02 14:08:56.963744238 +0200
-@@ -50,8 +50,8 @@
-
- .PHONY: clean
-
--all: $(LIBXNVCTRL)
-+all: $(LIBXNVCTRL) $(LIBXNVCTRL_SHARED)
-
- clean:
-- rm -rf $(LIBXNVCTRL) *~ \
-+ rm -rf $(LIBXNVCTRL) $(LIBXNVCTRL_SHARED)* *~ \
- $(OUTPUTDIR)/*.o $(OUTPUTDIR)/*.d
---- src/libXNVCtrl/xnvctrl.mk 2019-08-02 17:04:08.216230565 +0200
-+++ src/libXNVCtrl/xnvctrl.mk 2019-08-02 17:08:02.563660632 +0200
-@@ -39,6 +39,11 @@
-
- LIBXNVCTRL = $(OUTPUTDIR)/libXNVCtrl.a
-
-+LIBXNVCTRL_SHARED = $(OUTPUTDIR)/libXNVCtrl.so
-+LIBXNVCTRL_ABI_VERSION_MAJOR = 0
-+LIBXNVCTRL_ABI_VERSION_MINOR = 0
-+LIBXNVCTRL_LIBS += -lXext -lX11
-+
- LIBXNVCTRL_SRC = $(XNVCTRL_DIR)/NVCtrl.c
-
- LIBXNVCTRL_OBJ = $(call BUILD_OBJECT_LIST,$(LIBXNVCTRL_SRC))
-@@ -47,3 +52,8 @@
-
- $(LIBXNVCTRL) : $(LIBXNVCTRL_OBJ)
- $(call quiet_cmd,AR) ru $@ $(LIBXNVCTRL_OBJ)
-+
-+$(LIBXNVCTRL_SHARED) : $(LIBXNVCTRL_OBJ)
-+ $(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)
Copied: nvidia-settings/repos/extra-x86_64/libxnvctrl_so.patch (from rev 391647, nvidia-settings/trunk/libxnvctrl_so.patch)
===================================================================
--- libxnvctrl_so.patch (rev 0)
+++ libxnvctrl_so.patch 2020-07-11 16:27:41 UTC (rev 391648)
@@ -0,0 +1,36 @@
+--- src/libXNVCtrl/Makefile 2019-07-30 00:26:56.000000000 +0200
++++ src/libXNVCtrl/Makefile 2019-08-02 14:08:56.963744238 +0200
+@@ -50,8 +50,8 @@
+
+ .PHONY: clean
+
+-all: $(LIBXNVCTRL)
++all: $(LIBXNVCTRL) $(LIBXNVCTRL_SHARED)
+
+ clean:
+- rm -rf $(LIBXNVCTRL) *~ \
++ rm -rf $(LIBXNVCTRL) $(LIBXNVCTRL_SHARED)* *~ \
+ $(OUTPUTDIR)/*.o $(OUTPUTDIR)/*.d
+--- src/libXNVCtrl/xnvctrl.mk 2019-08-02 17:04:08.216230565 +0200
++++ src/libXNVCtrl/xnvctrl.mk 2019-08-02 17:08:02.563660632 +0200
+@@ -39,6 +39,11 @@
+
+ LIBXNVCTRL = $(OUTPUTDIR)/libXNVCtrl.a
+
++LIBXNVCTRL_SHARED = $(OUTPUTDIR)/libXNVCtrl.so
++LIBXNVCTRL_ABI_VERSION_MAJOR = 0
++LIBXNVCTRL_ABI_VERSION_MINOR = 0
++LIBXNVCTRL_LIBS += -lXext -lX11
++
+ LIBXNVCTRL_SRC = $(XNVCTRL_DIR)/NVCtrl.c
+
+ LIBXNVCTRL_OBJ = $(call BUILD_OBJECT_LIST,$(LIBXNVCTRL_SRC))
+@@ -47,3 +52,8 @@
+
+ $(LIBXNVCTRL) : $(LIBXNVCTRL_OBJ)
+ $(call quiet_cmd,AR) ru $@ $(LIBXNVCTRL_OBJ)
++
++$(LIBXNVCTRL_SHARED) : $(LIBXNVCTRL_OBJ)
++ $(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