1 |
commit: 93507a1ffb40f7449e776d318d69bd0d14f60e44 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 20:34:47 2016 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 20:35:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93507a1f |
7 |
|
8 |
www-plugins/gnash: Drop deprecated Plasma 4 support |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
www-plugins/gnash/gnash-0.8.10_p20131019.ebuild | 38 +++------------------- |
13 |
www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild | 36 +++----------------- |
14 |
2 files changed, 9 insertions(+), 65 deletions(-) |
15 |
|
16 |
diff --git a/www-plugins/gnash/gnash-0.8.10_p20131019.ebuild b/www-plugins/gnash/gnash-0.8.10_p20131019.ebuild |
17 |
index e39358c..2d5654e 100644 |
18 |
--- a/www-plugins/gnash/gnash-0.8.10_p20131019.ebuild |
19 |
+++ b/www-plugins/gnash/gnash-0.8.10_p20131019.ebuild |
20 |
@@ -1,15 +1,13 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Copyright 1999-2016 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
# $Id$ |
25 |
|
26 |
EAPI=5 |
27 |
-CMAKE_REQUIRED="never" |
28 |
-KDE_REQUIRED="optional" |
29 |
AT_M4DIR="cygnal" |
30 |
# won't build with python-3, bug #392969 |
31 |
PYTHON_COMPAT=( python2_7 ) |
32 |
|
33 |
-inherit autotools eutils kde4-base multilib nsplugins python-any-r1 flag-o-matic |
34 |
+inherit autotools eutils multilib nsplugins python-any-r1 flag-o-matic |
35 |
|
36 |
DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features" |
37 |
HOMEPAGE="https://www.gnu.org/software/gnash/" |
38 |
@@ -27,7 +25,7 @@ fi |
39 |
LICENSE="GPL-3" |
40 |
SLOT="0" |
41 |
KEYWORDS="amd64 ppc ~ppc64 ~sparc x86" |
42 |
-IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg gconf gnome gstreamer gtk harden jemalloc kde lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi" |
43 |
+IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg gconf gnome gstreamer gtk harden jemalloc lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi" |
44 |
REQUIRED_USE="dump? ( agg ffmpeg ) |
45 |
fbcon? ( agg ) |
46 |
nsplugin? ( gtk ) |
47 |
@@ -35,7 +33,7 @@ REQUIRED_USE="dump? ( agg ffmpeg ) |
48 |
python? ( gtk ) |
49 |
vaapi? ( agg ffmpeg ) |
50 |
|| ( agg cairo opengl openvg ) |
51 |
- || ( dump fbcon gtk kde sdl ) |
52 |
+ || ( dump fbcon gtk sdl ) |
53 |
" |
54 |
|
55 |
RDEPEND=">=dev-libs/boost-1.41.0:0= |
56 |
@@ -81,10 +79,6 @@ RDEPEND=">=dev-libs/boost-1.41.0:0= |
57 |
python? ( dev-python/pygtk:2 ) |
58 |
) |
59 |
jemalloc? ( dev-libs/jemalloc ) |
60 |
- kde? ( |
61 |
- $(add_kdebase_dep kdebase-startkde) |
62 |
- dev-qt/qtwebkit:4 |
63 |
- ) |
64 |
opengl? ( |
65 |
virtual/glu |
66 |
virtual/opengl |
67 |
@@ -115,7 +109,6 @@ DEPEND="${RDEPEND} |
68 |
RESTRICT="test" |
69 |
|
70 |
pkg_setup() { |
71 |
- kde4-base_pkg_setup |
72 |
python-any-r1_pkg_setup |
73 |
|
74 |
if use !ffmpeg && use !gstreamer; then |
75 |
@@ -171,19 +164,6 @@ src_configure() { |
76 |
use opengl && renderers+=",opengl" |
77 |
use openvg && renderers+=",openvg" |
78 |
|
79 |
- # Set kde and konqueror plugin directories. |
80 |
- if use kde; then |
81 |
- myconf="${myconf} |
82 |
- --with-plugins-install=system |
83 |
- --with-kde4-incl=${KDEDIR}/include |
84 |
- --with-kde4-configdir=${KDEDIR}/share/config |
85 |
- --with-kde4-prefix=${KDEDIR} |
86 |
- --with-kde4-lib=${KDEDIR}/$(get_libdir) |
87 |
- --with-kde-appsdatadir=${KDEDIR}/share/apps/klash |
88 |
- --with-kde4-servicesdir=${KDEDIR}/share/kde4/services |
89 |
- --with-kde4-plugindir=${KDEDIR}/$(get_libdir)/kde4" |
90 |
- fi |
91 |
- |
92 |
# Set media handler. |
93 |
use ffmpeg || use gstreamer || media+=",none" |
94 |
use ffmpeg && media+=",ffmpeg" |
95 |
@@ -193,7 +173,6 @@ src_configure() { |
96 |
use dump && gui="${gui},dump" |
97 |
use fbcon && gui="${gui},fb" |
98 |
use gtk && gui=",gtk" |
99 |
- use kde && gui="${gui},kde4" |
100 |
use sdl && gui="${gui},sdl" |
101 |
|
102 |
if use sdl-sound; then |
103 |
@@ -219,13 +198,13 @@ src_configure() { |
104 |
--docdir=/usr/share/doc/${PF} \ |
105 |
--disable-dependency-tracking \ |
106 |
--disable-kparts3 \ |
107 |
+ --disable-kparts4 \ |
108 |
$(use_enable cygnal) \ |
109 |
$(use_enable cygnal cgibins) \ |
110 |
$(use_enable doc docbook) \ |
111 |
$(use_enable gnome ghelp) \ |
112 |
$(use_enable harden) \ |
113 |
$(use_enable jemalloc) \ |
114 |
- $(use_enable kde kparts4) \ |
115 |
$(use_enable nls) \ |
116 |
$(use_enable nsplugin npapi) \ |
117 |
$(use_enable python) \ |
118 |
@@ -255,12 +234,6 @@ src_install() { |
119 |
emake DESTDIR="${D}" install-plugin || die "install plugins failed" |
120 |
fi |
121 |
|
122 |
- # Install kde konqueror plugin. |
123 |
- if use kde; then |
124 |
- pushd "${S}/plugin/klash4" >& /dev/null || die |
125 |
- emake DESTDIR="${D}" install-plugin || die "install kde plugins failed" |
126 |
- popd >& /dev/null |
127 |
- fi |
128 |
# Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory. |
129 |
use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so |
130 |
|
131 |
@@ -283,5 +256,4 @@ pkg_postinst() { |
132 |
ewarn "${PN} is still in heavy development" |
133 |
ewarn "Please first report bugs on upstream gnashdevs and deal with them" |
134 |
ewarn "And then report a Gentoo bug to the maintainer" |
135 |
- use kde && kde4-base_pkg_postinst |
136 |
} |
137 |
|
138 |
diff --git a/www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild b/www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild |
139 |
index 1706b74..8415d55 100644 |
140 |
--- a/www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild |
141 |
+++ b/www-plugins/gnash/gnash-0.8.10_p20160329-r1.ebuild |
142 |
@@ -3,13 +3,11 @@ |
143 |
# $Id$ |
144 |
|
145 |
EAPI=6 |
146 |
-CMAKE_REQUIRED="never" |
147 |
-KDE_REQUIRED="optional" |
148 |
AT_M4DIR="cygnal" |
149 |
# won't build with python-3, bug #392969 |
150 |
PYTHON_COMPAT=( python2_7 ) |
151 |
|
152 |
-inherit autotools eutils kde4-base multilib nsplugins python-any-r1 flag-o-matic xdg-utils |
153 |
+inherit autotools eutils multilib nsplugins python-any-r1 flag-o-matic xdg-utils |
154 |
|
155 |
DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features" |
156 |
HOMEPAGE="https://www.gnu.org/software/gnash/" |
157 |
@@ -27,7 +25,7 @@ fi |
158 |
LICENSE="GPL-3" |
159 |
SLOT="0" |
160 |
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86" |
161 |
-IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg libav libressl gnome gtk harden jemalloc kde lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi" |
162 |
+IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg libav libressl gnome gtk harden jemalloc lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi" |
163 |
REQUIRED_USE=" |
164 |
dump? ( agg ffmpeg ) |
165 |
fbcon? ( agg ) |
166 |
@@ -36,7 +34,7 @@ REQUIRED_USE=" |
167 |
python? ( gtk ) |
168 |
vaapi? ( agg ffmpeg ) |
169 |
|| ( agg cairo opengl openvg ) |
170 |
- || ( dump fbcon gtk kde sdl ) |
171 |
+ || ( dump fbcon gtk sdl ) |
172 |
" |
173 |
|
174 |
RDEPEND=" |
175 |
@@ -76,10 +74,6 @@ RDEPEND=" |
176 |
python? ( dev-python/pygtk:2 ) |
177 |
) |
178 |
jemalloc? ( dev-libs/jemalloc ) |
179 |
- kde? ( |
180 |
- $(add_kdebase_dep kdebase-startkde) |
181 |
- dev-qt/qtwebkit:4 |
182 |
- ) |
183 |
opengl? ( |
184 |
virtual/glu |
185 |
virtual/opengl |
186 |
@@ -114,7 +108,6 @@ DEPEND="${RDEPEND} |
187 |
RESTRICT="test" |
188 |
|
189 |
pkg_setup() { |
190 |
- kde4-base_pkg_setup |
191 |
python-any-r1_pkg_setup |
192 |
|
193 |
if use !ffmpeg; then |
194 |
@@ -175,19 +168,6 @@ src_configure() { |
195 |
use opengl && renderers+=",opengl" |
196 |
use openvg && renderers+=",openvg" |
197 |
|
198 |
- # Set kde and konqueror plugin directories. |
199 |
- if use kde; then |
200 |
- myconf="${myconf} |
201 |
- --with-plugins-install=system |
202 |
- --with-kde4-incl=${KDEDIR}/include |
203 |
- --with-kde4-configdir=${KDEDIR}/share/config |
204 |
- --with-kde4-prefix=${KDEDIR} |
205 |
- --with-kde4-lib=${KDEDIR}/$(get_libdir) |
206 |
- --with-kde-appsdatadir=${KDEDIR}/share/apps/klash |
207 |
- --with-kde4-servicesdir=${KDEDIR}/share/kde4/services |
208 |
- --with-kde4-plugindir=${KDEDIR}/$(get_libdir)/kde4" |
209 |
- fi |
210 |
- |
211 |
# Set media handler. |
212 |
use ffmpeg || media+=",none" |
213 |
use ffmpeg && media+=",ffmpeg" |
214 |
@@ -196,7 +176,6 @@ src_configure() { |
215 |
use dump && gui+=",dump" |
216 |
use fbcon && gui+=",fb" |
217 |
use gtk && gui+=",gtk" |
218 |
- use kde && gui+=",kde4" |
219 |
use sdl && gui+=",sdl" |
220 |
|
221 |
if use sdl-sound; then |
222 |
@@ -220,6 +199,7 @@ src_configure() { |
223 |
|
224 |
econf \ |
225 |
--disable-kparts3 \ |
226 |
+ --disable-kparts4 \ |
227 |
--without-gconf \ |
228 |
$(use_enable cygnal) \ |
229 |
$(use_enable cygnal cgibins) \ |
230 |
@@ -227,7 +207,6 @@ src_configure() { |
231 |
$(use_enable gnome ghelp) \ |
232 |
$(use_enable harden) \ |
233 |
$(use_enable jemalloc) \ |
234 |
- $(use_enable kde kparts4) \ |
235 |
$(use_enable nls) \ |
236 |
$(use_enable nsplugin npapi) \ |
237 |
$(use_enable python) \ |
238 |
@@ -256,12 +235,6 @@ src_install() { |
239 |
emake DESTDIR="${D}" install-plugin || die "install plugins failed" |
240 |
fi |
241 |
|
242 |
- # Install kde konqueror plugin. |
243 |
- if use kde; then |
244 |
- pushd "${S}/plugin/klash4" >& /dev/null || die |
245 |
- emake DESTDIR="${D}" install-plugin || die "install kde plugins failed" |
246 |
- popd >& /dev/null |
247 |
- fi |
248 |
# Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory. |
249 |
use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so |
250 |
|
251 |
@@ -284,5 +257,4 @@ pkg_postinst() { |
252 |
ewarn "${PN} is still in heavy development" |
253 |
ewarn "Please first report bugs on upstream gnashdevs and deal with them" |
254 |
ewarn "And then report a Gentoo bug to the maintainer" |
255 |
- use kde && kde4-base_pkg_postinst |
256 |
} |