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
e0381b11
Commit
e0381b11
authored
Mar 28, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add nwjs-ffmpeg-prebuilt
parent
7bdd7330
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
0 deletions
+53
-0
nwjs-ffmpeg-prebuilt.sh
pack.d/nwjs-ffmpeg-prebuilt.sh
+27
-0
nwjs-ffmpeg-prebuilt.sh
play.d/nwjs-ffmpeg-prebuilt.sh
+14
-0
nwjs-ffmpeg-prebuilt.sh
repack.d/nwjs-ffmpeg-prebuilt.sh
+12
-0
No files found.
pack.d/nwjs-ffmpeg-prebuilt.sh
0 → 100755
View file @
e0381b11
#!/bin/sh -x
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
URL
=
"
$4
"
.
$(
dirname
$0
)
/common.sh
erc
$TAR
||
fatal
[
-n
libffmpeg.so
]
||
fatal
chmod
0644 libffmpeg.so
mkdir
-p
usr/lib64/ffmpeg-plugin-browser
mv
libffmpeg.so usr/lib64/ffmpeg-plugin-browser/
if
[
-z
"
$VERSION
"
]
&&
rhas
"
$URL
"
"github.com.*/releases/download"
;
then
VERSION
=
"
$(
echo
"
$URL
"
|
sed
-e
's|.*/releases/download/||'
-e
"s|/
$(
basename
$TAR
)
||"
)
"
fi
[
-n
"
$VERSION
"
]
||
fatal
"Can't get version from either tarball
$TAR
or URL
$URL
"
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
erc a
$PKGNAME
usr
return_tar
$PKGNAME
play.d/nwjs-ffmpeg-prebuilt.sh
0 → 100755
View file @
e0381b11
#!/bin/sh
PKGNAME
=
'nwjs-ffmpeg-prebuilt'
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
'FFmpeg prebuilt binaries for NW.js / Chromium from the official project site'
URL
=
"https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/"
.
$(
dirname
$0
)
/common.sh
# https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.85.0/0.85.0-linux-x64.zip
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases
"
${
VERSION
}
-linux-x64.zip"
)
||
fatal
"Can't get package URL"
epm pack
--install
$PKGNAME
$PKGURL
repack.d/nwjs-ffmpeg-prebuilt.sh
0 → 100755
View file @
e0381b11
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
subst
'1iConflicts: ffmpeg-plugin-browser'
$SPEC
subst
'1iProvides: ffmpeg-plugin-browser'
$SPEC
add_libs_requires
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