Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
42116f36
Commit
42116f36
authored
May 08, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add flashplayer
parent
b18be7cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
0 deletions
+69
-0
flashplayer.sh
pack.d/flashplayer.sh
+21
-0
flashplayer.sh
play.d/flashplayer.sh
+13
-0
flashplayer.sh
repack.d/flashplayer.sh
+35
-0
No files found.
pack.d/flashplayer.sh
0 → 100755
View file @
42116f36
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
erc unpack
$TAR
cd
*
||
fatal
mkdir
-p
usr/bin/
mv
flashplayer usr/bin/
mkdir
-p
usr/share/doc/flashplayer/
mv
LGPL license.pdf usr/share/doc/flashplayer/
erc pack
$PKGNAME
usr/bin/flashplayer usr/share/doc/flashplayer
return_tar
$PKGNAME
play.d/flashplayer.sh
0 → 100755
View file @
42116f36
#!/bin/sh
PKGNAME
=
flashplayer
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Adobe Flash Player from the official site"
URL
=
"http://www.adobe.com/support/flashplayer/downloads.html"
.
$(
dirname
$0
)
/common.sh
VERSION
=
32.0.0.465
PKGURL
=
https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz
epm pack
--install
$PKGNAME
$PKGURL
"
$VERSION
"
repack.d/flashplayer.sh
0 → 100755
View file @
42116f36
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PREINSTALL_PACKAGES
=
"glib2 libfontconfig1 libfreetype libgdk-pixbuf libGL libgtk+2 libnspr libnss libpango libX11 libXcursor libXrender"
.
$(
dirname
$0
)
/common.sh
subst
'1iAutoProv:no'
$SPEC
subst
"s|^License: unknown
$|
License: Proprietary|"
$SPEC
subst
"s|^Summary:.*|Summary: Adobe Flash Player Standalone|"
$SPEC
# from https://logos.fandom.com/wiki/Adobe_Flash_Player#2015%E2%80%932020
# https://static.wikia.nocookie.net/logopedia/images/7/7c/Flashplayer_app_RGB.svg/revision/latest/scale-to-width-down/200?cb=20190707103515
install_file
"https://static.wikia.nocookie.net/logopedia/images/7/7c/Flashplayer_app_RGB.svg/revision/latest/scale-to-width-down/200?cb=20190707103515"
/usr/share/icons/hicolor/scalable/apps/
$PRODUCT
.svg
# create desktop file
mkdir
-p
$BUILDROOT
/usr/share/applications/
cat
<<
EOF
>
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Adobe Flash Player Standalone
Comment=Player for using content created on the Adobe Flash platform
Icon=
$PRODUCT
Exec=
$PRODUCT
%u
Categories=Audio;AudioVideo;Graphics;GTK;Player;Video;Viewer;
MimeType=application/x-shockwave-flash;
Terminal=false
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment