mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 11:11:08 +02:00
* New ati-stream-sdk, taken from http://bugs.gentoo.org/show_bug.cgi?id=304903
This commit is contained in:
parent
7d905ef5b1
commit
5b04a9de43
2 changed files with 80 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
AUX 99atistream 75 RMD160 a244f9d5f863113e13ef146e14a87cf1a290036c SHA1 91fd22c4637020e78980db8ecb81e43ba48b6da6 SHA256 e3d92019faf7adca88e1657a38f0c068b8a7068830a66b2de870b96ffbc295a2
|
||||
AUX gcc-4.3-atistream.patch 30743 RMD160 467fb93385172685ff054f721f1863ce398e6167 SHA1 fe8a12cb2af2287359c5b6ce458e8c1dfb33c253 SHA256 612c742447e4281972bd111312e29a36592da6b5316a3c72b5f5b2cd74576882
|
||||
DIST ati-stream-sdk-v2.01-lnx64.tgz 62171129 RMD160 19e763d5aa0fe4795905c18c38aa0289d7215828 SHA1 1c34782307687c17e2f221185bd1dea3e93a9812 SHA256 588d2621ff9aae5a3a72a5c5f97c81b792c5969c56b3c9176722dc6a0a56baf2
|
||||
DIST atistream-1.4.0_beta-lnx32.tar.gzip 19977989 RMD160 8f0c7eb75b35bb7e75ba4ba031811a845188280e SHA1 5b6519e969b033142eca035963f36eb4e1642660 SHA256 3a93d88d80c6c7480978314f8358305308f607509619c8cc92db5df7d35a3939
|
||||
DIST atistream-1.4.0_beta-lnx64.tar.gzip 20987385 RMD160 c83bd09a10de5bd0c5b568081f3f8ca3c2cee8e8 SHA1 3942df0716781e1d5a5ec8a7e50c75931275ff8b SHA256 664e2152eb29072db92e3ae0f0eff82d45240f19117ab1cb2a75bd744bc3ac3c
|
||||
EBUILD ati-stream-sdk-bin-1.4.0_beta.ebuild 2338 RMD160 a36093e8623661f71dbb643d7234fe35d07b9946 SHA1 25bcf46ba304089d327c625460e638a6e9c80d0f SHA256 06a571e8459ee108245ac671d31cbaab774099f6cea7e8c1dc4d374fcda40135
|
||||
EBUILD ati-stream-sdk-bin-2.01.ebuild 1804 RMD160 b9bc5e10db6e8a4db2646679f1c8c1b09dbf7dda SHA1 c261fa050b4a3dd212bee483d58639d700698968 SHA256 695b07690834cf51999b71db46cdfb84705169897bdc109e51e04235077097fe
|
||||
|
|
|
|||
78
dev-util/ati-stream-sdk-bin/ati-stream-sdk-bin-2.01.ebuild
Normal file
78
dev-util/ati-stream-sdk-bin/ati-stream-sdk-bin-2.01.ebuild
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils
|
||||
if use amd64 ; then
|
||||
MY_P="${PN/-bin/}-v${PV}-lnx64"
|
||||
else
|
||||
MY_P="${PN/-bin/}-v${PV}-lnx32"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Enable compiling code and loading it on ATI/AMD GPU"
|
||||
HOMEPAGE="http://ati.amd.com/technology/streamcomputing/sdkdwnld.htm"
|
||||
BASE_URI="http://download2-developer.amd.com/amd/Stream20GA/${MY_P}"
|
||||
SRC_URI="amd64? ( ${BASE_URI}.tgz )
|
||||
x86? ( ${BASE_URI}.tgz )"
|
||||
|
||||
LICENSE="AMD GPL-1 as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="livecd examples doc"
|
||||
RESTRICT="strip fetch"
|
||||
RDEPEND=" !livecd? ( >=x11-drivers/ati-drivers-9.11 ) \
|
||||
examples? ( media-libs/glew )"
|
||||
|
||||
src_install() {
|
||||
local DEST=/opt/ati-stream-sdk
|
||||
insinto ${DEST}
|
||||
|
||||
cd ati-stream-sdk-v${PV}-lnx64 || die
|
||||
|
||||
# Install executables
|
||||
insopts -m0755
|
||||
doins -r bin
|
||||
|
||||
# Install libraries
|
||||
|
||||
doins -r lib
|
||||
|
||||
# There should be something like eselect opencl, to switch
|
||||
# between OpenCL implementations
|
||||
if use amd64; then
|
||||
dosym ${DEST}/lib/x86_64/libOpenCL.so /usr/lib64/
|
||||
dosym ${DEST}/lib/x86/libOpenCL.so /usr/lib32/
|
||||
else
|
||||
dosym ${DEST}/lib/x86/libOpenCL.so /usr/lib/
|
||||
fi
|
||||
|
||||
# Install includes
|
||||
# only selected header; not glew
|
||||
insinto ${DEST}/include
|
||||
insopts -m0644
|
||||
doins include/cal*.h
|
||||
doins -r include/CL
|
||||
doins -r include/GL
|
||||
|
||||
# Install examples & docs
|
||||
if use examples; then
|
||||
insinto ${DEST}
|
||||
doins -r samples
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
insinto ${DEST}
|
||||
doins -r docs
|
||||
fi
|
||||
|
||||
# install OpenCL installable client driver
|
||||
# What should we do with the absolute symlink?
|
||||
dodir /usr/lib/OpenCL/vendors
|
||||
|
||||
dosym ${DEST}/lib/x86/libatiocl32.so /usr/lib/OpenCL/vendors
|
||||
if use amd64; then
|
||||
dosym ${DEST}/lib/x86_64/libatiocl64.so /usr/lib/OpenCL/vendors
|
||||
fi
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue