aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcengique <cengique@users.sf.net>2017-03-26 06:02:43 -0400
committerJustin Lecher <jlec@gentoo.org>2017-03-26 11:02:43 +0100
commit662cee61a1be1ed6f247a17c0a402ac639447638 (patch)
tree6414b7df660446426a49bba22bbe510da6d71f2e /dev-util/amdapp
parentDrop empty comments (diff)
downloadsci-662cee61a1be1ed6f247a17c0a402ac639447638.tar.gz
sci-662cee61a1be1ed6f247a17c0a402ac639447638.tar.bz2
sci-662cee61a1be1ed6f247a17c0a402ac639447638.zip
dev-util/amdapp: Added release and manifest for new AMD download v3.0.130.136 (#605)
* dev-util/amdapp: Added release and manifest for new AMD download v3.0.130.136 Updated EAPI and copyright replace cp -r with doins selected media-libs/glew slot 0 as dep Package-Manager: portage-2.2.28 * removed ati-drivers dependendency and forwarded other style changes from 3.0-r1.ebuild Package-Manager: portage-2.2.28 * dev-util/amdapp: BUGFIX for doins installing files in wrong place. doins is only for single files, must use cp -r like the previous ebuild. Package-Manager: Portage-2.3.3, Repoman-2.3.1 * dev-util/amdapp: Changed back to undocumented doins -r, set the executable bits, and removed already-unpacked archive Package-Manager: Portage-2.3.3, Repoman-2.3.1 * dev-util/amdapp: Fixing several small issues asked by jlec and added :* slot to llvm asked by repoman Package-Manager: Portage-2.3.4, Repoman-2.3.1
Diffstat (limited to 'dev-util/amdapp')
-rw-r--r--dev-util/amdapp/Manifest2
-rw-r--r--dev-util/amdapp/amdapp-3.0-r2.ebuild89
2 files changed, 91 insertions, 0 deletions
diff --git a/dev-util/amdapp/Manifest b/dev-util/amdapp/Manifest
index 86cd92e8a..60a7fd05f 100644
--- a/dev-util/amdapp/Manifest
+++ b/dev-util/amdapp/Manifest
@@ -1,2 +1,4 @@
DIST AMD-APP-SDKInstaller-v3.0.130.135-GA-linux32.tar.bz2 175232929 SHA256 8e1ad82b4cd2fcf58649daf4e43574d9d5c654cd2e07fcbb4bae7cc6d2f3daf6 SHA512 8f62ec26bf6655e71948418113553f39bfcff8588a857cb8706c2538c4742ab0e95d3843e1084acd7a8d0e8b26593a140677316b8aa285aca454828e545402a6 WHIRLPOOL 54001052fa9e8903a21916ec6265c5882d7e0d69180d2041ddde6d9ce9412a4188f7bf39d67f51792505b9a4e75b9dada2c78fcdc5e3ecadf522a8b5bda68091
DIST AMD-APP-SDKInstaller-v3.0.130.135-GA-linux64.tar.bz2 175434609 SHA256 27a6145a73910d2320fd017159cf72f16601c375c2b304644c31566f45cc26a6 SHA512 c73ea4b4fa3f383e63755233d78203f1f5d387de1202875b40ed8e9a8b1e5a3bd6e9731244aac1086cdc1a764974ff95daca34261295a2746ddd478d0774460b WHIRLPOOL a11c878347e713b57343a7734acac505055154678cfb453cd1da84279f3e4100685d89151fb3be8ff16155f6459fa05fa9b12b5a634e28b86945023505fac810
+DIST AMD-APP-SDKInstaller-v3.0.130.136-GA-linux32.tar.bz2 195906870 SHA256 181fb9815e735c90ca5713acc27a6f9ed7f85135d2f2a085bed7b4c7ed157b94 SHA512 f3483a0db9afbf99b4ee07f26deaab589eb6ba20f9831564959121969c78690634929031dc2ba49147d2968ca084cd10848723d2b061ba80e5ec634a4adf1a68 WHIRLPOOL 09a3f4676829e5757647b58f7524b172abf35a3009b0b2a2fcff36397f5c68a7d9a9829b4fdfff9cc2176944239a262f07333f8408e49ff96a648d2fb22fb942
+DIST AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2 195996744 SHA256 0aa436acd334b686820bd3caab9f09014608741b92e3996d3642d0b148ede0f7 SHA512 573b60c7d2d2a46318e4490b9d14a991f317b3cc19be1b785f4f06e59925e801069329f5383b2249c227f64f0484194f44483edcc51443ed5870bc34134d2417 WHIRLPOOL ce649d422dc0f4fb283e12abd126262d726abde04c7fb1f99b639ddfe7dd8afcb88180858c0c4cbc97ce4e9d6f30401215a8356481e140b34aaebfc8834ff612
diff --git a/dev-util/amdapp/amdapp-3.0-r2.ebuild b/dev-util/amdapp/amdapp-3.0-r2.ebuild
new file mode 100644
index 000000000..bfa63a332
--- /dev/null
+++ b/dev-util/amdapp/amdapp-3.0-r2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib unpacker versionator
+
+MY_V="$(get_version_component_range 1).$(get_version_component_range 2).130.136-GA"
+
+X86_AT="AMD-APP-SDKInstaller-v${MY_V}-linux32.tar.bz2"
+AMD64_AT="AMD-APP-SDKInstaller-v${MY_V}-linux64.tar.bz2"
+
+MY_P_AMD64="AMD-APP-SDK-v${MY_V}-linux64.sh"
+MY_P_AMD32="AMD-APP-SDK-v${MY_V}-linux32.sh"
+
+DESCRIPTION="AMD Accelerated Parallel Processing (APP) SDK"
+HOMEPAGE="http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk"
+SRC_URI="
+ amd64? ( ${AMD64_AT} )
+ x86? ( ${X86_AT} )"
+LICENSE="AMD-APPSDK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+ !<dev-util/amdstream-2.6
+ app-eselect/eselect-opencl
+ app-eselect/eselect-opengl
+ media-libs/freeglut
+ media-libs/mesa[video_cards_radeonsi]
+ sys-devel/gcc:*
+ sys-devel/llvm:*
+ virtual/opencl
+ examples? ( media-libs/glew:0= )"
+DEPEND="
+ ${RDEPEND}
+ dev-util/patchelf
+ dev-lang/perl
+ sys-apps/fakeroot
+"
+
+RESTRICT="mirror strip"
+
+S="${WORKDIR}"
+
+OPT_DIR="/opt/AMDAPP"
+
+pkg_nofetch() {
+ einfo "AMD doesn't provide direct download links. Please download"
+ einfo "${ARCHIVE} from ${HOMEPAGE}"
+}
+
+src_unpack() {
+ default
+
+ cd "${WORKDIR}" || die
+
+ if use amd64 || use amd64-linux ; then
+ unpacker ./${MY_P_AMD64}
+ else
+ unpacker ./${MY_P_X86}
+ fi
+}
+
+src_compile() {
+ MAKEOPTS+=" -j1"
+ use examples && cd samples/opencl && default
+}
+
+src_install() {
+ # Copy everything
+ insinto $OPT_DIR
+ doins -r *
+
+ # Set executable bits
+ exeinto $OPT_DIR/bin/x86_64/
+ doexe bin/x86_64/clinfo
+
+ exeinto $OPT_DIR/bin/x86/
+ doexe bin/x86/clinfo
+
+ # Delete archive - already unpacked
+ if use amd64 || use amd64-linux ; then
+ rm "${D}/${OPT_DIR}/${MY_P_AMD64}" || die
+ else
+ rm "${D}/${OPT_DIR}/${MY_P_X86}" || die
+ fi
+}