nvidia: install desktop file and icon
This commit is contained in:
parent
7645c8254a
commit
33e38f05cd
@ -37,3 +37,8 @@ drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/nvidia-settings.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/nvidia-xconfig.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/nvidia-settings.desktop
|
||||
drwxr-xr-x root/root usr/share/pixmaps/
|
||||
-rw-r--r-- root/root usr/share/pixmaps/nvidia-settings.png
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
name=nvidia
|
||||
version=260.19.29
|
||||
release=2
|
||||
release=3
|
||||
source=(http://us.download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$version.run \
|
||||
$name-makefile.patch)
|
||||
|
||||
@ -43,6 +43,12 @@ build() {
|
||||
install -m 0755 nvidia-{settings,xconfig} $PKG/usr/bin
|
||||
install -m 0644 nvidia-{settings,xconfig}.1.gz $PKG/usr/man/man1
|
||||
|
||||
# desktop file and icon
|
||||
install -d $PKG/usr/share/{applications,pixmaps}
|
||||
sed -i 's:__UTILS_PATH__:/usr/bin: ; s:__PIXMAP_PATH__:/usr/share/pixmaps:' nvidia-settings.desktop
|
||||
install -m 0644 nvidia-settings.desktop $PKG/usr/share/applications
|
||||
install -m 0644 nvidia-settings.png $PKG/usr/share/pixmaps
|
||||
|
||||
# additional symlinks required by gl-select
|
||||
ln -s libGL.so.$version $PKG/usr/lib/libGL_so_1_2_nvidia
|
||||
ln -s libglx.so.$version $PKG/usr/lib/xorg/modules/extensions/libglx_so_nvidia
|
||||
|
Loading…
x
Reference in New Issue
Block a user