blob: 82e35c4527f1cffd4e826416830b95c438361f10 (
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
|
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Stand-alone viewer of SWF files."
HOMEPAGE="https://www.adobe.com/support/flashplayer/debug_downloads.html"
AF_URI="https://web.archive.org/web/20210126102538if_/https://fpdownload.adobe.com/pub/flashplayer/pdc/${PV}"
SRC_URI="https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz -> ${P}.tar.gz
${AF_URI}/flash_player_npapi_linux.x86_64.tar.gz -> ${P}-assets.tar.gz"
LICENSE="AdobeFlash-11.x"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-libs/glib
dev-libs/nspr
dev-libs/nss
media-libs/fontconfig
media-libs/freetype
media-libs/libglvnd
virtual/opengl
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXrender
x11-libs/pango"
DEPEND="${RDEPEND}"
S="${WORKDIR}"
QA_PREBUILT="/usr/bin/flashplayer"
src_install() {
local s
dobin flashplayer
for s in 48 32 24 16; do
newicon -s "$s" "usr/share/icons/hicolor/${s}x${s}/apps/flash-player-properties.png" "${PN}.png"
done
make_desktop_entry \
'flashplayer %F' \
'Flash Player Projector' \
"$PN" \
AudioVideo \
"GenericName=Video player\nMimeType=application/x-shockwave-flash;x-scheme-handler/http;x-scheme-handler/https;"
einstalldocs
}
|