mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
40 lines
1.4 KiB
Bash
40 lines
1.4 KiB
Bash
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
|
|
|
|
# Trim Slice NVidia HardFP drivers, July 26th release
|
|
# Do not distribute these extensively or expect any support
|
|
|
|
buildarch=4
|
|
|
|
pkgname=('nvidia-trimslice')
|
|
pkgver=16.1.0
|
|
pkgrel=1
|
|
arch=(armv7h)
|
|
license=('GPL')
|
|
url="http://archlinuxarm.org"
|
|
source=('http://developer.download.nvidia.com/devzone/devcenter/tools/files/l4t/r16_Release_v1.0/ventana_release_armhf/ventana_Tegra-Linux-R16.1.0_armhf.tbz2'
|
|
'http://developer.download.nvidia.com/devzone/devcenter/tools/files/l4t/r16_Release_v1.0/ventana_release_armhf/ventana_Tegra-Linux-codecs-R16.1.0_armhf.tbz2'
|
|
'http://developer.download.nvidia.com/devzone/devcenter/tools/files/l4t/r16/ventana_Tegra-Linux-tegra_drv_abi13-R16.1.0_armhf.tbz2'
|
|
'xorg.conf')
|
|
md5sums=('7cf9f75fff8ddc41910fbe7676864fcf'
|
|
'6214f62fcd97db044a3e84152591deb6'
|
|
'b333cd1c5c998ce2e3b3098e81b3cba3'
|
|
'55e50a6894b95795732bdbc942e3e016')
|
|
|
|
options=('!distcc' '!ccache')
|
|
|
|
package() {
|
|
pkgdesc="Nvidia drivers for the TrimSlice"
|
|
|
|
cd ${srcdir}
|
|
tar xf restricted_codecs.tbz2
|
|
tar xf tegra_drv_abi_13.tbz2
|
|
tar xf Linux_for_Tegra/nv_tegra/nvidia_drivers.tbz2
|
|
mv lib/firmware usr/firmware
|
|
mv usr/lib/libjpeg.so usr/lib/nvlibjpeg.so
|
|
cd usr/lib/xorg/modules/drivers/
|
|
ln -s tegra_drv.abi13.so tegra_drv.so
|
|
cd ../../../../../
|
|
cp -a usr ${pkgdir}/
|
|
mkdir -p ${pkgdir}/etc/X11/
|
|
cp xorg.conf ${pkgdir}/etc/X11/
|
|
}
|