Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opengl-apple/files/, media-libs/opengl-apple/
Date: Thu, 13 Apr 2017 19:11:30
Message-Id: 1492110568.6d49f6fb91436d5bae3d3d22764161b71749ea0b.grobian@gentoo
1 commit: 6d49f6fb91436d5bae3d3d22764161b71749ea0b
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 13 19:09:28 2017 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 13 19:09:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d49f6fb
7
8 media-libs/opengl-apple: drop no longer relevant package
9
10 media-libs/opengl-apple/files/gl.pc | 11 -----
11 media-libs/opengl-apple/metadata.xml | 8 ----
12 media-libs/opengl-apple/opengl-apple-3.ebuild | 53 ----------------------
13 media-libs/opengl-apple/opengl-apple-4.ebuild | 64 ---------------------------
14 media-libs/opengl-apple/opengl-apple-5.ebuild | 58 ------------------------
15 5 files changed, 194 deletions(-)
16
17 diff --git a/media-libs/opengl-apple/files/gl.pc b/media-libs/opengl-apple/files/gl.pc
18 deleted file mode 100644
19 index 91921c1c443..00000000000
20 --- a/media-libs/opengl-apple/files/gl.pc
21 +++ /dev/null
22 @@ -1,11 +0,0 @@
23 -prefix=@GENTOO_PORTAGE_EPREFIX@/usr
24 -exec_prefix=${prefix}
25 -libdir=${prefix}/lib
26 -includedir=${prefix}/include
27 -
28 -Name: gl
29 -Description: Apple OpenGL library
30 -Version: 1.0.0
31 -# media-libs/opengl-apple provides symlinks to /.../X11/lib/libGL.?.?.dylib
32 -Libs: -L${libdir} -lGL
33 -Cflags: -I${includedir}
34
35 diff --git a/media-libs/opengl-apple/metadata.xml b/media-libs/opengl-apple/metadata.xml
36 deleted file mode 100644
37 index 7151af145b0..00000000000
38 --- a/media-libs/opengl-apple/metadata.xml
39 +++ /dev/null
40 @@ -1,8 +0,0 @@
41 -<?xml version="1.0" encoding="UTF-8"?>
42 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
43 -<pkgmetadata>
44 - <maintainer type="project">
45 - <email>prefix@g.o</email>
46 - <name>Gentoo Prefix</name>
47 - </maintainer>
48 -</pkgmetadata>
49
50 diff --git a/media-libs/opengl-apple/opengl-apple-3.ebuild b/media-libs/opengl-apple/opengl-apple-3.ebuild
51 deleted file mode 100644
52 index d52136f7449..00000000000
53 --- a/media-libs/opengl-apple/opengl-apple-3.ebuild
54 +++ /dev/null
55 @@ -1,53 +0,0 @@
56 -# Copyright 1999-2015 Gentoo Foundation
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI="3"
60 -
61 -DESCRIPTION="Links to Apple's OpenGL X11 implementation"
62 -HOMEPAGE="http://www.apple.com/"
63 -LICENSE="public-domain"
64 -KEYWORDS="-* ~ppc-macos ~x64-macos ~x86-macos"
65 -SLOT=0
66 -IUSE=""
67 -
68 -DEPEND=">=app-eselect/eselect-opengl-1.0.8-r1
69 - x11-proto/glproto"
70 -RDEPEND="${DEPEND}"
71 -
72 -X11_OPENGL_DIR="/usr/X11R6"
73 -
74 -pkg_setup() {
75 - [[ ! -d ${X11_OPENGL_DIR} ]] && \
76 - die "${X11_OPENGL_DIR} not found, do you have X11/Xquartz installed?"
77 -}
78 -
79 -src_install() {
80 - dodir /usr/lib/opengl/${PN}/{lib,include}
81 - dodir /usr/include/GL
82 -
83 - cd "${ED}"/usr/lib/opengl/${PN}/include || die
84 - ln -s "${X11_OPENGL_DIR}"/include/GL/gl.h || die
85 - ln -s "${X11_OPENGL_DIR}"/include/GL/glext.h || die
86 - ln -s "${X11_OPENGL_DIR}"/include/GL/glx.h || die
87 - ln -s "${X11_OPENGL_DIR}"/include/GL/glxext.h || die
88 - ln -s "${X11_OPENGL_DIR}"/include/GL/glxmd.h || die
89 - ln -s "${X11_OPENGL_DIR}"/include/GL/glxproto.h || die
90 - ln -s "${X11_OPENGL_DIR}"/include/GL/glxtokens.h || die
91 - cd "${ED}"/usr/lib/opengl/${PN}/lib || die
92 - ln -s "${X11_OPENGL_DIR}"/lib/libGL.dylib || die
93 -
94 - cd "${ED}"/usr/include/GL || die
95 - ln -s "${X11_OPENGL_DIR}"/include/GL/glu.h || die
96 - ln -s "${X11_OPENGL_DIR}"/include/GL/GLwDrawA.h || die
97 - ln -s "${X11_OPENGL_DIR}"/include/GL/osmesa.h || die
98 - cd "${ED}"/usr/lib || die
99 - ln -s "${X11_OPENGL_DIR}"/lib/libGLU.dylib || die
100 - ln -s "${X11_OPENGL_DIR}"/lib/libGLw.a || die
101 -}
102 -
103 -pkg_postinst() {
104 - # Set as default VM if none exists
105 - eselect opengl set --use-old ${PN}
106 -
107 - elog "Note: you're using your OSX (pre-)installed OpenGL X11 implementation from ${X11_OPENGL_DIR}"
108 -}
109
110 diff --git a/media-libs/opengl-apple/opengl-apple-4.ebuild b/media-libs/opengl-apple/opengl-apple-4.ebuild
111 deleted file mode 100644
112 index 474a776115b..00000000000
113 --- a/media-libs/opengl-apple/opengl-apple-4.ebuild
114 +++ /dev/null
115 @@ -1,64 +0,0 @@
116 -# Copyright 1999-2015 Gentoo Foundation
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI="3"
120 -
121 -inherit prefix
122 -
123 -DESCRIPTION="Links to Apple's OpenGL X11 implementation"
124 -HOMEPAGE="http://www.apple.com/"
125 -LICENSE="public-domain"
126 -KEYWORDS="-* ~ppc-macos ~x64-macos ~x86-macos"
127 -SLOT=0
128 -IUSE=""
129 -
130 -DEPEND=">=app-eselect/eselect-opengl-1.0.8-r1
131 - x11-proto/glproto"
132 -RDEPEND="${DEPEND}"
133 -
134 -X11_OPENGL_DIR="/usr/X11R6"
135 -
136 -pkg_setup() {
137 - [[ ! -d ${X11_OPENGL_DIR} ]] && \
138 - die "${X11_OPENGL_DIR} not found, do you have X11/Xquartz installed?"
139 -}
140 -
141 -src_prepare() {
142 - cp "${FILESDIR}"/gl.pc .
143 - eprefixify gl.pc
144 -}
145 -
146 -src_install() {
147 - dodir /usr/lib/opengl/${PN}/{lib,include}
148 - dodir /usr/include/GL
149 -
150 - cd "${ED}"/usr/lib/opengl/${PN}/include || die
151 - ln -s "${X11_OPENGL_DIR}"/include/GL/gl.h || die
152 - ln -s "${X11_OPENGL_DIR}"/include/GL/glext.h || die
153 - ln -s "${X11_OPENGL_DIR}"/include/GL/glx.h || die
154 - ln -s "${X11_OPENGL_DIR}"/include/GL/glxext.h || die
155 - ln -s "${X11_OPENGL_DIR}"/include/GL/glxmd.h || die
156 - ln -s "${X11_OPENGL_DIR}"/include/GL/glxproto.h || die
157 - ln -s "${X11_OPENGL_DIR}"/include/GL/glxtokens.h || die
158 - cd "${ED}"/usr/lib/opengl/${PN}/lib || die
159 - ln -s "${X11_OPENGL_DIR}"/lib/libGL.dylib || die
160 -
161 - cd "${ED}"/usr/include/GL || die
162 - ln -s "${X11_OPENGL_DIR}"/include/GL/glu.h || die
163 - ln -s "${X11_OPENGL_DIR}"/include/GL/GLwDrawA.h || die
164 - ln -s "${X11_OPENGL_DIR}"/include/GL/osmesa.h || die
165 - cd "${ED}"/usr/lib || die
166 - ln -s "${X11_OPENGL_DIR}"/lib/libGLU.dylib || die
167 - ln -s "${X11_OPENGL_DIR}"/lib/libGLw.a || die
168 -
169 - # bug #337965
170 - insinto /usr/lib/pkgconfig
171 - doins "${WORKDIR}"/gl.pc
172 -}
173 -
174 -pkg_postinst() {
175 - # Set as default VM if none exists
176 - eselect opengl set --use-old ${PN}
177 -
178 - elog "Note: you're using your OSX (pre-)installed OpenGL X11 implementation from ${X11_OPENGL_DIR}"
179 -}
180
181 diff --git a/media-libs/opengl-apple/opengl-apple-5.ebuild b/media-libs/opengl-apple/opengl-apple-5.ebuild
182 deleted file mode 100644
183 index a653f991707..00000000000
184 --- a/media-libs/opengl-apple/opengl-apple-5.ebuild
185 +++ /dev/null
186 @@ -1,58 +0,0 @@
187 -# Copyright 1999-2015 Gentoo Foundation
188 -# Distributed under the terms of the GNU General Public License v2
189 -
190 -EAPI="3"
191 -
192 -inherit prefix
193 -
194 -DESCRIPTION="Links to Apple's OpenGL X11 implementation"
195 -HOMEPAGE="http://www.apple.com/"
196 -LICENSE="public-domain"
197 -KEYWORDS="-* ~ppc-macos ~x64-macos ~x86-macos"
198 -SLOT=0
199 -IUSE=""
200 -
201 -DEPEND=">=app-eselect/eselect-opengl-1.0.8-r1
202 - x11-proto/glproto"
203 -RDEPEND="${DEPEND}"
204 -
205 -X11_OPENGL_DIR="/usr/X11R6"
206 -
207 -pkg_setup() {
208 - [[ ! -d ${X11_OPENGL_DIR} ]] && \
209 - die "${X11_OPENGL_DIR} not found, do you have X11/Xquartz installed?"
210 -}
211 -
212 -src_prepare() {
213 - cp "${FILESDIR}"/gl.pc .
214 - eprefixify gl.pc
215 -}
216 -
217 -src_install() {
218 - dodir /usr/lib/opengl/${PN}/{lib,include}
219 - dodir /usr/include/GL
220 -
221 - cd "${ED}"/usr/lib/opengl/${PN}/include || die
222 - ln -s "${X11_OPENGL_DIR}"/include/GL || die
223 - cd "${ED}"/usr/lib/opengl/${PN}/lib || die
224 - ln -s "${X11_OPENGL_DIR}"/lib/libGL.dylib || die
225 -
226 - cd "${ED}"/usr/include/GL || die
227 - ln -s "${X11_OPENGL_DIR}"/include/GL/glu.h || die
228 - ln -s "${X11_OPENGL_DIR}"/include/GL/GLwDrawA.h || die
229 - ln -s "${X11_OPENGL_DIR}"/include/GL/osmesa.h || die
230 - cd "${ED}"/usr/lib || die
231 - ln -s "${X11_OPENGL_DIR}"/lib/libGLU.dylib || die
232 - ln -s "${X11_OPENGL_DIR}"/lib/libGLw.a || die
233 -
234 - # bug #337965
235 - insinto /usr/lib/pkgconfig
236 - doins "${WORKDIR}"/gl.pc
237 -}
238 -
239 -pkg_postinst() {
240 - # Set as default VM if none exists
241 - eselect opengl set --use-old ${PN}
242 -
243 - elog "Note: you're using your OSX (pre-)installed OpenGL X11 implementation from ${X11_OPENGL_DIR}"
244 -}