1 |
commit: 82a0cf9bdea6b30a70068eabd996ad7b575adda6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 6 20:56:08 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 6 21:22:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a0cf9b |
7 |
|
8 |
www-plugins/lightspark: Clean old up |
9 |
|
10 |
www-plugins/lightspark/Manifest | 1 - |
11 |
.../lightspark/lightspark-0.8.0_p20180401.ebuild | 97 ---------------------- |
12 |
2 files changed, 98 deletions(-) |
13 |
|
14 |
diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest |
15 |
index 67f0d0f0528..0a5f1694be5 100644 |
16 |
--- a/www-plugins/lightspark/Manifest |
17 |
+++ b/www-plugins/lightspark/Manifest |
18 |
@@ -1,2 +1 @@ |
19 |
DIST lightspark-0.8.1.tar.gz 1899466 BLAKE2B d057deccc8ee03f16bfd384c9aee94ee70b7f6674bb0d46c2965f27868a2177c2985f791801975aab1608b4e59d9d40a51e327ec4b00e60eb6714f610b4c319f SHA512 ee9f02e4aa160d8e68cab743eddce5f4f5de0bb78f5daaaf69890b442701dc42094a59433cef136f6dc85e6fbce989bc8ff7ce8ad1ed1929c8501b13e24f2646 |
20 |
-DIST lightspark-f6ed8284810ad91c277ed5d0835b215e7329450e.tar.gz 1880249 BLAKE2B 031dc48f40956fcfb5a8b0fd825da8a2a0dba6daa4646296a385d5f90f13027d44cbb09562f6bf57b8d5d415a278fa06974624aee42e14b75892c36798dceda0 SHA512 a75ebf5e666daec0f244285bfd1029feb6fcfa2aeba800f175bb07bc148d39e76435d77868c964b2e149019b763498990bf0db25ba632cf21b91ad0958412332 |
21 |
|
22 |
diff --git a/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild b/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild |
23 |
deleted file mode 100644 |
24 |
index eb9a35fde59..00000000000 |
25 |
--- a/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild |
26 |
+++ /dev/null |
27 |
@@ -1,97 +0,0 @@ |
28 |
-# Copyright 1999-2018 Gentoo Foundation |
29 |
-# Distributed under the terms of the GNU General Public License v2 |
30 |
- |
31 |
-EAPI=6 |
32 |
-inherit cmake-utils gnome2-utils nsplugins toolchain-funcs xdg-utils |
33 |
- |
34 |
-EGIT_COMMIT="f6ed8284810ad91c277ed5d0835b215e7329450e" |
35 |
-DESCRIPTION="High performance flash player" |
36 |
-HOMEPAGE="http://lightspark.github.io/" |
37 |
-SRC_URI="https://github.com/lightspark/lightspark/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" |
38 |
- |
39 |
-LICENSE="LGPL-3" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="~amd64 ~x86" |
42 |
-IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" |
43 |
- |
44 |
-RDEPEND="app-arch/xz-utils:0= |
45 |
- dev-cpp/glibmm:2= |
46 |
- >=dev-libs/boost-1.42:0= |
47 |
- dev-libs/glib:2= |
48 |
- dev-libs/libpcre:3=[cxx] |
49 |
- media-fonts/liberation-fonts |
50 |
- media-libs/freetype:2= |
51 |
- media-libs/libpng:0= |
52 |
- media-libs/libsdl2:0= |
53 |
- media-libs/sdl2-mixer:0= |
54 |
- >=sys-devel/llvm-3.4:= |
55 |
- sys-libs/zlib:0= |
56 |
- x11-libs/cairo:0= |
57 |
- x11-libs/libX11:0= |
58 |
- x11-libs/pango:0= |
59 |
- virtual/jpeg:0= |
60 |
- curl? ( net-misc/curl:0= ) |
61 |
- ffmpeg? ( |
62 |
- libav? ( media-video/libav:0= ) |
63 |
- !libav? ( media-video/ffmpeg:0= ) |
64 |
- ) |
65 |
- gles? ( media-libs/mesa:0=[gles2] ) |
66 |
- !gles? ( |
67 |
- >=media-libs/glew-1.5.3:0= |
68 |
- virtual/opengl:0= |
69 |
- ) |
70 |
- rtmp? ( media-video/rtmpdump:0= )" |
71 |
-DEPEND="${RDEPEND} |
72 |
- amd64? ( dev-lang/nasm ) |
73 |
- x86? ( dev-lang/nasm ) |
74 |
- virtual/pkgconfig" |
75 |
- |
76 |
-S=${WORKDIR}/${PN}-${EGIT_COMMIT} |
77 |
- |
78 |
-src_configure() { |
79 |
- local mycmakeargs=( |
80 |
- -DENABLE_CURL=$(usex curl) |
81 |
- -DENABLE_GLES2=$(usex gles) |
82 |
- -DENABLE_LIBAVCODEC=$(usex ffmpeg) |
83 |
- -DENABLE_RTMP=$(usex rtmp) |
84 |
- |
85 |
- -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) |
86 |
- -DENABLE_PROFILING=$(usex profile) |
87 |
- -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) |
88 |
- |
89 |
- -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) |
90 |
- -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins |
91 |
- # TODO: install /etc/chromium file? block adobe-flash? |
92 |
- -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) |
93 |
- -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} |
94 |
- ) |
95 |
- |
96 |
- cmake-utils_src_configure |
97 |
-} |
98 |
- |
99 |
-src_install() { |
100 |
- cmake-utils_src_install |
101 |
- |
102 |
- use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so |
103 |
-} |
104 |
- |
105 |
-pkg_postinst() { |
106 |
- gnome2_icon_cache_update |
107 |
- xdg_desktop_database_update |
108 |
- |
109 |
- if use nsplugin && ! has_version www-plugins/gnash; then |
110 |
- elog "Lightspark now supports gnash fallback for its browser plugin." |
111 |
- elog "Install www-plugins/gnash to take advantage of it." |
112 |
- fi |
113 |
- if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then |
114 |
- elog "Having two plugins installed for the same MIME type may confuse" |
115 |
- elog "Mozilla based browsers. It is recommended to disable the nsplugin" |
116 |
- elog "USE flag for either gnash or lightspark. For details, see" |
117 |
- elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" |
118 |
- fi |
119 |
-} |
120 |
- |
121 |
-pkg_postrm() { |
122 |
- gnome2_icon_cache_update |
123 |
- xdg_desktop_database_update |
124 |
-} |