Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
Date: Mon, 02 Jan 2023 14:04:11
Message-Id: 1672668151.4045622267a99dc8eca3b8dce3f591e9be7b7d95.asturm@gentoo
1 commit: 4045622267a99dc8eca3b8dce3f591e9be7b7d95
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 25 22:47:18 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 14:02:31 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40456222
7
8 www-plugins/lightspark: drop 0.8.5
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 www-plugins/lightspark/Manifest | 1 -
13 www-plugins/lightspark/lightspark-0.8.5.ebuild | 94 --------------------------
14 2 files changed, 95 deletions(-)
15
16 diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest
17 index e0ac47c0a79a..6be67ba1eca0 100644
18 --- a/www-plugins/lightspark/Manifest
19 +++ b/www-plugins/lightspark/Manifest
20 @@ -1,2 +1 @@
21 -DIST lightspark-0.8.5.tar.gz 2490510 BLAKE2B 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18fffff12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 SHA512 79e78925f9132b2c6044e4abf326d768c8d45509f85d9123e3dd172b2769772567223676fa7c8ea4d08bc541e9aa7a2b2d5a1062ff9f3a6274234af8798ee11b
22 DIST lightspark-0.8.6.1.tar.gz 5419194 BLAKE2B dfe56f604c6dd9f9848c1cedffce5bc2a20f51a8b42405f5a38ddbc5c5a1db87e69cba99f5045cd7f60957e46992da8442d95d7ef929bcb806ed5ab0a17f084e SHA512 ea54b3d66acfcb12aac271669d550f6aa1709db59d4bcc005479b7be394a4ca30473a993a780c632228eeaad2977d97cdbcadff5cf8abbbf07503f9d56192f31
23
24 diff --git a/www-plugins/lightspark/lightspark-0.8.5.ebuild b/www-plugins/lightspark/lightspark-0.8.5.ebuild
25 deleted file mode 100644
26 index dd32cad0dd75..000000000000
27 --- a/www-plugins/lightspark/lightspark-0.8.5.ebuild
28 +++ /dev/null
29 @@ -1,94 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -inherit cmake toolchain-funcs xdg-utils
35 -
36 -DESCRIPTION="High performance flash player"
37 -HOMEPAGE="https://lightspark.github.io/"
38 -SRC_URI="
39 - https://github.com/lightspark/lightspark/archive/${PV}.tar.gz
40 - -> ${P}.tar.gz"
41 -S=${WORKDIR}/${P/_rc*/}
42 -
43 -LICENSE="LGPL-3"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp"
47 -
48 -# Note: no LLVM since it's broken upstream
49 -RDEPEND="app-arch/xz-utils:0=
50 - dev-libs/glib:2=
51 - dev-libs/libpcre:3=[cxx]
52 - media-fonts/liberation-fonts
53 - media-libs/freetype:2=
54 - media-libs/libpng:0=
55 - media-libs/libsdl2:0=
56 - media-libs/sdl2-mixer:0=
57 - sys-libs/zlib:0=
58 - x11-libs/cairo:0=
59 - x11-libs/libX11:0=
60 - x11-libs/pango:0=
61 - virtual/jpeg:0=
62 - curl? ( net-misc/curl:0= )
63 - ffmpeg? ( media-video/ffmpeg:0= )
64 - gles2-only? ( media-libs/mesa:0=[gles2] )
65 - !gles2-only? (
66 - >=media-libs/glew-1.5.3:0=
67 - virtual/opengl:0=
68 - )
69 - rtmp? ( media-video/rtmpdump:0= )"
70 -DEPEND="${RDEPEND}"
71 -BDEPEND="
72 - amd64? ( dev-lang/nasm )
73 - x86? ( dev-lang/nasm )
74 - virtual/pkgconfig"
75 -
76 -src_configure() {
77 - local mycmakeargs=(
78 - -DENABLE_CURL=$(usex curl)
79 - -DENABLE_GLES2=$(usex gles2-only)
80 - -DENABLE_LIBAVCODEC=$(usex ffmpeg)
81 - -DENABLE_RTMP=$(usex rtmp)
82 -
83 - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile)
84 - -DENABLE_PROFILING=$(usex profile)
85 - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2)
86 -
87 - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin)
88 - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins
89 - # TODO: install /etc/chromium file? block adobe-flash?
90 - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi)
91 - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN}
92 - )
93 -
94 - cmake_src_configure
95 -}
96 -
97 -src_install() {
98 - cmake_src_install
99 -
100 - if use nsplugin; then
101 - # copied from nsplugins.eclass, that's broken in EAPI 7
102 - dodir /usr/$(get_libdir)/nsbrowser/plugins
103 - dosym ../../lightspark/plugins/liblightsparkplugin.so \
104 - /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so
105 - fi
106 -}
107 -
108 -pkg_postinst() {
109 - xdg_icon_cache_update
110 - xdg_desktop_database_update
111 -
112 - if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then
113 - elog "Having two plugins installed for the same MIME type may confuse"
114 - elog "Mozilla based browsers. It is recommended to disable the nsplugin"
115 - elog "USE flag for either gnash or lightspark. For details, see"
116 - elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848"
117 - fi
118 -}
119 -
120 -pkg_postrm() {
121 - xdg_icon_cache_update
122 - xdg_desktop_database_update
123 -}