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/
Date: Thu, 13 Oct 2016 19:07:24
Message-Id: 1476385629.f1a7a1d20d684afb05f07790ee139c9522d900b5.grknight@gentoo
1 commit: f1a7a1d20d684afb05f07790ee139c9522d900b5
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 13 19:07:09 2016 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 13 19:07:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a7a1d2
7
8 www-plugins/freshplayerplugin: Drop old revision
9
10 Package-Manager: portage-2.3.2
11
12 .../freshplayerplugin-0.3.5-r1.ebuild | 86 ----------------------
13 1 file changed, 86 deletions(-)
14
15 diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r1.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r1.ebuild
16 deleted file mode 100644
17 index 65d9b58..00000000
18 --- a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r1.ebuild
19 +++ /dev/null
20 @@ -1,86 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=6
26 -
27 -CMAKE_MIN_VERSION="2.8.8"
28 -
29 -inherit cmake-utils
30 -
31 -LICENSE="MIT"
32 -HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
33 -DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers"
34 -SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
35 -SLOT=0
36 -IUSE="gles2 gtk3 jack libav libressl pulseaudio v4l vaapi vdpau"
37 -
38 -KEYWORDS="amd64"
39 -
40 -HWDEC_DEPEND="
41 - libav? ( media-video/libav:0=[vaapi?,vdpau?] )
42 - !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?] )
43 - x11-libs/libva
44 - x11-libs/libvdpau
45 -"
46 -
47 -COMMON_DEPEND="
48 - dev-libs/glib:2=
49 - dev-libs/icu:0=
50 - dev-libs/libevent:=[threads]
51 - media-libs/alsa-lib:=
52 - media-libs/freetype:2=
53 - media-libs/mesa:=[egl,gles2?]
54 - x11-libs/cairo:=[X]
55 - x11-libs/libXcursor:=
56 - x11-libs/libXrandr:=
57 - x11-libs/libXrender:=
58 - x11-libs/libdrm:=
59 - x11-libs/pango:=[X]
60 - jack? (
61 - media-sound/jack-audio-connection-kit
62 - media-libs/soxr
63 - )
64 - pulseaudio? ( media-sound/pulseaudio )
65 - !gtk3? ( x11-libs/gtk+:2= )
66 - gtk3? ( x11-libs/gtk+:3= )
67 - libressl? ( dev-libs/libressl:0= )
68 - !libressl? ( dev-libs/openssl:0= )
69 - v4l? ( media-libs/libv4l:0= )
70 - vaapi? ( ${HWDEC_DEPEND} )
71 - vdpau? ( ${HWDEC_DEPEND} )
72 -"
73 -
74 -DEPEND="${COMMON_DEPEND}
75 - dev-util/ragel
76 - virtual/pkgconfig
77 - "
78 -RDEPEND="${COMMON_DEPEND}
79 - || (
80 - www-plugins/chrome-binary-plugins[flash]
81 - www-client/google-chrome
82 - www-client/google-chrome-beta
83 - www-client/google-chrome-unstable
84 - www-plugins/adobe-flash:22
85 - )
86 - "
87 -
88 -PATCHES=( "${FILESDIR}/0.3.5-cmake.patch" "${FILESDIR}/0.3.4-git-revision.patch" )
89 -DOCS=( ChangeLog data/freshwrapper.conf.example README.md )
90 -
91 -src_configure() {
92 - mycmakeargs=(
93 - -DWITH_JACK=$(usex jack)
94 - -DWITH_PULSEAUDIO=$(usex pulseaudio)
95 - -DWITH_GTK=$(usex gtk3 3 2)
96 - -DWITH_GLES2=$(usex gles2)
97 - -DWITH_LIBV4L2=$(usex v4l)
98 - -DCMAKE_SKIP_RPATH=1
99 - )
100 - if use vaapi || use vdpau ; then
101 - mycmakeargs+=( -DWITH_HWDEC=1 )
102 - else
103 - mycmakeargs+=( -DWITH_HWDEC=0 )
104 - fi
105 - cmake-utils_src_configure
106 -}