summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-02-17 14:06:51 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-02-17 14:06:51 +0000
commitb310133e90581bddd75f0ecee1655046ec312d94 (patch)
treee834f29aac93c0f29330c8106294ffcf7ca5c30b /app-admin/eselect-opencl
parentStable on alpha, bug #335892 (diff)
downloadhistorical-b310133e90581bddd75f0ecee1655046ec312d94.tar.gz
historical-b310133e90581bddd75f0ecee1655046ec312d94.tar.bz2
historical-b310133e90581bddd75f0ecee1655046ec312d94.zip
Revbump that properly links C++ header
Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64
Diffstat (limited to 'app-admin/eselect-opencl')
-rw-r--r--app-admin/eselect-opencl/ChangeLog8
-rw-r--r--app-admin/eselect-opencl/Manifest30
-rw-r--r--app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild58
3 files changed, 81 insertions, 15 deletions
diff --git a/app-admin/eselect-opencl/ChangeLog b/app-admin/eselect-opencl/ChangeLog
index 6c55125a16a0..3de2db919082 100644
--- a/app-admin/eselect-opencl/ChangeLog
+++ b/app-admin/eselect-opencl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/eselect-opencl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opencl/ChangeLog,v 1.1 2012/01/21 09:23:17 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opencl/ChangeLog,v 1.2 2012/02/17 14:06:51 xarthisius Exp $
+
+*eselect-opencl-1.1.0-r1 (17 Feb 2012)
+
+ 17 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org>
+ +eselect-opencl-1.1.0-r1.ebuild:
+ Revbump that properly links C++ header
*eselect-opencl-1.1.0 (21 Jan 2012)
diff --git a/app-admin/eselect-opencl/Manifest b/app-admin/eselect-opencl/Manifest
index cecd8f8a75dd..03bac4f9373d 100644
--- a/app-admin/eselect-opencl/Manifest
+++ b/app-admin/eselect-opencl/Manifest
@@ -7,25 +7,27 @@ DIST cl_ext.h.1.1.xz 2740 RMD160 f2debb481b3f3c94cbca5a50bb77fb571c9538dd SHA1 f
DIST cl_gl.h.1.1.xz 1856 RMD160 e92b5e843322c9e78f3fe72da43c1502109dc1f5 SHA1 3c4ad063ea5e4ee232b273cecbb85abf17dbf112 SHA256 eeddf3403c13776b3d13a25c9e47a01eee750c0120f74d402fad5d78b29f925a
DIST cl_gl_ext.h.1.1.xz 1356 RMD160 0ba4c5d6f3c1d119d7a8844abd43b83db987b565 SHA1 829ae549cdd0de3878626858fb041d5a424ebd96 SHA256 594e463e3a24e62870c5c1914b05e796aeda8892bf6830ee8db3f722993fdf02
DIST cl_platform.h.1.1.xz 5584 RMD160 034d4be552aa3ddb6cc45718c5aa7a195d7f3f59 SHA1 bdc027789de959d1aa33e70de8af90dd103780d3 SHA256 2f70eb47285fd46f75d48476e90ee3b7e9ba62166bc573bbb35cb0f9d7a2ea53
+DIST eselect-opencl-1.1.0-r1.tar.xz 3276 RMD160 fb4286c58d95c9b839e3a24ee23b454a131e58f0 SHA1 59ed09d2059a2f48ce840ff4ac97106a799d854b SHA256 86a2f5f152e543046899989b3a12a065dfc357a2276ce06d69d19bdbf175fdea
DIST eselect-opencl-1.1.0.tar.xz 3272 RMD160 e6538d2207823487288dabce18e1baf8bd59ddf3 SHA1 fef7bf2949fb9b9f9f73a8fd30fca2f063abeb51 SHA256 0b49d847d4475119f969fc7bbcdc4ceb1905e37e102b10d0bdad4f8e6010bbbe
DIST opencl.h.1.1.xz 944 RMD160 d9c8ee867a0068fbb05624d48d9e236d0f43acd3 SHA1 2b94aff101b7a3ee4261957b6d46edd6b81faf24 SHA256 c076e410eaffd9fbb056528f31a59fe1908481f0fd38981c13970727a0c4d096
+EBUILD eselect-opencl-1.1.0-r1.ebuild 1724 RMD160 3c3ce9d29bb2e1b4f7394ba9225e072550aa26bf SHA1 31a7bac3a3f82374aa39291f69ab24c45181d21a SHA256 4c474f807ff01b6c4a2d014f166c7b25d10fd3b057509e95e60e07c756d8aa3f
EBUILD eselect-opencl-1.1.0.ebuild 1718 RMD160 cd9f7a26f5267e27d8bc8cf63b3f3e708d80dcd6 SHA1 4706a847f5d676b9b568e949c5dcf3bc03212a7f SHA256 7ab090850033d5dac488dd3170800911a0267168a964e80b6980361c298f5741
-MISC ChangeLog 381 RMD160 afcf2e20d8bb94e9221fba050349c32365b62804 SHA1 494450d68f8a98db088d569fb8a7517639c4da5f SHA256 7144ea5a3bfdb6f90f5c12b7249c48e6d8a398cd35fb209f24b05380551bd696
+MISC ChangeLog 552 RMD160 28f5c3da7b45075171f6e5693a435c8f35f6829d SHA1 ae901e7fe21d4ffb7ced5de917a7421e166624ca SHA256 ec8cfc0f0da51df2cd0c63df47ee7efd1745e59724284bab96b2bb3a4b86e98f
MISC metadata.xml 346 RMD160 0c92ffb77efabdb583731ded733cc93c90b9185e SHA1 d9fc5f5cb3457c3c9fc9718809244e865309d3a8 SHA256 1ad263671e904451c1626471f26da723d969a084dd5d7b53cdcc450a12910a5f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCAAGBQJPGoQKAAoJEF0huFKJUZL5VnkP/iGZylcwFXNplSXHHS5haG3n
-2hkte8vciJxjsJolm4+Q4rtf4v5PyBOB2LuSkdAE56QW/kpYjNni2kDDCYFaVAUT
-clSa+2eMqfGxAOFAEL62JfIjcxVxIWfuCEMwvnTtXyQ9sKAzs02ZnGXgmoesHlBy
-y1jUb5x9davm0HFzyESEMwGhmYD5CB25xvq49XeS70RGGRk/tKlyhoEq+t6vW48W
-2R9QG2I9pOa/0n49UW2K9Cmgz1E9r/2KaxFdD/WW5fDNs85Z0T4ImoNXid+xcwRV
-zevnO67vZDvNt41u2uwNYOvh24EnjIqANrw6JleD9pW5RL1/0+4tXHl6JPb2P3jw
-FdcnVi9viNRSRZ3TfTLEs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+7gh
+=KEwU
-----END PGP SIGNATURE-----
diff --git a/app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild b/app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..7b7f4a71177f
--- /dev/null
+++ b/app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild,v 1.1 2012/02/17 14:06:51 xarthisius Exp $
+
+EAPI=4
+CL_ABI=1.1
+
+inherit multilib
+
+DESCRIPTION="Utility to change the OpenCL implementation being used"
+HOMEPAGE="http://www.gentoo.org/"
+
+# Source:
+# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h
+# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h
+# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h
+# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h
+# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h
+# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h
+# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp
+
+MIRROR="http://dev.gentoo.org/~xarthisius/distfiles/"
+SRC_URI="${MIRROR}/opencl.h.${CL_ABI}.xz
+ ${MIRROR}/cl_platform.h.${CL_ABI}.xz
+ ${MIRROR}/cl.h.${CL_ABI}.xz
+ ${MIRROR}/cl_ext.h.${CL_ABI}.xz
+ ${MIRROR}/cl_gl.h.${CL_ABI}.xz
+ ${MIRROR}/cl_gl_ext.h.${CL_ABI}.xz
+ ${MIRROR}/cl.hpp.${CL_ABI}.xz
+ ${MIRROR}/${P}-r1.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+RDEPEND=">=app-admin/eselect-1.2.4"
+
+pkg_postinst() {
+ local impl="$(eselect opencl show)"
+ if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
+ eselect opencl set "${impl}"
+ fi
+}
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins opencl.eselect
+ #doman opencl.eselect.5
+
+ local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp )
+ insinto /usr/$(get_libdir)/OpenCL/global/include/CL
+ cd "${WORKDIR}"
+ for f in ${headers[@]}; do
+ newins ${f}.${CL_ABI} ${f}
+ done
+}