summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2022-09-14 22:51:12 +0200
committerhaarp <main.haarp@gmail.com>2022-09-14 22:51:12 +0200
commitaf5952ba9a4fcf389abe6780a7f7198dc15bd964 (patch)
tree60498bec1bf45721530d1477a841d471e9f2b615
parentCave Story: Fix typo (diff)
downloadhaarp-af5952ba9a4fcf389abe6780a7f7198dc15bd964.tar.gz
haarp-af5952ba9a4fcf389abe6780a7f7198dc15bd964.tar.bz2
haarp-af5952ba9a4fcf389abe6780a7f7198dc15bd964.zip
Add flash-player-projector, ripped from tatsh-overlay, sorry :)
Signed-off-by: haarp <main.haarp@gmail.com>
-rw-r--r--media-gfx/flash-player-projector/Manifest3
-rw-r--r--media-gfx/flash-player-projector/flash-player-projector-32.0.0.465-r1.ebuild49
2 files changed, 52 insertions, 0 deletions
diff --git a/media-gfx/flash-player-projector/Manifest b/media-gfx/flash-player-projector/Manifest
new file mode 100644
index 0000000..da366f4
--- /dev/null
+++ b/media-gfx/flash-player-projector/Manifest
@@ -0,0 +1,3 @@
+DIST flash-player-projector-32.0.0.465-assets.tar.gz 9064884 BLAKE2B dc108bc0e7085b87bfc1410716f0b7251951022329b8cc85a1eed194a8b5010d31b76f104099a267aee2f16e5a1706b27802f0c8baed1dcd8234d249ba84a2c2 SHA512 b2fd7b16326facadb94e505de4e27d608d8b7690a719753348d381a54362984905dcb431ceb3f12853ddd3f2a5542497e2e5bb09afbdd728ca1217408fea1797
+DIST flash-player-projector-32.0.0.465.tar.gz 8514041 BLAKE2B a6e0f3b806191bc9ea31e9dad3ba803f277032a5e6321405871eb6e875fe8246b6d53b6837f71b6f5b4001a741dff65db83c18caefc2c9ea38287ce3a9a75451 SHA512 b137f6bae84de53c9e8db798486725a7dd43056459afec4532e7525cf88f3ad352727e8e1a74302ac83cd069d574652d367e6ad41ed19ef04c7b05130a5dac89
+EBUILD flash-player-projector-32.0.0.465-r1.ebuild 1337 BLAKE2B 1737ba7ef79be0d4f288c9aec9996e2e163f92151d55f58da798fdc5983581f5fe233537589ac9182e1bccf725295e05a3465882ee5c988708d475d0ab5483b5 SHA512 76f7553840a6d18f054570a5fc3abadd25c155857469d4dd2e7b19c82fa5747500d375139b788fe84ce512d5bd3bac4c2501fc0ef793b1cf67689860579e4720
diff --git a/media-gfx/flash-player-projector/flash-player-projector-32.0.0.465-r1.ebuild b/media-gfx/flash-player-projector/flash-player-projector-32.0.0.465-r1.ebuild
new file mode 100644
index 0000000..82e35c4
--- /dev/null
+++ b/media-gfx/flash-player-projector/flash-player-projector-32.0.0.465-r1.ebuild
@@ -0,0 +1,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
+}