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
0744914a
Commit
0744914a
authored
Apr 03, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack flashplayer: move all code from repack rule
parent
1d95891d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
38 deletions
+30
-38
flashplayer.sh
pack.d/flashplayer.sh
+30
-3
flashplayer.sh
repack.d/flashplayer.sh
+0
-35
No files found.
pack.d/flashplayer.sh
View file @
0744914a
...
...
@@ -6,7 +6,7 @@ VERSION="$3"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
PKGNAME
=
$PRODUCT
-
$VERSION
erc unpack
$TAR
cd
*
||
fatal
...
...
@@ -16,6 +16,33 @@ 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
cat
<<
EOF
| create_file /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
return_tar
$PKGNAME
# 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
erc pack
$PKGNAME
.tar usr
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
group: Networking/WWW
license: Multiple, see https://brave.com/
url: https://www.adobe.com/support/flashplayer/downloads.html
summary: Adobe Flash Player Standalone
description: Adobe Flash Player Standalone.
EOF
return_tar
$PKGNAME
.tar
repack.d/flashplayer.sh
deleted
100755 → 0
View file @
1d95891d
#!/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
set_autoreq
'yes'
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