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
Nurlan
eepm
Commits
5be0d687
Commit
5be0d687
authored
Mar 18, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play yandex-browser: add install yandex-browser-beta-codecs-ffmpeg-extra (ALT bug 40113)
parent
84638926
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
7 deletions
+27
-7
yandex-browser.sh
prescription.d/yandex-browser.sh
+26
-6
yandex-browser-beta.sh
repack.d/yandex-browser-beta.sh
+1
-1
No files found.
prescription.d/yandex-browser.sh
View file @
5be0d687
...
...
@@ -23,9 +23,29 @@ fi
# epm uses eget to download * names
epm
install
"https://repo.yandex.ru/yandex-browser/deb/pool/main/y/yandex-browser-beta/
$(
epm print constructname
$PKGNAME
"*"
amd64 deb
)
"
echo
echo
'
You can run
# /opt/yandex/browser-beta/update-ffmpeg
to download and install libffmpeg.so with proprietary codecs from chromium-codecs-ffmpeg-extra package
'
# used in update-ffmpeg
epm
install
jq
tar
binutils
# install appropriate ffmpeg extra codecs
pack_ffmpeg
()
{
SOURCE
=
"usr/lib/chromium-browser/libffmpeg.so"
DEST
=
"/opt/yandex/browser-beta"
mkdir
-p
.
$DEST
cp
$SOURCE
.
$DEST
CNAME
=
$(
echo
"
$(
basename
$SUITABLE_URLS
)
"
|
sed
-e
"s|chromium|
$PKGNAME
|"
-e
"s|-0ubuntu.*|-1.tar|"
)
tar
cvf
$CNAME
./
$(
dirname
$DEST
)
epm
--repack
install
$CNAME
}
[
-s
/opt/yandex/browser-beta/update-ffmpeg
]
||
fatal
"/opt/yandex/browser-beta/update-ffmpeg is missed"
SC
=
$(
mktemp
)
sed
-e
's|install_ffmpeg &&|pack_ffmpeg &&|'
< /opt/yandex/browser-beta/update-ffmpeg
>
$SC
.
$SC
rm
-f
$SC
#echo
#echo '
#You can run
# # /opt/yandex/browser-beta/update-ffmpeg
#to download and install libffmpeg.so with proprietary codecs from chromium-codecs-ffmpeg-extra package
#'
repack.d/yandex-browser-beta.sh
View file @
5be0d687
...
...
@@ -28,4 +28,4 @@ fi
[
-x
$BUILDROOT
/usr/bin/yandex-browser
]
||
ln
-sv
yandex-browser-beta
$BUILDROOT
/usr/bin/yandex-browser
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
epm
install
--skip-installed
at-spi2-atk
binutils coreutils file gawk GConf glib2
grep
libalsa libatk libat-spi2-core libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst perl-File-MimeInfo-scripts
sed tar
which xdg-utils xprop
epm
install
--skip-installed
at-spi2-atk
file gawk GConf glib2
grep
libalsa libatk libat-spi2-core libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst perl-File-MimeInfo-scripts
sed tar
which xdg-utils xprop jq
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