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
d5c801b1
Commit
d5c801b1
authored
Sep 14, 2024
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add faststone-image-viewer(eterbug #17695)
parent
d00d7e42
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
0 deletions
+73
-0
faststone-image-viewer.sh
pack.d/faststone-image-viewer.sh
+25
-0
faststone-image-viewer.sh
play.d/faststone-image-viewer.sh
+19
-0
faststone-image-viewer.sh
repack.d/faststone-image-viewer.sh
+29
-0
No files found.
pack.d/faststone-image-viewer.sh
0 → 100644
View file @
d5c801b1
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
erc unpack
$TAR
||
fatal
mkdir
-p
opt/eepm-wine/
$PRODUCT
/
mv
FSViewer
*
/
*
opt/eepm-wine/
$PRODUCT
/
cat
<<
EOF
>opt/eepm-wine/
$PRODUCT
/run.sh
#!/bin/sh
RUNFILE="/opt/eepm-wine/faststone-image-viewer/FSViewer.exe"
exec wine "\
$RUNFILE
" "\
$@
"
EOF
chmod
755 opt/eepm-wine/
$PRODUCT
/run.sh
erc pack
$PKGNAME
opt/eepm-wine
return_tar
$PKGNAME
play.d/faststone-image-viewer.sh
0 → 100755
View file @
d5c801b1
#!/bin/sh
PKGNAME
=
faststone-image-viewer
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
'An image browser, converter and editor that supports all major graphic formats.'
URL
=
"https://www.faststone.org/FSViewerDetail.htm"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
VERSION
=
$(
eget
-q
-O-
"https://www.faststone.org/FSViewerDetail.htm"
|
grep
-o
-m
1
"Version [0-9.]
\+
"
|
awk
'{print $2}'
)
PKGURL
=
"https://www.faststonesoft.net/DN/FSViewer
${
VERSION
//./
}
.zip"
install_pack_pkgurl
$VERSION
repack.d/faststone-image-viewer.sh
0 → 100644
View file @
d5c801b1
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
faststone-image-viewer
PRODUCTDIR
=
/opt/eepm-wine/
$PRODUCT
.
$(
dirname
$0
)
/common.sh
add_requires
'/usr/bin/wine'
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/run.sh
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Name=Faststone image viewer
Exec=
$PRODUCT
%F
Type=Application
StartupNotify=true
Icon=
$PRODUCT
StartupWMClass=FSViewer.exe
Categories=Wine;Graphics;
EOF
# copied from unpacked exe file: FSViewer.exe
i
=
128
install_file ipfs://QmTQMybWanVQBrV5diGrKDnMbU3zWXtG26uTJ8bcjcKKMp /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$PRODUCT
.png
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