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
06999a27
Commit
06999a27
authored
Jul 16, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play edge: add support for stable, beta and dev install
parent
c5593bf2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
4 deletions
+79
-4
edge.sh
play.d/edge.sh
+11
-3
microsoft-edge-beta.sh
repack.d/microsoft-edge-beta.sh
+33
-0
microsoft-edge-dev.sh
repack.d/microsoft-edge-dev.sh
+1
-1
microsoft-edge-stable.sh
repack.d/microsoft-edge-stable.sh
+34
-0
No files found.
play.d/edge.sh
View file @
06999a27
#!/bin/sh
#!/bin/sh
PKGNAME
=
microsoft-edge-dev
BASEPKGNAME
=
microsoft-edge
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64"
PRODUCTALT
=
"stable beta dev"
DESCRIPTION
=
"Microsoft Edge browser (dev) from the official site"
DESCRIPTION
=
"Microsoft Edge browser (dev) from the official site"
.
$(
dirname
$0
)
/common.sh
BRANCH
=
stable
for
i
in
$PRODUCTALT
;
do
if
[
"
$2
"
=
"
$i
"
]
||
epm installed
$BASEPKGNAME
-
$i
;
then
BRANCH
=
"
$i
"
fi
done
PKGNAME
=
$BASEPKGNAME
-
$BRANCH
.
$(
dirname
$0
)
/common.sh
# epm uses eget to download * names
# epm uses eget to download * names
epm
install
"https://packages.microsoft.com/repos/edge/pool/main/m/
microsoft-edge-dev/microsoft-edge-
*_amd64.deb"
epm
install
"https://packages.microsoft.com/repos/edge/pool/main/m/
$PKGNAME
/
${
PKGNAME
}
_
*_amd64.deb"
repack.d/microsoft-edge-beta.sh
0 → 100755
View file @
06999a27
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
microsoft-edge
PRODUCTCUR
=
microsoft-edge-beta
PRODUCTDIR
=
/opt/microsoft/msedge-beta
.
$(
dirname
$0
)
/common-chromium-browser.sh
set_alt_alternatives 65
copy_icons_to_share
cleanup
add_bin_commands
use_system_xdg
install_deps
#if ! grep -q '^"/usr/bin/microsoft-edge"' $SPEC ; then
# subst 's|\(.*/usr/bin/microsoft-edge-beta.*\)|"/usr/bin/microsoft-edge"\n\1|' $SPEC
#fi
# fix wrong interpreter
epm assure patchelf
||
exit
for
i
in
$BUILDROOT$PRODUCTDIR
/libmip_
*
.so
;
do
[
"
$(
a
=
patchelf
--print-interpreter
$i
)
"
=
"/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2"
]
&&
a
=
patchelf
--set-interpreter
/lib64/ld-linux-x86-64.so.2
$i
done
repack.d/microsoft-edge-dev.sh
View file @
06999a27
...
@@ -28,7 +28,7 @@ install_deps
...
@@ -28,7 +28,7 @@ install_deps
# fix wrong interpreter
# fix wrong interpreter
epm assure patchelf
||
exit
epm assure patchelf
||
exit
for
i
in
$BUILDROOT
/opt/microsoft/msedge-dev
/libmip_
*
.so
;
do
for
i
in
$BUILDROOT
$PRODUCTDIR
/libmip_
*
.so
;
do
[
"
$(
a
=
patchelf
--print-interpreter
$i
)
"
=
"/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2"
]
&&
a
=
patchelf
--set-interpreter
/lib64/ld-linux-x86-64.so.2
$i
[
"
$(
a
=
patchelf
--print-interpreter
$i
)
"
=
"/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2"
]
&&
a
=
patchelf
--set-interpreter
/lib64/ld-linux-x86-64.so.2
$i
done
done
repack.d/microsoft-edge-stable.sh
0 → 100755
View file @
06999a27
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
microsoft-edge
PRODUCTCUR
=
microsoft-edge-stable
PRODUCTDIR
=
/opt/microsoft/msedge
.
$(
dirname
$0
)
/common-chromium-browser.sh
set_alt_alternatives 65
copy_icons_to_share
cleanup
add_bin_commands
use_system_xdg
install_deps
#if ! grep -q '^"/usr/bin/microsoft-edge"' $SPEC ; then
# subst 's|\(.*/usr/bin/microsoft-edge-stable.*\)|"/usr/bin/microsoft-edge"\n\1|' $SPEC
#fi
# fix wrong interpreter
epm assure patchelf
||
exit
for
i
in
$BUILDROOT$PRODUCTDIR
/libmip_
*
.so
;
do
[
"
$(
a
=
patchelf
--print-interpreter
$i
)
"
=
"/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2"
]
&&
a
=
patchelf
--set-interpreter
/lib64/ld-linux-x86-64.so.2
$i
done
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