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
85ff745a
Commit
85ff745a
authored
Mar 11, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add codium
parent
f8f73d4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
0 deletions
+56
-0
codium.sh
play.d/codium.sh
+32
-0
codium.sh
repack.d/codium.sh
+24
-0
No files found.
play.d/codium.sh
0 → 100755
View file @
85ff745a
#!/bin/sh
PKGNAME
=
codium
SUPPORTEDARCHES
=
"x86_64 armhf"
DESCRIPTION
=
"Codium from the official site"
.
$(
dirname
$0
)
/common.sh
VERSION
=
"
$2
"
arch
=
"
$(
$DISTRVENDOR
-a
)
"
pkgtype
=
"
$(
$DISTRVENDOR
-p
)
"
case
"
$arch
-
$pkgtype
"
in
x86_64-deb
)
arch
=
amd64
;;
armhf-rpm
)
arch
=
armv7hl
;;
aarch64
)
arch
=
arm64
;;
esac
PKG
=
$(
epm tool eget
--list
--latest
https://github.com/VSCodium/vscodium/releases
"
$PKGNAME
-*
$arch
.
$pkgtype
"
)
||
fatal
"Can't get package URL"
# we have workaround for their postinstall script, so always repack rpm package
[
"
$pkgtype
"
=
"deb"
]
||
repack
=
'--repack'
epm
install
$repack
"
$PKG
"
||
exit
repack.d/codium.sh
0 → 100755
View file @
85ff745a
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
codium
.
$(
dirname
$0
)
/common.sh
move_to_opt
subst
'1iAutoReq:yes,nomonolib,nomono'
$SPEC
subst
'1iAutoProv:no'
$SPEC
remove_file /usr/bin/
$PRODUCT
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/bin/
$PRODUCT
fix_desktop_file /usr/share/codium/bin/codium
#fix_chrome_sandbox
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
epm
install
--skip-installed
at-spi2-atk coreutils findutils gawk glib2 libalsa libatk libat-spi2-core libcairo libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libsecret libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libxkbfile libXrandr libXrender libXScrnSaver libXtst
sed
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