Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/freshplayerplugin/, www-plugins/freshplayerplugin/files/
Date: Thu, 13 Oct 2016 18:14:28
Message-Id: 1476382448.09277371d30e5cc2c325fb3c76df4e6ca47168f3.grknight@gentoo
1 commit: 09277371d30e5cc2c325fb3c76df4e6ca47168f3
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 13 18:14:08 2016 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 13 18:14:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09277371
7
8 www-plugins/freshplayerplugin: Drop old versions with unresolvable deps
9
10 Package-Manager: portage-2.3.2
11
12 www-plugins/freshplayerplugin/Manifest | 1 -
13 .../freshplayerplugin/files/0.2.4-cmake.patch | 59 ---------------
14 .../freshplayerplugin-0.3.2.ebuild | 82 ---------------------
15 .../freshplayerplugin-0.3.5.ebuild | 85 ----------------------
16 4 files changed, 227 deletions(-)
17
18 diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest
19 index 4097ca7..58cfd8d 100644
20 --- a/www-plugins/freshplayerplugin/Manifest
21 +++ b/www-plugins/freshplayerplugin/Manifest
22 @@ -1,2 +1 @@
23 -DIST freshplayerplugin-0.3.2.tar.gz 2713241 SHA256 b3687b9d67ab88c64fea32b17f281f142bf861e33d9135b00da5d90d385d9ce5 SHA512 9c908ce1a168c0797dc3b0da8e98d722cc32d729acb1c4a8f38b7e95c23fe870baabe4b3f8790d021711578fdb9a61f44aba27cebb924fec9aabcf8cd91323e5 WHIRLPOOL 2e9b78bcc3605409ec6853caf31aab03658c044e0d05449a620b31261323856503db8db960db9992d6db4fd61df8f9feb05800124c2f4a450c4ff65b22fc7c34
24 DIST freshplayerplugin-0.3.5.tar.gz 781003 SHA256 b08f7c6690de13b1e358fef4cab41cb303b9e80b3504678e94c9646f44dd7104 SHA512 dd447db4cbfdb80b89ff42894099971c100023d19fe5fbad023d5ac1afa827fdc5a169a03f4702ffda3cf6e0dd9c63217b68d97d047ac43afc22f488020a0ba0 WHIRLPOOL cf22758e0ed947db27e8e6e053f17bafc425beebebd9314008eef105e828a0a51f73fd42f2d0c00e12e56f817e2b9078baeb55bd54a6c6a55e8ebd00d2e27ccc
25
26 diff --git a/www-plugins/freshplayerplugin/files/0.2.4-cmake.patch b/www-plugins/freshplayerplugin/files/0.2.4-cmake.patch
27 deleted file mode 100644
28 index 3ad1523..00000000
29 --- a/www-plugins/freshplayerplugin/files/0.2.4-cmake.patch
30 +++ /dev/null
31 @@ -1,59 +0,0 @@
32 -diff -uarN a/CMakeLists.txt b/CMakeLists.txt
33 ---- a/CMakeLists.txt 2015-04-25 11:17:24.000000000 -0400
34 -+++ b/CMakeLists.txt 2015-04-26 20:14:43.152014529 -0400
35 -@@ -61,35 +61,36 @@
36 - # optional dependencies
37 - message(STATUS "checking for optional dependencies")
38 -
39 --pkg_check_modules(PULSEAUDIO QUIET libpulse)
40 --pkg_check_modules(JACK QUIET jack)
41 --pkg_check_modules(SOXR QUIET soxr)
42 - set(WITH_PULSEAUDIO TRUE CACHE STRING "enable PulseAudio support")
43 - set(WITH_JACK TRUE CACHE STRING "enable JACK Audio Connection Kit")
44 -
45 --if (PULSEAUDIO_FOUND AND WITH_PULSEAUDIO)
46 -+if (WITH_PULSEAUDIO)
47 -+ pkg_check_modules(PULSEAUDIO libpulse)
48 -+ if (NOT PULSEAUDIO_FOUND)
49 -+ message(FATAL_ERROR "PulseAudio requested but not found.")
50 -+ endif()
51 - add_definitions(-DHAVE_PULSEAUDIO=1)
52 -- message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION} (optional)")
53 -+ message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION}")
54 - list(APPEND REQ_LIBRARY_DIRS ${PULSEAUDIO_LIBRARY_DIRS})
55 - list(APPEND REQ_INCLUDE_DIRS ${PULSEAUDIO_INCLUDE_DIRS})
56 - list(APPEND REQ_LIBRARIES ${PULSEAUDIO_LIBRARIES})
57 --else()
58 -- message(STATUS " no libpulse found (optional)")
59 - endif()
60 -
61 --if (JACK_FOUND AND WITH_JACK)
62 -- message(STATUS " found jack, version ${JACK_VERSION} (optional)")
63 -- if (SOXR_FOUND)
64 -- message(STATUS " found soxr, version ${SOXR_VERSION}")
65 -- add_definitions(-DHAVE_JACK=1)
66 -- list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}")
67 -- list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}")
68 -- list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}")
69 -- else()
70 -- message(STATUS " no soxr found, JACK output disabled")
71 -+if (WITH_JACK)
72 -+ pkg_check_modules(JACK QUIET jack)
73 -+ if (NOT JACK_FOUND)
74 -+ message(FATAL_ERROR "JACK support requested but not found.")
75 -+ endif()
76 -+ pkg_check_modules(SOXR QUIET soxr)
77 -+ if (NOT SOXR_FOUND)
78 -+ message(FATAL_ERROR "SOXR libray not found but needed for JACK support.")
79 - endif()
80 --else()
81 -- message(STATUS " no jack found (optional)")
82 -+ message(STATUS " found jack, version ${JACK_VERSION}")
83 -+ message(STATUS " found soxr, version ${SOXR_VERSION}")
84 -+ add_definitions(-DHAVE_JACK=1)
85 -+ list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}")
86 -+ list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}")
87 -+ list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}")
88 - endif()
89 -
90 - list(APPEND REQ_LIBRARIES img-resources)
91
92 diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.2.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.2.ebuild
93 deleted file mode 100644
94 index 3bb24e7..00000000
95 --- a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.2.ebuild
96 +++ /dev/null
97 @@ -1,82 +0,0 @@
98 -# Copyright 1999-2016 Gentoo Foundation
99 -# Distributed under the terms of the GNU General Public License v2
100 -# $Id$
101 -
102 -EAPI=5
103 -
104 -CMAKE_MIN_VERSION="2.8.8"
105 -
106 -inherit cmake-utils multilib
107 -
108 -LICENSE="MIT"
109 -HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
110 -DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers"
111 -SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
112 -SLOT=0
113 -IUSE="gtk3 jack libav pulseaudio vaapi vdpau"
114 -
115 -KEYWORDS="amd64"
116 -
117 -HWDEC_DEPEND="
118 - libav? ( media-video/libav:0=[vaapi?,vdpau?,x264] )
119 - !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?,x264] )
120 - x11-libs/libva
121 - x11-libs/libvdpau
122 -"
123 -
124 -CDEPEND="
125 - dev-libs/glib:2=
126 - dev-libs/libconfig:=
127 - dev-libs/libevent:=[threads]
128 - dev-libs/openssl:0=
129 - media-libs/alsa-lib:=
130 - media-libs/freetype:2=
131 - media-libs/libv4l:0=
132 - media-libs/mesa:=[egl,gles2]
133 - x11-libs/libXrandr:=
134 - x11-libs/libXrender:=
135 - x11-libs/libdrm:=
136 - x11-libs/pango:=[X]
137 - jack? ( media-sound/jack-audio-connection-kit )
138 - pulseaudio? ( media-sound/pulseaudio )
139 - !gtk3? ( x11-libs/gtk+:2= )
140 - gtk3? ( x11-libs/gtk+:3= )
141 - vaapi? ( ${HWDEC_DEPEND} )
142 - vdpau? ( ${HWDEC_DEPEND} )
143 -"
144 -
145 -DEPEND="${CDEPEND}
146 - dev-util/ragel
147 - virtual/pkgconfig
148 - "
149 -RDEPEND="${CDEPEND}
150 - || (
151 - www-plugins/chrome-binary-plugins[flash]
152 - www-client/google-chrome
153 - www-client/google-chrome-beta
154 - www-client/google-chrome-unstable
155 - )
156 - "
157 -
158 -PATCHES=( "${FILESDIR}/0.2.4-cmake.patch" )
159 -
160 -src_configure() {
161 - mycmakeargs=(
162 - $(cmake-utils_use_with jack JACK)
163 - $(cmake-utils_use_with pulseaudio PULSEAUDIO)
164 - -DWITH_GTK=$(usex gtk3 3 2)
165 - -DCMAKE_SKIP_RPATH=1
166 - )
167 - if use vaapi || use vdpau ; then
168 - mycmakeargs+=( -DWITH_HWDEC=1 )
169 - else
170 - mycmakeargs+=( -DWITH_HWDEC=0 )
171 - fi
172 - cmake-utils_src_configure
173 -}
174 -
175 -src_install() {
176 - dodoc ChangeLog data/freshwrapper.conf.example README.md
177 - exeinto /usr/$(get_libdir)/nsbrowser/plugins
178 - doexe "${BUILD_DIR}/libfreshwrapper-pepperflash.so"
179 -}
180
181 diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5.ebuild
182 deleted file mode 100644
183 index c6b4a10..00000000
184 --- a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5.ebuild
185 +++ /dev/null
186 @@ -1,85 +0,0 @@
187 -# Copyright 1999-2016 Gentoo Foundation
188 -# Distributed under the terms of the GNU General Public License v2
189 -# $Id$
190 -
191 -EAPI=6
192 -
193 -CMAKE_MIN_VERSION="2.8.8"
194 -
195 -inherit cmake-utils
196 -
197 -LICENSE="MIT"
198 -HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
199 -DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers"
200 -SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
201 -SLOT=0
202 -IUSE="gles2 gtk3 jack libav libressl pulseaudio v4l vaapi vdpau"
203 -
204 -KEYWORDS="~amd64"
205 -
206 -HWDEC_DEPEND="
207 - libav? ( media-video/libav:0=[vaapi?,vdpau?] )
208 - !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?] )
209 - x11-libs/libva
210 - x11-libs/libvdpau
211 -"
212 -
213 -COMMON_DEPEND="
214 - dev-libs/glib:2=
215 - dev-libs/icu:0=
216 - dev-libs/libevent:=[threads]
217 - media-libs/alsa-lib:=
218 - media-libs/freetype:2=
219 - media-libs/mesa:=[egl,gles2?]
220 - x11-libs/cairo:=[X]
221 - x11-libs/libXcursor:=
222 - x11-libs/libXrandr:=
223 - x11-libs/libXrender:=
224 - x11-libs/libdrm:=
225 - x11-libs/pango:=[X]
226 - jack? (
227 - media-sound/jack-audio-connection-kit
228 - media-libs/soxr
229 - )
230 - pulseaudio? ( media-sound/pulseaudio )
231 - !gtk3? ( x11-libs/gtk+:2= )
232 - gtk3? ( x11-libs/gtk+:3= )
233 - libressl? ( dev-libs/libressl:0= )
234 - !libressl? ( dev-libs/openssl:0= )
235 - v4l? ( media-libs/libv4l:0= )
236 - vaapi? ( ${HWDEC_DEPEND} )
237 - vdpau? ( ${HWDEC_DEPEND} )
238 -"
239 -
240 -DEPEND="${COMMON_DEPEND}
241 - dev-util/ragel
242 - virtual/pkgconfig
243 - "
244 -RDEPEND="${COMMON_DEPEND}
245 - || (
246 - www-plugins/chrome-binary-plugins[flash]
247 - www-client/google-chrome
248 - www-client/google-chrome-beta
249 - www-client/google-chrome-unstable
250 - )
251 - "
252 -
253 -PATCHES=( "${FILESDIR}/0.3.5-cmake.patch" "${FILESDIR}/0.3.4-git-revision.patch" )
254 -DOCS=( ChangeLog data/freshwrapper.conf.example README.md )
255 -
256 -src_configure() {
257 - mycmakeargs=(
258 - -DWITH_JACK=$(usex jack)
259 - -DWITH_PULSEAUDIO=$(usex pulseaudio)
260 - -DWITH_GTK=$(usex gtk3 3 2)
261 - -DWITH_GLES2=$(usex gles2)
262 - -DWITH_LIBV4L2=$(usex v4l)
263 - -DCMAKE_SKIP_RPATH=1
264 - )
265 - if use vaapi || use vdpau ; then
266 - mycmakeargs+=( -DWITH_HWDEC=1 )
267 - else
268 - mycmakeargs+=( -DWITH_HWDEC=0 )
269 - fi
270 - cmake-utils_src_configure
271 -}