mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
alarm/nvidia-trimslice l4t 16.3 inc ABI14
This commit is contained in:
parent
c3d9bd5e9c
commit
1b0f324585
1 changed files with 25 additions and 11 deletions
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
|
||||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# Maintainer: Dave Higham <pepedog@archlinuxarm.org>
|
||||
|
||||
# Trim Slice NVidia HardFP drivers, July 26th release
|
||||
# Do not distribute these extensively or expect any support
|
||||
|
@ -6,18 +7,18 @@
|
|||
buildarch=4
|
||||
|
||||
pkgname=('nvidia-trimslice')
|
||||
pkgver=16.1.0
|
||||
pkgver=16.3.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'
|
||||
source=('http://developer.nvidia.com/sites/default/files/akamai/mobile/files/L4T/ventana_Tegra-Linux-R16.3.0_armhf.tbz2'
|
||||
'http://developer.nvidia.com/sites/default/files/akamai/mobile/files/L4T/ventana_Tegra-Linux-codecs-R16.3.0_armhf.tbz2'
|
||||
'http://developer.nvidia.com/sites/default/files/akamai/mobile/files/L4T/ventana_Tegra-Linux-tegra_drv_abi14-R16.3.0_armhf.tbz2'
|
||||
'xorg.conf')
|
||||
md5sums=('7cf9f75fff8ddc41910fbe7676864fcf'
|
||||
'6214f62fcd97db044a3e84152591deb6'
|
||||
'b333cd1c5c998ce2e3b3098e81b3cba3'
|
||||
md5sums=('d7153fc89610b9bc7a7c8724e4cc4ef2'
|
||||
'029c467589c06c17f3a863d0e1a53325'
|
||||
'ebf0018ec16edb5d0d3f15d8fc042ac0'
|
||||
'55e50a6894b95795732bdbc942e3e016')
|
||||
|
||||
options=('!distcc' '!ccache')
|
||||
|
@ -27,14 +28,27 @@ package() {
|
|||
|
||||
cd ${srcdir}
|
||||
tar xf restricted_codecs.tbz2
|
||||
tar xf tegra_drv_abi_13.tbz2
|
||||
tar xf tegra_drv_abi_14.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
|
||||
# mv usr/lib/libjpeg.so usr/lib/nvlibjpeg.so
|
||||
|
||||
mkdir -p opt/nvidia/
|
||||
mv usr/lib/lib* opt/nvidia/
|
||||
|
||||
cd usr/lib/xorg/modules/drivers/
|
||||
ln -s tegra_drv.abi13.so tegra_drv.so
|
||||
ln -s tegra_drv.abi14.so tegra_drv.so
|
||||
cd ../../../../../
|
||||
cp -a usr ${pkgdir}/
|
||||
cp -a opt ${pkgdir}/
|
||||
mkdir -p ${pkgdir}/etc/X11/
|
||||
cp xorg.conf ${pkgdir}/etc/X11/
|
||||
|
||||
|
||||
|
||||
# Create lib links
|
||||
mkdir -p "${pkgdir}"/etc/ld.so.conf.d/
|
||||
|
||||
# ensure we can load libs
|
||||
echo "/opt/nvidia/" > "${pkgdir}"/etc/ld.so.conf.d/nvidia-trimslice.conf
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue