2013-04-27 18:28:47 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# Maintainer: Dave Higham <pepedog@archlinuxarm.org>
|
2011-07-27 20:55:55 +00:00
|
|
|
|
|
|
|
# Trim Slice NVidia HardFP drivers, July 26th release
|
|
|
|
# Do not distribute these extensively or expect any support
|
|
|
|
|
2012-07-19 12:36:54 +00:00
|
|
|
buildarch=4
|
2011-07-27 20:55:55 +00:00
|
|
|
|
|
|
|
pkgname=('nvidia-trimslice')
|
2013-04-27 18:28:47 +00:00
|
|
|
pkgver=16.3.0
|
2012-07-19 12:36:54 +00:00
|
|
|
pkgrel=1
|
2011-07-27 20:55:55 +00:00
|
|
|
arch=(armv7h)
|
|
|
|
license=('GPL')
|
|
|
|
url="http://archlinuxarm.org"
|
2013-04-27 18:28:47 +00:00
|
|
|
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'
|
2012-07-19 12:36:54 +00:00
|
|
|
'xorg.conf')
|
2013-04-27 18:28:47 +00:00
|
|
|
md5sums=('d7153fc89610b9bc7a7c8724e4cc4ef2'
|
|
|
|
'029c467589c06c17f3a863d0e1a53325'
|
|
|
|
'ebf0018ec16edb5d0d3f15d8fc042ac0'
|
2012-10-16 22:19:44 +00:00
|
|
|
'55e50a6894b95795732bdbc942e3e016')
|
|
|
|
|
2011-07-27 20:55:55 +00:00
|
|
|
options=('!distcc' '!ccache')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
pkgdesc="Nvidia drivers for the TrimSlice"
|
|
|
|
|
|
|
|
cd ${srcdir}
|
2012-10-16 22:19:44 +00:00
|
|
|
tar xf restricted_codecs.tbz2
|
2013-04-27 18:28:47 +00:00
|
|
|
tar xf tegra_drv_abi_14.tbz2
|
2012-10-16 22:19:44 +00:00
|
|
|
tar xf Linux_for_Tegra/nv_tegra/nvidia_drivers.tbz2
|
|
|
|
mv lib/firmware usr/firmware
|
2013-04-27 18:28:47 +00:00
|
|
|
# mv usr/lib/libjpeg.so usr/lib/nvlibjpeg.so
|
|
|
|
|
|
|
|
mkdir -p opt/nvidia/
|
|
|
|
mv usr/lib/lib* opt/nvidia/
|
|
|
|
|
2012-10-16 22:19:44 +00:00
|
|
|
cd usr/lib/xorg/modules/drivers/
|
2013-04-27 18:28:47 +00:00
|
|
|
ln -s tegra_drv.abi14.so tegra_drv.so
|
2012-10-16 22:19:44 +00:00
|
|
|
cd ../../../../../
|
|
|
|
cp -a usr ${pkgdir}/
|
2013-04-27 18:28:47 +00:00
|
|
|
cp -a opt ${pkgdir}/
|
2011-07-28 02:29:20 +00:00
|
|
|
mkdir -p ${pkgdir}/etc/X11/
|
|
|
|
cp xorg.conf ${pkgdir}/etc/X11/
|
2013-04-27 18:28:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
2011-07-27 20:55:55 +00:00
|
|
|
}
|