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
3d8af9cf
Commit
3d8af9cf
authored
Dec 23, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play vdhcoapp: add support for 2.x version
parent
d8bb0205
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
vdhcoapp.sh
play.d/vdhcoapp.sh
+20
-0
net.downloadhelper.coapp.sh
repack.d/net.downloadhelper.coapp.sh
+15
-0
No files found.
play.d/vdhcoapp.sh
0 → 100755
View file @
3d8af9cf
#!/bin/sh
PKGNAME
=
vdhcoapp
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Video DownloadHelper Companion App 2"
URL
=
"https://www.downloadhelper.net/install-coapp-v2"
.
$(
dirname
$0
)
/common.sh
arch
=
"
$(
epm print info
-a
)
"
mask
=
"
$PKGNAME
-
${
VERSION
}
-linux-
$arch
.deb"
PKGURL
=
$(
eget
--list
--latest
https://github.com/mi-g/vdhcoapp/releases/
$mask
)
||
fatal
"Can't get package URL"
repack
=
''
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
'--repack'
epm
install
$repack
"
$PKGURL
"
repack.d/net.downloadhelper.coapp.sh
View file @
3d8af9cf
...
...
@@ -10,6 +10,21 @@ PREINSTALL_PACKAGES="ffmpeg ffplay ffprobe xdg-utils"
set_autoreq
"yes"
if
[
!
-f
./opt/net.downloadhelper.coapp/bin/xdg-open
]
;
then
PRODUCTDIR
=
/opt/vdhcoapp
# use ffmpeg from the system
for
i
in
ffplay ffmpeg ffprobe
;
do
ln
-sf
/usr/bin/
$i
./
$PRODUCTDIR
/
$i
pack_file
$PRODUCTDIR
/
$i
done
# use xdg-open from the system
rm
-v
.
$PRODUCTDIR
/xdg-open
ln
-s
/usr/bin/xdg-open .
$PRODUCTDIR
/xdg-open
exit
fi
# fix libdir
install_file /usr/lib/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json /usr/lib64/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json
remove_dir /usr/lib
...
...
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