Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-opencl/
Date: Sat, 12 May 2018 02:45:27
Message-Id: 1526093075.3bffbea83287179e5f7677a78ee8e09d0230ba21.mattst88@gentoo
1 commit: 3bffbea83287179e5f7677a78ee8e09d0230ba21
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 12 02:43:55 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat May 12 02:44:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bffbea8
7
8 app-eselect/eselect-opencl: Drop old versions
9
10 app-eselect/eselect-opencl/Manifest | 8 ---
11 .../eselect-opencl/eselect-opencl-1.1.0-r1.ebuild | 57 --------------------
12 .../eselect-opencl/eselect-opencl-1.1.0-r2.ebuild | 60 ----------------------
13 .../eselect-opencl/eselect-opencl-1.1.0-r3.ebuild | 60 ----------------------
14 4 files changed, 185 deletions(-)
15
16 diff --git a/app-eselect/eselect-opencl/Manifest b/app-eselect/eselect-opencl/Manifest
17 index 5710430d9a5..18e92fa2ba9 100644
18 --- a/app-eselect/eselect-opencl/Manifest
19 +++ b/app-eselect/eselect-opencl/Manifest
20 @@ -1,13 +1,5 @@
21 -DIST cl.h.1.1.xz 6940 BLAKE2B 497eaa6f647bc6804fc32b6dc4ad751c7322112a02993d7aa9c1d057693db8c45b6d0a12304dc0c2c21184dc2d9a453522d37ffc6580b3930e389fb972f058a2 SHA512 905d4707bba968f97fe6871ca85a04c1272a22753bc68334e0990c1f968796930aae69af1d5d601d2bd90c323d50224fa230402e0fa0d7f74c859c481ed969b2
22 -DIST cl.hpp.1.1.xz 14764 BLAKE2B aa5900896ac91d16b97e8eaea02f530818eaa3e8a0a470552964366d730b827b00397e0c70074f8adc02eb4be600aba6f2dc0d91d46924363bc775378b330be0 SHA512 13e2ef779daaeaa6748f34c533d621c896fbcd375947c6774fd18aefbb9b4d88bf5e012c678c0808bb2956599fa222f69d15f3cf0df707984408a969737ad687
23 -DIST cl_ext.h.1.1.xz 2740 BLAKE2B 5a67e855b15899d14ad6211d499cd01760315e1c0cd3a135a245cc3b6c576ae3e19d0bce907bd5dcdc751f279b48bd97cb1edf00dbfccfc87ad916dbe49d3bd6 SHA512 3571f44b167ad1f8faf634bb57c541b01345f335fd4756727a625f1288fad2f41e4826d745c8b8a570f4367881a272626f72b5155d0660d4f668a7cb65de9063
24 -DIST cl_gl.h.1.1.xz 1856 BLAKE2B 8ee927d80d2b74f4539a626725989e88a4433d04968faf9906990f2a39fe83327a4a6f14e9d72bdd4793e065d8d4482d095f2d982045d5c24d7dce25a69e0a5e SHA512 6821e0779d225aaadf5eb35de722be7d4c0a5ebff15e512510d565faf82daa53ef41cf32b0a62f966f7bfc32e95f6c5f21cfc4812ee1f792d5b57a14b70dcee4
25 -DIST cl_gl_ext.h.1.1.xz 1356 BLAKE2B 0c570f3530796e5c7b0afc7198bda0c64d6e4426f4b98ed7422e2f4a6bdac1b36b1a61909c00a2e13403baea356ff0bea123144ba56b86413c553f9198a26b9b SHA512 23fbc933e0beb2748152fa058d8ed413351fcfce167b9788c8a3529323b89e57eb1bf84d998fc262081410985f476bbf56fdd0bffe73f08135f5c90b7d09bb8d
26 -DIST cl_platform.h.1.1.xz 5584 BLAKE2B 37a8112447554000487cbf25d796d1597ce8408f8fb44622f868d355b4f1dd5b71dc8242a816961903013f52a9caf807cbeb2f502c32c0e631cb299da2aca577 SHA512 8265cd3b3630d367fe494a60911564e57169d03948827a0e2ca0669678b4a5b595b22ae2786a7c42c0b96fd6fbfb7d326c63759cfd1b7888b8cd35588b5f7544
27 DIST eselect-opencl-1.1.0-r1.tar.xz 3276 BLAKE2B d1475ebedbe29cbb0de054d170d7de62000445954006a46946fa58a7c75e9445fe6bc67c7da204a0e0364d6b3df043c42ab8bc29b2d50d4fe392f3c37d4e87f8 SHA512 b2be1e2035fda4e119f03e9ef84fbf1f09fc0bd5475d3fe30d2330dac76180930451d78dbb9e158c34dee9ce524076434254757b594e84dea96341e52ef13c14
28 DIST opencl-cpp-headers.tar 716800 BLAKE2B 591bf2e36c8940a6a73da028ac74df4f64737ebce4686b961e6cc13336547590e91c05e6e24c0aab9000d2ab90261885571f3bf85e1797110865532738565586 SHA512 b04c653f213b3cc99f0bbe3c589cf8b2f8f6144d61a85a284a60de92fd5148ff3d45204b4c6a08c205fc307300743bcf4654be2b8b18dd970b5d645ac2eec2f5
29 -DIST opencl-headers-1.2.tar.gz 122068 BLAKE2B 1b96141567fe7007c955add68f37615df3ed1bef9f889023ca7783796942c65bb9bb208989777069f5fe61141c7af03e78ae8733e38eb272165f8f66f5e43db4 SHA512 0780c96d47a7ad41f6b31d46d41be77651d27d5decd1a4248c452d8bf763b6fc3b76597352bd259778c5846c62c17f077ff8db5504da39844c8e6e07c7d9a264
30 -DIST opencl.h.1.1.xz 944 BLAKE2B 1e1517028642e60ed5947c9c7a7af408306350025caafa18c0faa5b9b83f3306c60542f121f1b84d0e36c2ad8765897e49de5acea5970874ec0ef4b4a57f568f SHA512 62b5ae61f2d9a44e9f8b6a7e3421cacfe5291bc9b5430845d469ea5a6404d71d3ab49d78c6da2588eab2bcd5f9b0d86c53f3aa74bd7c43c960ad86f0eab9595c
31 DIST opencl10.zip 21701 BLAKE2B 7b4e2fe1985e3e6374aa628ae34884b2d130bdd57c5e3af2d6849c32f72ef69b50471b3f8ecb6dc0e75ffc828a692cb84a8d99f0e8721dab8d2100f9380ce27e SHA512 ce3ad95d7314df4b55284d48c54fb7dfca0a218d0e36a732414b53dc7bdcc53199167b6810a3e3ebdd8abf91a4904acd471733b9130e3a38ec0b3e9ba918b691
32 DIST opencl11.zip 25496 BLAKE2B abd8aefddb31408e71e36b8610cde7b568debca99e99f310e5b30de73778a18520e52c535d52f63596edf80f7dcda4f9fc6f7c300b4c560f5d79a3b851dcf88a SHA512 c66664e940a51ceb951a78895df87a5dc3139e76b3f847af43c54400d37f243a390b94aab290d32044e19bdba63d0ee8af94955af9a83326c7ab353242496fcc
33 DIST opencl12.zip 33311 BLAKE2B 0f0c62856162ec1cfd42c1b53979079e0f8fd389fd2b3e05676e029705c29a65e3b84d6bc822aaedd9d15959bc07adfbd444aafb827f09f12b4dd625e868c902 SHA512 af7bb5865372a900a5b79086a54709abc99f6a3afe105adb6fdd276e30ef5c5be576421c206768e0b19e82f83e33727b6f246dfc71a0ee1d847e52d6db6130a8
34
35 diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild
36 deleted file mode 100644
37 index b903450b941..00000000000
38 --- a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild
39 +++ /dev/null
40 @@ -1,57 +0,0 @@
41 -# Copyright 1999-2015 Gentoo Foundation
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=4
45 -CL_ABI=1.1
46 -
47 -inherit multilib
48 -
49 -DESCRIPTION="Utility to change the OpenCL implementation being used"
50 -HOMEPAGE="https://www.gentoo.org/"
51 -
52 -# Source:
53 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h
54 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h
55 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h
56 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h
57 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h
58 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h
59 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp
60 -
61 -MIRROR="https://dev.gentoo.org/~xarthisius/distfiles/"
62 -SRC_URI="${MIRROR}/opencl.h.${CL_ABI}.xz
63 - ${MIRROR}/cl_platform.h.${CL_ABI}.xz
64 - ${MIRROR}/cl.h.${CL_ABI}.xz
65 - ${MIRROR}/cl_ext.h.${CL_ABI}.xz
66 - ${MIRROR}/cl_gl.h.${CL_ABI}.xz
67 - ${MIRROR}/cl_gl_ext.h.${CL_ABI}.xz
68 - ${MIRROR}/cl.hpp.${CL_ABI}.xz
69 - ${MIRROR}/${P}-r1.tar.xz"
70 -
71 -LICENSE="GPL-2"
72 -SLOT="0"
73 -KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd"
74 -IUSE=""
75 -
76 -DEPEND="app-arch/xz-utils"
77 -RDEPEND=">=app-admin/eselect-1.2.4"
78 -
79 -pkg_postinst() {
80 - local impl="$(eselect opencl show)"
81 - if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
82 - eselect opencl set "${impl}"
83 - fi
84 -}
85 -
86 -src_install() {
87 - insinto /usr/share/eselect/modules
88 - doins opencl.eselect
89 - #doman opencl.eselect.5
90 -
91 - local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp )
92 - insinto /usr/$(get_libdir)/OpenCL/global/include/CL
93 - cd "${WORKDIR}"
94 - for f in ${headers[@]}; do
95 - newins ${f}.${CL_ABI} ${f}
96 - done
97 -}
98
99 diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r2.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r2.ebuild
100 deleted file mode 100644
101 index 08eaec614bb..00000000000
102 --- a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r2.ebuild
103 +++ /dev/null
104 @@ -1,60 +0,0 @@
105 -# Copyright 1999-2015 Gentoo Foundation
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=4
109 -
110 -inherit multilib
111 -
112 -DESCRIPTION="Utility to change the OpenCL implementation being used"
113 -HOMEPAGE="https://www.gentoo.org/"
114 -
115 -# Source:
116 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h
117 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h
118 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h
119 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h
120 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h
121 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h
122 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp
123 -
124 -# Using copy by Mario Kicherer #496418
125 -
126 -#MIRROR="https://dev.gentoo.org/~xarthisius/distfiles/"
127 -SRC_URI="https://github.com/anyc/opencl-headers/archive/opencl-headers-1.2.tar.gz
128 - https://dev.gentoo.org/~xarthisius/distfiles/${P}-r1.tar.xz"
129 -
130 -LICENSE="GPL-2"
131 -SLOT="0"
132 -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
133 -IUSE=""
134 -
135 -DEPEND="app-arch/xz-utils"
136 -RDEPEND=">=app-admin/eselect-1.2.4"
137 -
138 -pkg_postinst() {
139 - local impl="$(eselect opencl show)"
140 - if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
141 - eselect opencl set "${impl}"
142 - fi
143 -}
144 -
145 -src_install() {
146 - insinto /usr/share/eselect/modules
147 - doins opencl.eselect
148 - #doman opencl.eselect.5
149 -
150 - local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp )
151 -
152 - # We install all versions of OpenCL headers
153 - cd "${WORKDIR}/opencl-headers-opencl-headers-1.2"
154 - for CL_ABI in 1.0 1.1 1.2; do
155 - mkdir -p "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}"
156 - for f in ${headers[@]}; do
157 - cp OpenCL-${CL_ABI}/${f} "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}"
158 - done
159 - done
160 - # Create symlinks to newest. Maybe this should be switchable?
161 - for f in ${headers[@]}; do
162 - dosym "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-1.2/${f}" "/usr/$(get_libdir)/OpenCL/global/include/CL/${f}"
163 - done
164 -}
165
166 diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r3.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r3.ebuild
167 deleted file mode 100644
168 index f4aaefe2d9e..00000000000
169 --- a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r3.ebuild
170 +++ /dev/null
171 @@ -1,60 +0,0 @@
172 -# Copyright 1999-2015 Gentoo Foundation
173 -# Distributed under the terms of the GNU General Public License v2
174 -
175 -EAPI=4
176 -
177 -inherit multilib
178 -
179 -DESCRIPTION="Utility to change the OpenCL implementation being used"
180 -HOMEPAGE="https://www.gentoo.org/"
181 -
182 -# Source:
183 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h
184 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h
185 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h
186 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h
187 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h
188 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h
189 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp
190 -
191 -# Using copy by Mario Kicherer #496418
192 -
193 -#MIRROR="https://dev.gentoo.org/~xarthisius/distfiles/"
194 -SRC_URI="https://github.com/anyc/opencl-headers/archive/opencl-headers-1.2.tar.gz
195 - https://dev.gentoo.org/~xarthisius/distfiles/${P}-r1.tar.xz"
196 -
197 -LICENSE="GPL-2"
198 -SLOT="0"
199 -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
200 -IUSE=""
201 -
202 -DEPEND="app-arch/xz-utils"
203 -RDEPEND=">=app-admin/eselect-1.2.4"
204 -
205 -pkg_postinst() {
206 - local impl="$(eselect opencl show)"
207 - if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
208 - eselect opencl set "${impl}"
209 - fi
210 -}
211 -
212 -src_install() {
213 - insinto /usr/share/eselect/modules
214 - doins opencl.eselect
215 - #doman opencl.eselect.5
216 -
217 - local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp )
218 -
219 - # We install all versions of OpenCL headers
220 - cd "${WORKDIR}/opencl-headers-opencl-headers-1.2"
221 - for CL_ABI in 1.0 1.1 1.2; do
222 - mkdir -p "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}"
223 - for f in ${headers[@]}; do
224 - cp OpenCL-${CL_ABI}/${f} "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}"
225 - done
226 - done
227 - # Create symlinks to newest. Maybe this should be switchable?
228 - for f in ${headers[@]}; do
229 - dosym "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-1.1/${f}" "/usr/$(get_libdir)/OpenCL/global/include/CL/${f}"
230 - done
231 -}