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
dc02b057
Commit
dc02b057
authored
Mar 20, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play yandex-browser: install codecs directly via epm pack
parent
415709d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
21 deletions
+7
-21
yandex-browser-stable-codecs-ffmpeg-extra.sh
pack.d/yandex-browser-stable-codecs-ffmpeg-extra.sh
+4
-3
yandex-browser-codecs-ffmpeg-extra.sh
play.d/yandex-browser-codecs-ffmpeg-extra.sh
+0
-17
yandex-browser.sh
play.d/yandex-browser.sh
+3
-1
No files found.
pack.d/yandex-browser-stable-codecs-ffmpeg-extra.sh
View file @
dc02b057
...
...
@@ -5,8 +5,10 @@ RETURNTARNAME="$2"
.
$(
dirname
$0
)
/common.sh
CURDIR
=
$(
pwd
)
PRODUCTDIR
=
"
$(
dirname
$UPDATEFFMPEG
)
"
[
-x
"
$UPDATEFFMPEG
"
]
||
fatal
"
$UPDATEFFMPEG
is missed"
CURDIR
=
"
$(
pwd
)
"
PRODUCTDIR
=
"
$(
dirname
"
$UPDATEFFMPEG
"
)
"
BASEPKGNAME
=
yandex-browser-stable
PKGNAME
=
$(
basename
$0
.sh
)
...
...
@@ -34,7 +36,6 @@ URL="https://browser-resources.s3.yandex.net/linux/codecs.json"
update_url_if_need_mirrored
# download ffmpeg with upstream script update-ffmpeg but with our pack_ffmpeg function
[
-x
$UPDATEFFMPEG
]
||
fatal
"
$UPDATEFFMPEG
is missed"
SC
=
$(
mktemp
)
trap
"rm -f
$SC
"
EXIT
sed
-e
's|install_ffmpeg &&|pack_ffmpeg \&\&|'
\
...
...
play.d/yandex-browser-codecs-ffmpeg-extra.sh
deleted
100755 → 0
View file @
415709d4
#!/bin/sh
SUPPORTEDARCHES
=
"x86_64"
PRODUCTALT
=
"stable beta"
DESCRIPTION
=
''
BRANCH
=
stable
if
[
"
$2
"
=
"beta"
]
||
epm installed yandex-browser-beta-codecs-ffmpeg-extra
;
then
BRANCH
=
beta
fi
BASEPKGNAME
=
yandex-browser-
$BRANCH
PKGNAME
=
$BASEPKGNAME
-codecs-ffmpeg-extra
.
$(
dirname
$0
)
/common.sh
epm pack
--install
$PKGNAME
play.d/yandex-browser.sh
View file @
dc02b057
...
...
@@ -4,6 +4,7 @@ DESCRIPTION="Yandex browser from the official site"
TIPS
=
"Run 'epm play yandex-browser=beta' to install beta version of the browser."
PRODUCTALT
=
"stable beta"
BRANCH
=
stable
if
[
"
$2
"
=
"beta"
]
||
epm installed yandex-browser-beta
;
then
BRANCH
=
beta
...
...
@@ -37,4 +38,5 @@ else
epm
install
"
$URL
/rpm/stable/x86_64/
$(
epm print constructname
$PKGNAME
"*"
x86_64 rpm
)
"
||
exit
fi
epm play yandex-browser-codecs-ffmpeg-extra
$BRANCH
UPDATEFFMPEG
=
$(
epm ql
$PKGNAME
|
grep
update-ffmpeg
)
||
fatal
epm pack
--install
$PKGNAME
-codecs-ffmpeg-extra
$UPDATEFFMPEG
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