catalyst: update to 15.5.
This commit is contained in:
parent
ecb416b92c
commit
74684a8025
|
@ -1,10 +1,9 @@
|
|||
# Template file for 'catalyst'
|
||||
_desc="AMD catalyst driver for Linux"
|
||||
_distver="14.12"
|
||||
|
||||
pkgname=catalyst
|
||||
version=14.501.1003
|
||||
revision=8
|
||||
version=15.5
|
||||
revision=1
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="Propietary AMD license"
|
||||
homepage="http://www.amd.com"
|
||||
|
@ -17,12 +16,11 @@ conflicts="nvidia>=0 xserver-abi-video>19"
|
|||
short_desc="${_desc} - Utilities"
|
||||
repository="nonfree"
|
||||
create_wrksrc=yes
|
||||
build_wrksrc="fglrx-${version}"
|
||||
|
||||
XBPS_FETCH_CMD="wget --referer='http://support.amd.com/en-us/download/desktop?os=Linux+x86' "
|
||||
|
||||
distfiles="http://www2.ati.com/drivers/linux/amd-catalyst-omega-${_distver}-linux-run-installers.zip"
|
||||
checksum=68669836f20ad4351e08b13c5766c6b2ffc6b8cd2a37e9baf55779da32d3a249
|
||||
distfiles="http://www2.ati.com/drivers/linux/amd-catalyst-omega-${version}-linux-run-installers.zip"
|
||||
checksum=1113f344fd6235dca66c2c039f7ce544e61f9957039ab8398d714713699bca92
|
||||
|
||||
if [ "$XBPS_MACHINE" = "i686" ]; then
|
||||
_ARCHDIR="x86"
|
||||
|
@ -33,16 +31,16 @@ elif [ "$XBPS_MACHINE" = "x86_64" ]; then
|
|||
fi
|
||||
|
||||
do_build() {
|
||||
chmod 755 *.run
|
||||
./amd-driver-*.run --extract fglrx
|
||||
cd fglrx
|
||||
/bin/sh ./amd-catalyst-omega-${version}-linux-run-installers.run --extract fglrx-${version}
|
||||
cd fglrx-${version}
|
||||
|
||||
patch -Np1 -i ${FILESDIR}/fglrx_3.17rc6-no_hotplug.patch
|
||||
patch -Np1 -i ${FILESDIR}/lano1106_fglrx-13.8_proc.patch
|
||||
patch -Np1 -i ${FILESDIR}/kolasa-3.19-get_cpu_var.patch
|
||||
patch -Np1 -i ${FILESDIR}/kolasa_4.0-cr4-strn.patch
|
||||
}
|
||||
do_install() {
|
||||
cd fglrx
|
||||
cd fglrx-${version}
|
||||
|
||||
install -dm755 ${DESTDIR}/usr/bin
|
||||
install -dm755 ${DESTDIR}/usr/lib/{dri,xorg/modules/{drivers,extensions/fglrx,linux},systemd/system}
|
||||
|
@ -127,7 +125,7 @@ catalyst-dkms_package() {
|
|||
vmkdir usr/lib/modules-load.d
|
||||
vmkdir usr/src/${_fglrx}
|
||||
|
||||
cd ${wrksrc}/${build_wrksrc}/fglrx
|
||||
cd ${wrksrc}/fglrx-${version}
|
||||
cp -r common/lib/modules/fglrx/build_mod/* ${PKGDESTDIR}/usr/src/${_fglrx}
|
||||
|
||||
vinstall arch/${_ARCHDIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a 644 usr/src/${_fglrx}
|
||||
|
@ -146,7 +144,7 @@ catalyst-opencl_package() {
|
|||
short_desc="${_desc} - OpenCL implementation"
|
||||
depends="libOpenCL"
|
||||
pkg_install() {
|
||||
cd ${wrksrc}/${build_wrksrc}/fglrx/arch/${_ARCHDIR}
|
||||
cd ${wrksrc}/fglrx-${version}/arch/${_ARCHDIR}
|
||||
|
||||
vmkdir usr/lib
|
||||
vmkdir etc/OpenCL/vendors
|
||||
|
|
Loading…
Reference in New Issue