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
4d33b206
Commit
4d33b206
authored
May 03, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack net.downloadhelper.coapp: use ffmpeg and xdg-open for the system
parent
155ad627
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
net.downloadhelper.coapp.sh
repack.d/net.downloadhelper.coapp.sh
+14
-1
No files found.
repack.d/net.downloadhelper.coapp.sh
View file @
4d33b206
...
@@ -4,13 +4,26 @@ BUILDROOT="$1"
...
@@ -4,13 +4,26 @@ BUILDROOT="$1"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
PREINSTALL_PACKAGES
=
"ffmpeg ffplay ffprobe xdg-open"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
subst
'1iAutoReq:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
# fix libdir
# fix libdir
install_file /usr/lib/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json /usr/lib64/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json
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
remove_dir /usr/lib
#subst '1iAutoReq:no' $SPEC
# use ffmpeg from the system
remove_dir /opt/net.downloadhelper.coapp/converter/build/linux/64
mkdir
-p
opt/net.downloadhelper.coapp/converter/build/linux/64
pack_dir /opt/net.downloadhelper.coapp/converter/build/linux/64
for
i
in
ffplay ffmpeg ffprobe
;
do
ln
-s
/usr/bin/
$i
./opt/net.downloadhelper.coapp/converter/build/linux/64/
$i
pack_file /opt/net.downloadhelper.coapp/converter/build/linux/64/
$i
done
# use xdg-open from the system
rm
-v
./opt/net.downloadhelper.coapp/bin/xdg-open
ln
-s
/usr/bin/xdg-open ./opt/net.downloadhelper.coapp/bin/xdg-open
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