blob: d5a80a9ea1332de64536cdb43fe64bdc755661db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit cmake-utils
DESCRIPTION="Chromium Flash wrapper for Mozilla Firefox"
HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="
dev-libs/glib:2
dev-libs/libconfig
dev-libs/libevent[threads]
dev-libs/uriparser
media-libs/alsa-lib
media-libs/freetype
media-libs/mesa[egl,gles2]
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/libX11
x11-libs/libXinerama
x11-libs/pango
"
DEPEND="${COMMON_DEPEND}
dev-util/ragel
"
RDEPEND="${COMMON_DEPEND}
|| (
www-plugins/chrome-binary-plugins[flash]
www-client/google-chrome
www-client/google-chrome-beta
www-client/google-chrome-unstable
)
"
src_install() {
insinto /etc
newins data/freshwrapper.conf.example freshwrapper.conf
ewarn 'Depending on what branch of Google Chrome you use, the path to libpepflashplayer.so may need editing in /etc/freshwrapper.conf .'
insinto /usr/lib/nsbrowser/plugins/
doins "${BUILD_DIR}"/libfreshwrapper-pepperflash.so
}
|