mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-24 01:42:13 +08:00
[skip-ci] update nvidia-setting, remove 304xx
This commit is contained in:
parent
4c0f4d517a
commit
2e5dbd7f91
@ -1,36 +0,0 @@
|
|||||||
# maintainer: AlmAck <gluca86@gmail.com>
|
|
||||||
|
|
||||||
pkgname=nvidia-settings-304xx
|
|
||||||
_pkgbasename=nvidia-304xx
|
|
||||||
pkgver=304.135
|
|
||||||
pkgrel=1
|
|
||||||
arch=('x86_64')
|
|
||||||
pkgdesc="Gtk Graphical User Interface for nVidia"
|
|
||||||
depends=('gtk3' 'pangox-compat' $_pkgbasename=$pkgver)
|
|
||||||
optdepends=('gtk2: use gtk2 for interface')
|
|
||||||
url="http://www.nvidia.com/"
|
|
||||||
license=('custom')
|
|
||||||
options=('!strip')
|
|
||||||
source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run"
|
|
||||||
'nvidia-restore-settings.desktop')
|
|
||||||
md5sums=('8ee9bd0b020508bca9953181811422fa'
|
|
||||||
'9237516792da7b6df32f8c7e8a98f475')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${srcdir}"
|
|
||||||
sh "NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run" --extract-only
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "${srcdir}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
|
|
||||||
|
|
||||||
install -D -m755 nvidia-settings "${pkgdir}/usr/bin/nvidia-settings"
|
|
||||||
install -D -m644 nvidia-settings.1.gz "${pkgdir}/usr/share/man/man1/nvidia-settings.1.gz"
|
|
||||||
install -D -m644 nvidia-settings.desktop "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
|
|
||||||
install -D -m644 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"
|
|
||||||
|
|
||||||
# Install the autostart .desktop file, so that parameters saved through nvidia-settings
|
|
||||||
# are automatically reloaded at each login
|
|
||||||
install -D -m644 "${srcdir}/nvidia-restore-settings.desktop" "${pkgdir}/etc/xdg/autostart/nvidia-restore-settings.desktop"
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Exec=nvidia-settings --load-config-only
|
|
||||||
TryExec=/usr/bin/nvidia-settings
|
|
||||||
Name=Restore the video card and monitor parameters previously set in NVIDIA Settings
|
|
||||||
Name[it]=Ripristina i parametri di scheda video e monitor precedentemente salvati in NVIDIA Settings
|
|
||||||
Type=Service
|
|
||||||
X-DBUS-StartupType=none
|
|
||||||
X-KDE-autostart-phase=1
|
|
||||||
X-KDE-StartupNotify=false
|
|
@ -1,6 +1,6 @@
|
|||||||
pkgbase=nvidia-settings
|
pkgbase=nvidia-settings
|
||||||
pkgname=('nvidia-settings' 'libxnvctrl')
|
pkgname=('nvidia-settings' 'libxnvctrl')
|
||||||
pkgver=396.24
|
pkgver=410.57
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Tool for configuring the NVIDIA graphics driver"
|
pkgdesc="Tool for configuring the NVIDIA graphics driver"
|
||||||
url='https://github.com/NVIDIA/nvidia-settings'
|
url='https://github.com/NVIDIA/nvidia-settings'
|
||||||
@ -10,7 +10,7 @@ makedepends=('git' 'inetutils' 'gtk2' 'jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidi
|
|||||||
options=('staticlibs')
|
options=('staticlibs')
|
||||||
source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/NVIDIA/nvidia-settings/archive/${pkgver}.tar.gz
|
source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/NVIDIA/nvidia-settings/archive/${pkgver}.tar.gz
|
||||||
libxnvctrl_so.patch)
|
libxnvctrl_so.patch)
|
||||||
sha512sums=('41023fa355d8fe6322566e9337d7b51ab3446306b487a9293d400842be59493280cb33c51916a66212f37f8e18b27d5c33ac41b8d3958e32375462bbc26a4aec'
|
sha512sums=('0f01e75960956261d74396ef942a6c173b171256e26491117a369d7a990e6b7fd7d2433c226269c048dac1eab5bc76f408f6fdec56efe97ad3c2f895303f692c'
|
||||||
'f69f5dc84fe624579a3c9ce877f4ae4e34c2184877576afbea07b8abdd7ff01e470517f2b77cd11a904518cbcb83fb388ca1d08888006f0ef2854723920c9cf8')
|
'f69f5dc84fe624579a3c9ce877f4ae4e34c2184877576afbea07b8abdd7ff01e470517f2b77cd11a904518cbcb83fb388ca1d08888006f0ef2854723920c9cf8')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
Loading…
Reference in New Issue
Block a user