diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-02-28 15:55:12 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-02-28 15:55:12 (GMT) |
commit | fcf6cff65812de79b5adfcaff6bba9adfacb1762 (patch) | |
tree | 169556276971532a960e28214340fbc990578b44 /abs/extra/nvidia-settings/PKGBUILD | |
parent | e9a7c1058e0446cc75d1695480f2eaded1c7dea4 (diff) | |
download | linhes_pkgbuild-fcf6cff65812de79b5adfcaff6bba9adfacb1762.zip linhes_pkgbuild-fcf6cff65812de79b5adfcaff6bba9adfacb1762.tar.gz linhes_pkgbuild-fcf6cff65812de79b5adfcaff6bba9adfacb1762.tar.bz2 |
nvidia-settings: move to core
Diffstat (limited to 'abs/extra/nvidia-settings/PKGBUILD')
-rw-r--r-- | abs/extra/nvidia-settings/PKGBUILD | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/abs/extra/nvidia-settings/PKGBUILD b/abs/extra/nvidia-settings/PKGBUILD deleted file mode 100644 index 843ce14..0000000 --- a/abs/extra/nvidia-settings/PKGBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com> -# Maintainer: Felix Yan <felixonmars@archlinux.org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgbase=nvidia-settings -pkgname=('nvidia-settings' 'libxnvctrl') -pkgver=415.27 -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=('fdfba4612de72c6ada40191c76216d2fa1f2878b095d470852b1ca36b9ecf1d05e1a783e97ab9e5561932ed7b5753744b4915d544adba653da310ffac7147c59' - 'f69f5dc84fe624579a3c9ce877f4ae4e34c2184877576afbea07b8abdd7ff01e470517f2b77cd11a904518cbcb83fb388ca1d08888006f0ef2854723920c9cf8') - -prepare() { - export PREFIX=/usr - export NV_USE_BUNDLED_LIBJANSSON=0 - cd ${pkgbase}-${pkgver} - patch -p1 < "${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' - - 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 -Dm 644 libXNVCtrl.a -t "${pkgdir}/usr/lib" - install -Dm 755 libXNVCtrl.so.0.0.0 -t "${pkgdir}/usr/lib" - ln -s libXNVCtrl.so.0.0.0 "${pkgdir}/usr/lib/libXNVCtrl.so.0" - ln -s libXNVCtrl.so.0 "${pkgdir}/usr/lib/libXNVCtrl.so" -} - -# vim: ts=2 sw=2 et: |