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
1530d410
Commit
1530d410
authored
Jul 21, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play yandex-browser: install for ALT from rpm (the same binaries), add…
epm play yandex-browser: install for ALT from rpm (the same binaries), add support for corporate package
parent
bb934348
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
5 deletions
+49
-5
yandex-browser-corporate-codecs-ffmpeg-extra.sh
pack.d/yandex-browser-corporate-codecs-ffmpeg-extra.sh
+2
-0
yandex-browser-stable-codecs-ffmpeg-extra.sh
pack.d/yandex-browser-stable-codecs-ffmpeg-extra.sh
+2
-0
yandex-browser.sh
play.d/yandex-browser.sh
+9
-5
yandex-browser-beta.sh
repack.d/yandex-browser-beta.sh
+1
-0
yandex-browser-corporate.sh
repack.d/yandex-browser-corporate.sh
+34
-0
yandex-browser-stable.sh
repack.d/yandex-browser-stable.sh
+1
-0
No files found.
pack.d/yandex-browser-corporate-codecs-ffmpeg-extra.sh
0 → 120000
View file @
1530d410
yandex-browser-stable-codecs-ffmpeg-extra.sh
\ No newline at end of file
pack.d/yandex-browser-stable-codecs-ffmpeg-extra.sh
View file @
1530d410
...
...
@@ -13,6 +13,8 @@ BASEPKGNAME=yandex-browser-stable
if
echo
"
$PRODUCT
"
|
grep
-q
"yandex-browser-beta"
;
then
BASEPKGNAME
=
yandex-browser-beta
elif
echo
"
$PRODUCT
"
|
grep
-q
"yandex-browser-corporate"
;
then
BASEPKGNAME
=
yandex-browser-corporate
fi
# used in update-ffmpeg
...
...
play.d/yandex-browser.sh
View file @
1530d410
...
...
@@ -2,7 +2,7 @@
BASEPKGNAME
=
yandex-browser
SUPPORTEDARCHES
=
"x86_64"
PRODUCTALT
=
"stable beta"
PRODUCTALT
=
"stable beta
corporate
"
VERSION
=
"
$2
"
DESCRIPTION
=
"Yandex browser from the official site"
TIPS
=
"Run 'epm play yandex-browser=beta' to install beta version of the browser."
...
...
@@ -13,11 +13,15 @@ TIPS="Run 'epm play yandex-browser=beta' to install beta version of the browser.
URL
=
"https://repo.yandex.ru/yandex-browser"
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
[
"
$(
epm print info
-p
)
"
!=
"rpm"
]
;
then
epm
install
"
$URL
/deb/pool/main/y/
$PKGNAME
/
$(
epm print constructname
$PKGNAME
"
$VERSION
*"
amd64 deb
)
"
||
exit
else
repack
=
''
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
'--repack'
if
[
"
$(
epm print info
-p
)
"
=
"rpm"
]
;
then
# https://repo.yandex.ru/yandex-browser/rpm/stable/x86_64/yandex-browser-stable-23.1.1.1114-1.x86_64.rpm
epm
install
"
$URL
/rpm/stable/x86_64/
$(
epm print constructname
$PKGNAME
"
$VERSION
*"
x86_64 rpm
)
"
||
exit
epm
install
--repack
"
$URL
/rpm/stable/x86_64/
$(
epm print constructname
$PKGNAME
"
$VERSION
*"
x86_64 rpm
)
"
||
exit
else
# https://repo.yandex.ru/yandex-browser/deb/pool/main/y/yandex-browser-beta/yandex-browser-beta_23.5.4.682-1_amd64.deb
epm
install
"
$URL
/deb/pool/main/y/
$PKGNAME
/
$(
epm print constructname
$PKGNAME
"
$VERSION
*"
amd64 deb
)
"
||
exit
fi
UPDATEFFMPEG
=
$(
epm ql
$PKGNAME
|
grep
update-ffmpeg
)
||
fatal
...
...
repack.d/yandex-browser-beta.sh
View file @
1530d410
...
...
@@ -11,6 +11,7 @@ PRODUCTDIR=/opt/yandex/browser-beta
.
$(
dirname
$0
)
/common-chromium-browser.sh
subst
'1iConflicts: yandex-browser-stable'
$SPEC
subst
'1iConflicts: yandex-browser-corporate'
$SPEC
subst
"s|^
\(
Version:.*
\)
|
\1\n
Provides: yandex-browser = %version|"
$SPEC
...
...
repack.d/yandex-browser-corporate.sh
0 → 100755
View file @
1530d410
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
yandex-browser
PRODUCTCUR
=
yandex-browser-corporate
PRODUCTDIR
=
/opt/yandex/browser
.
$(
dirname
$0
)
/common-chromium-browser.sh
subst
'1iConflicts: yandex-browser-stable'
$SPEC
subst
'1iConflicts: yandex-browser-beta'
$SPEC
subst
"s|^
\(
Version:.*
\)
|
\1\n
Provides: yandex-browser = %version|"
$SPEC
add_findreq_skiplist
$PRODUCTDIR
/update-ffmpeg
# this package can be missed
epm
install
--skip-installed
--no-remove
fonts-ttf-google-noto-emoji-color
&&
add_requires fonts-ttf-google-noto-emoji-color
set_alt_alternatives 65
copy_icons_to_share
cleanup
add_bin_commands
use_system_xdg
add_chromium_deps
fix_desktop_file /usr/bin/
$PRODUCTCUR
repack.d/yandex-browser-stable.sh
View file @
1530d410
...
...
@@ -11,6 +11,7 @@ PRODUCTDIR=/opt/yandex/browser
.
$(
dirname
$0
)
/common-chromium-browser.sh
subst
'1iConflicts: yandex-browser-beta'
$SPEC
subst
'1iConflicts: yandex-browser-corporate'
$SPEC
subst
"s|^
\(
Version:.*
\)
|
\1\n
Provides: yandex-browser = %version|"
$SPEC
add_findreq_skiplist
$PRODUCTDIR
/update-ffmpeg
...
...
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