Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/efl/
Date: Wed, 05 Dec 2018 08:40:23
Message-Id: 1543998971.0d1a69371d4dc583a4624db6cddfdff14785cff9.mgorny@gentoo
1 commit: 0d1a69371d4dc583a4624db6cddfdff14785cff9
2 Author: Joonas Niilola <juippis <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 5 07:35:19 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 5 08:36:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1a6937
7
8 dev-libs/efl: remove old 1.21.1
9
10 Package-Manager: Portage[mgorny]-2.3.51.1
11 Signed-off-by: Joonas Niilola <juippis <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/10421
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 dev-libs/efl/efl-1.21.1.ebuild | 275 -----------------------------------------
16 1 file changed, 275 deletions(-)
17
18 diff --git a/dev-libs/efl/efl-1.21.1.ebuild b/dev-libs/efl/efl-1.21.1.ebuild
19 deleted file mode 100644
20 index 6b379d49ee2..00000000000
21 --- a/dev-libs/efl/efl-1.21.1.ebuild
22 +++ /dev/null
23 @@ -1,275 +0,0 @@
24 -# Copyright 1999-2018 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=6
28 -
29 -inherit gnome2-utils pax-utils xdg-utils
30 -
31 -DESCRIPTION="Enlightenment Foundation Libraries all-in-one package"
32 -HOMEPAGE="https://www.enlightenment.org"
33 -SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz"
34 -
35 -LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB"
36 -SLOT="0"
37 -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
38 -IUSE="avahi +bmp dds connman debug drm +eet egl examples fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz hyphen +ico ibus jpeg2k libressl libuv luajit neon nls opengl ssl pdf physics postscript +ppm +psd pulseaudio raw scim sdl sound static-libs svg +system-lz4 systemd tga tiff tslib unwind v4l valgrind vlc vnc wayland webp X xcf xim xine xpresent xpm"
39 -
40 -REQUIRED_USE="
41 - ?? ( opengl egl )
42 - ?? ( opengl gles )
43 - fbcon? ( !tslib )
44 - gles? (
45 - || ( X wayland )
46 - !sdl
47 - egl
48 - )
49 - ibus? ( glib )
50 - opengl? ( X )
51 - pulseaudio? ( sound )
52 - sdl? ( opengl )
53 - vnc? ( X fbcon )
54 - wayland? ( egl gles !opengl )
55 - xim? ( X )
56 - xpresent? ( X )
57 -"
58 -
59 -RDEPEND="
60 - net-misc/curl
61 - media-libs/libpng:0=
62 - sys-apps/dbus
63 - sys-apps/util-linux
64 - sys-libs/zlib:=
65 - virtual/jpeg:0=
66 - avahi? ( net-dns/avahi )
67 - connman? ( net-misc/connman )
68 - drm? (
69 - dev-libs/libinput
70 - media-libs/mesa[gbm]
71 - x11-libs/libdrm
72 - x11-libs/libxkbcommon
73 - )
74 - egl? ( media-libs/mesa[egl] )
75 - fontconfig? ( media-libs/fontconfig )
76 - fribidi? ( dev-libs/fribidi )
77 - gif? ( media-libs/giflib:= )
78 - glib? ( dev-libs/glib:2 )
79 - gles? ( media-libs/mesa[gles2] )
80 - gstreamer? (
81 - media-libs/gstreamer:1.0
82 - media-libs/gst-plugins-base:1.0
83 - )
84 - harfbuzz? ( media-libs/harfbuzz )
85 - hyphen? ( dev-libs/hyphen )
86 - ibus? ( app-i18n/ibus )
87 - jpeg2k? ( media-libs/openjpeg:0= )
88 - libuv? ( dev-libs/libuv )
89 - luajit? ( dev-lang/luajit:= )
90 - !luajit? ( dev-lang/lua:* )
91 - nls? ( sys-devel/gettext )
92 - pdf? ( app-text/poppler:=[cxx] )
93 - physics? ( sci-physics/bullet:= )
94 - postscript? ( app-text/libspectre )
95 - pulseaudio? ( media-sound/pulseaudio )
96 - raw? ( media-libs/libraw:= )
97 - scim? ( app-i18n/scim )
98 - sdl? (
99 - media-libs/libsdl2
100 - virtual/opengl
101 - )
102 - sound? ( media-libs/libsndfile )
103 - ssl? (
104 - gnutls? ( net-libs/gnutls:= )
105 - !gnutls? (
106 - !libressl? ( dev-libs/openssl:= )
107 - libressl? ( dev-libs/libressl:= )
108 - )
109 - )
110 - svg? (
111 - gnome-base/librsvg
112 - x11-libs/cairo
113 - )
114 - system-lz4? ( app-arch/lz4 )
115 - systemd? ( sys-apps/systemd )
116 - tiff? ( media-libs/tiff:0= )
117 - tslib? ( x11-libs/tslib:= )
118 - unwind? ( sys-libs/libunwind )
119 - valgrind? ( dev-util/valgrind )
120 - vlc? ( media-video/vlc )
121 - vnc? ( net-libs/libvncserver )
122 - wayland? (
123 - dev-libs/wayland
124 - media-libs/mesa[gles2,wayland]
125 - x11-libs/libxkbcommon
126 - )
127 - webp? ( media-libs/libwebp:= )
128 - X? (
129 - media-libs/freetype
130 - x11-libs/libXcursor
131 - x11-libs/libX11
132 - x11-libs/libXcomposite
133 - x11-libs/libXdamage
134 - x11-libs/libXext
135 - x11-libs/libXfixes
136 - x11-libs/libXinerama
137 - x11-libs/libXrandr
138 - x11-libs/libXrender
139 - x11-libs/libXtst
140 - x11-libs/libXScrnSaver
141 - opengl? (
142 - x11-libs/libX11
143 - x11-libs/libXrender
144 - virtual/opengl
145 - )
146 - gles? (
147 - x11-libs/libX11
148 - x11-libs/libXrender
149 - virtual/opengl
150 - )
151 - )
152 - xine? ( media-libs/xine-lib )
153 - xpm? ( x11-libs/libXpm )
154 - xpresent? ( x11-libs/libXpresent )
155 -"
156 -
157 -DEPEND="
158 - ${RDEPEND}
159 - virtual/pkgconfig
160 -"
161 -
162 -src_prepare() {
163 - default
164 -
165 - # Upstream still doesnt offer a configure flag. #611108
166 - if ! use unwind ; then
167 - sed -i -e 's:libunwind libunwind-generic:xxxxxxxxxxxxxxxx:' \
168 - configure || die "Sedding configure file with unwind fix failed."
169 - fi
170 -
171 - xdg_environment_reset
172 -}
173 -
174 -src_configure() {
175 - local myconf=(
176 - --enable-cserve
177 - --enable-image-loader-generic
178 - --enable-image-loader-jpeg
179 - --enable-image-loader-png
180 - --enable-libeeze
181 - --enable-libmount
182 - --enable-xinput22
183 -
184 - --disable-doc
185 - --disable-eglfs
186 - --disable-gesture
187 - --disable-gstreamer
188 - --disable-image-loader-tgv
189 - --disable-tizen
190 - --disable-wayland-ivi-shell
191 -
192 - $(use_enable avahi)
193 - $(use_enable bmp image-loader-bmp)
194 - $(use_enable bmp image-loader-wbmp)
195 - $(use_enable dds image-loader-dds)
196 - $(use_enable drm)
197 - $(use_enable drm elput)
198 - $(use_enable eet image-loader-eet)
199 - $(use_enable egl)
200 - $(use_enable examples always-build-examples)
201 - $(use_enable fbcon fb)
202 - $(use_enable fontconfig)
203 - $(use_enable fribidi)
204 - $(use_enable gif image-loader-gif)
205 - $(use_enable gstreamer gstreamer1)
206 - $(use_enable harfbuzz)
207 - $(use_enable hyphen)
208 - $(use_enable ico image-loader-ico)
209 - $(use_enable ibus)
210 - $(use_enable jpeg2k image-loader-jp2k)
211 - $(use_enable libuv)
212 - $(use_enable !luajit lua-old)
213 - $(use_enable neon)
214 - $(use_enable nls)
215 - $(use_enable pdf poppler)
216 - $(use_enable physics)
217 - $(use_enable postscript spectre)
218 - $(use_enable ppm image-loader-pmaps)
219 - $(use_enable psd image-loader-psd)
220 - $(use_enable pulseaudio)
221 - $(use_enable raw libraw)
222 - $(use_enable scim)
223 - $(use_enable sdl)
224 - $(use_enable sound audio)
225 - $(use_enable static-libs static)
226 - $(use_enable svg librsvg)
227 - $(use_enable system-lz4 liblz4)
228 - $(use_enable systemd)
229 - $(use_enable tga image-loader-tga)
230 - $(use_enable tiff image-loader-tiff)
231 - $(use_enable tslib)
232 - $(use_enable v4l v4l2)
233 - $(use_enable valgrind)
234 - $(use_enable vlc libvlc)
235 - $(use_enable vnc vnc-server)
236 - $(use_enable wayland)
237 - $(use_enable webp image-loader-webp)
238 - $(use_enable xcf)
239 - $(use_enable xim)
240 - $(use_enable xine)
241 - $(use_enable xpm image-loader-xpm)
242 - $(use_enable xpresent)
243 -
244 - --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none))
245 - --with-glib=$(usex glib)
246 - --with-js=none
247 - --with-net-control=$(usex connman connman none)
248 - --with-profile=$(usex debug debug release)
249 - --with-x11=$(usex X xlib none)
250 -
251 - $(use_with X x)
252 - )
253 -
254 - use drm && use wayland && myconf+=( --enable-gl-drm )
255 -
256 - if use opengl ; then
257 - myconf+=( --with-opengl=full )
258 - elif use egl ; then
259 - myconf+=( --with-opengl=es )
260 - elif use drm && use wayland ; then
261 - myconf+=( --with-opengl=es )
262 - else
263 - myconf+=( --with-opengl=none )
264 - fi
265 -
266 - econf "${myconf[@]}"
267 -}
268 -
269 -src_compile() {
270 - if host-is-pax && use luajit ; then
271 - # We need to build the lua code first so we can pax-mark it. #547076
272 - local target='_e_built_sources_target_gogogo_'
273 - printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die
274 - emake -C src "${target}"
275 - emake -C src bin/elua/elua
276 - pax-mark m src/bin/elua/.libs/elua
277 - fi
278 -
279 - V=1 emake || die "Compiling EFL failed."
280 -}
281 -
282 -src_install() {
283 - einstalldocs
284 -
285 - V=1 emake install DESTDIR="${D}" || die "Installing EFL files failed."
286 -
287 - find "${D}" -name '*.la' -delete || die
288 -}
289 -
290 -pkg_postinst() {
291 - gnome2_icon_cache_update
292 - xdg_mimeinfo_database_update
293 -}
294 -
295 -pkg_postrm() {
296 - gnome2_icon_cache_update
297 - xdg_mimeinfo_database_update
298 -}