summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Fernyhough2021-04-25 00:06:47 +0100
committerJonathon Fernyhough2021-04-25 00:06:47 +0100
commit5a2b1d31e6fdd1ba8f327f5b62c34be2cb00003b (patch)
treea44cbe581e3e53a6e86c03556f84cc70c76b1d51
parent81ba50297ce46b11ac71be194e972ec334c94b63 (diff)
downloadaur-5a2b1d31e6fdd1ba8f327f5b62c34be2cb00003b.tar.gz
provides+=('libXNVCtrl.so')
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6299e24df6e..38fd1c8160c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = nvidia-390xx-settings
pkgdesc = Tool for configuring the NVIDIA graphics driver, 390xx legacy branch
pkgver = 390.143
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/NVIDIA/nvidia-settings
arch = x86_64
license = GPL2
makedepends = git
makedepends = inetutils
- makedepends = gtk2
makedepends = jansson
+ makedepends = gtk2
makedepends = gtk3
makedepends = libxv
makedepends = libvdpau
@@ -36,5 +36,6 @@ pkgname = libxnvctrl-390xx
pkgdesc = NVIDIA NV-CONTROL X extension, 390xx legacy branch
depends = libxext
provides = libxnvctrl
+ provides = libXNVCtrl.so
conflicts = libxnvctrl
diff --git a/PKGBUILD b/PKGBUILD
index e06ffa7459b..43b447a69cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,12 +5,12 @@
pkgbase=nvidia-390xx-settings
pkgname=('nvidia-390xx-settings' 'libxnvctrl-390xx')
pkgver=390.143
-pkgrel=1
+pkgrel=2
pkgdesc='Tool for configuring the NVIDIA graphics driver, 390xx legacy branch'
url='https://github.com/NVIDIA/nvidia-settings'
arch=('x86_64')
license=('GPL2')
-makedepends=('git' 'inetutils' 'gtk2' 'jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidia-390xx-utils' 'libxext')
+makedepends=('git' 'inetutils' 'jansson' 'gtk2' 'gtk3' 'libxv' 'libvdpau' 'nvidia-390xx-utils' 'libxext')
options=('staticlibs')
source=(nvidia-settings-${pkgver}.tar.gz::https://github.com/NVIDIA/nvidia-settings/archive/${pkgver}.tar.gz
libxnvctrl_so.patch
@@ -45,16 +45,16 @@ package_nvidia-390xx-settings() {
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"
+ sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -e 's/__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__/Settings;HardwareSettings;/' -i "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
rm "$pkgdir/usr/lib/libnvidia-gtk2.so.$pkgver"
}
package_libxnvctrl-390xx() {
depends=('libxext')
- conflicts=('libxnvctrl')
- provides=('libxnvctrl')
pkgdesc='NVIDIA NV-CONTROL X extension, 390xx legacy branch'
+ provides=('libxnvctrl' 'libXNVCtrl.so')
+ conflicts=('libxnvctrl')
cd nvidia-settings-${pkgver}
install -Dm 644 doc/{NV-CONTROL-API.txt,FRAMELOCK.txt} -t "${pkgdir}/usr/share/doc/${pkgname}"