1 |
commit: 2eaea4b7c08711c2e8fc9f956d0f2e13de5188ed |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 24 15:39:08 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 3 08:27:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eaea4b7 |
7 |
|
8 |
www-plugins/lightspark: Clean old up |
9 |
|
10 |
www-plugins/lightspark/Manifest | 1 - |
11 |
.../lightspark/lightspark-0.7.2_p20150318.ebuild | 113 --------------------- |
12 |
2 files changed, 114 deletions(-) |
13 |
|
14 |
diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest |
15 |
index 7d3a32fdb17..1a091029364 100644 |
16 |
--- a/www-plugins/lightspark/Manifest |
17 |
+++ b/www-plugins/lightspark/Manifest |
18 |
@@ -1,2 +1 @@ |
19 |
-DIST lightspark-0.7.2_p20150318.tar.gz 1039961 SHA256 92e4fa23e9760ebc73efd269a373c7e566eb1550ccf1c7cc7cff58b0d53d048a SHA512 2deb55a9ab7f00d0469b8fd5b053f43155d63c12f4b40bd40d6aa802501b5c7d4d3fe5d442f6ddb67eb1f592d48ccd1490b92e738359e78c162a39eb1605f9a5 WHIRLPOOL 72b471f193ffeba8e2078cad35917eac2d5c8d399cc18a177c1da0a88f85506025f28c86cb22a4dac6dd92feb0a32bc202c60cfe8ca334407f1d1fa6ba2f305f |
20 |
DIST lightspark-0.7.2_p20160107.tar.gz 1803064 SHA256 83b58db86e466e9a3acc33c7c1bbff284edb3f7fef377a3397ac26ac06cac22f SHA512 937352c8d428579a9ac89a45724db2beb624eba874da59d684e07d9d306305d85937f4b2e692c56750a1b5e6ca485e05d9997409d3bc934fab209124cd471601 WHIRLPOOL 268f2a95758def3fb722daa6580e6c4ff5577eacdc27e82005ce7e0b51d55ae78fbc6ae5c1d839b4b21848a0d2a61b0b023f4741487fc042450a7a20bfee01bb |
21 |
|
22 |
diff --git a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild |
23 |
deleted file mode 100644 |
24 |
index ba514dada4b..00000000000 |
25 |
--- a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild |
26 |
+++ /dev/null |
27 |
@@ -1,113 +0,0 @@ |
28 |
-# Copyright 1999-2017 Gentoo Foundation |
29 |
-# Distributed under the terms of the GNU General Public License v2 |
30 |
- |
31 |
-EAPI=5 |
32 |
-inherit cmake-utils nsplugins multilib toolchain-funcs |
33 |
- |
34 |
-DESCRIPTION="High performance flash player" |
35 |
-HOMEPAGE="http://lightspark.sourceforge.net/" |
36 |
-SRC_URI="mirror://gentoo/${P}.tar.gz" |
37 |
- |
38 |
-LICENSE="LGPL-3" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~amd64 ~x86" |
41 |
-IUSE="curl ffmpeg gles nsplugin profile pulseaudio rtmp sdl" |
42 |
- |
43 |
-RDEPEND=">=dev-cpp/libxmlpp-2.33.1:2.6 |
44 |
- >=dev-libs/boost-1.42 |
45 |
- dev-libs/libpcre[cxx] |
46 |
- media-fonts/liberation-fonts |
47 |
- media-libs/libpng |
48 |
- media-libs/libsdl |
49 |
- >=sys-devel/gcc-4.6.0[cxx] |
50 |
- <sys-devel/llvm-3.7:0 |
51 |
- >=sys-devel/llvm-3.4:0 |
52 |
- x11-libs/cairo |
53 |
- x11-libs/gtk+:2 |
54 |
- x11-libs/libX11 |
55 |
- x11-libs/pango |
56 |
- curl? ( |
57 |
- net-misc/curl |
58 |
- ) |
59 |
- ffmpeg? ( |
60 |
- virtual/ffmpeg |
61 |
- ) |
62 |
- !gles? ( |
63 |
- >=media-libs/glew-1.5.3 |
64 |
- virtual/opengl |
65 |
- ) |
66 |
- gles? ( |
67 |
- media-libs/mesa[gles2] |
68 |
- ) |
69 |
- pulseaudio? ( |
70 |
- media-sound/pulseaudio |
71 |
- ) |
72 |
- rtmp? ( |
73 |
- media-video/rtmpdump |
74 |
- ) |
75 |
- virtual/jpeg" |
76 |
-DEPEND="${RDEPEND} |
77 |
- amd64? ( dev-lang/nasm ) |
78 |
- x86? ( dev-lang/nasm ) |
79 |
- virtual/pkgconfig" |
80 |
- |
81 |
-S=${WORKDIR}/${P/_rc*/} |
82 |
- |
83 |
-pkg_pretend() { |
84 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
85 |
- if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then |
86 |
- eerror "You need at least sys-devel/gcc-4.6.0" |
87 |
- die "You need at least sys-devel/gcc-4.6.0" |
88 |
- fi |
89 |
- fi |
90 |
-} |
91 |
- |
92 |
-src_unpack() { |
93 |
- default |
94 |
- # rename snapshot directory |
95 |
- mv "${WORKDIR}"/${PN}-* "${WORKDIR}"/${P} || die |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- local audiobackends |
100 |
- use pulseaudio && audiobackends+="pulse" |
101 |
- use sdl && audiobackends+="sdl" |
102 |
- |
103 |
- local mycmakeargs=( |
104 |
- $(cmake-utils_use curl ENABLE_CURL) |
105 |
- $(cmake-utils_use gles ENABLE_GLES2) |
106 |
- $(cmake-utils_use ffmpeg ENABLE_LIBAVCODEC) |
107 |
- $(cmake-utils_use nsplugin COMPILE_PLUGIN) |
108 |
- $(cmake-utils_use profile ENABLE_MEMORY_USAGE_PROFILING) |
109 |
- $(cmake-utils_use profile ENABLE_PROFILING) |
110 |
- $(cmake-utils_use rtmp ENABLE_RTMP) |
111 |
- -DAUDIO_BACKEND="${audiobackends}" |
112 |
- -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins |
113 |
- ) |
114 |
- |
115 |
- cmake-utils_src_configure |
116 |
-} |
117 |
- |
118 |
-src_install() { |
119 |
- cmake-utils_src_install |
120 |
- |
121 |
- use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so |
122 |
- |
123 |
- # default to sdl audio if pulseaudio plugin is not built, bug #406197 |
124 |
- if use sdl && ! use pulseaudio; then |
125 |
- sed -i 's/backend = pulseaudio/backend = sdl/' "${ED}/etc/xdg/${PN}.conf" || die |
126 |
- fi |
127 |
-} |
128 |
- |
129 |
-pkg_postinst() { |
130 |
- if use nsplugin && ! has_version www-plugins/gnash; then |
131 |
- elog "Lightspark now supports gnash fallback for its browser plugin." |
132 |
- elog "Install www-plugins/gnash to take advantage of it." |
133 |
- fi |
134 |
- if use nsplugin && has_version www-plugins/gnash[nsplugin]; then |
135 |
- elog "Having two plugins installed for the same MIME type may confuse" |
136 |
- elog "Mozilla based browsers. It is recommended to disable the nsplugin" |
137 |
- elog "USE flag for either gnash or lightspark. For details, see" |
138 |
- elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" |
139 |
- fi |
140 |
-} |