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
fb964015
Commit
fb964015
authored
Jul 16, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play.d: add SUPPORTEDARCHES for common checking supported arches
parent
4355274f
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
52 additions
and
63 deletions
+52
-63
anydesk.sh
play.d/anydesk.sh
+1
-0
assistant.sh
play.d/assistant.sh
+1
-0
atom.sh
play.d/atom.sh
+1
-2
brave.sh
play.d/brave.sh
+1
-1
chrome-remote-desktop.sh
play.d/chrome-remote-desktop.sh
+1
-2
chrome.sh
play.d/chrome.sh
+1
-2
chromium-gost.sh
play.d/chromium-gost.sh
+1
-2
code.sh
play.d/code.sh
+1
-0
common.sh
play.d/common.sh
+13
-0
discord.sh
play.d/discord.sh
+1
-1
draw.io.sh
play.d/draw.io.sh
+1
-3
eagle.sh
play.d/eagle.sh
+1
-2
edge.sh
play.d/edge.sh
+1
-1
geogebra.sh
play.d/geogebra.sh
+1
-0
ktalk.sh
play.d/ktalk.sh
+1
-3
mssql-server.sh
play.d/mssql-server.sh
+1
-2
mssql-tools.sh
play.d/mssql-tools.sh
+1
-2
obsidian.sh
play.d/obsidian.sh
+1
-2
onlyoffice.sh
play.d/onlyoffice.sh
+1
-3
r7office.sh
play.d/r7office.sh
+1
-2
sferum.sh
play.d/sferum.sh
+1
-0
skype.sh
play.d/skype.sh
+1
-2
snap4arduino.sh
play.d/snap4arduino.sh
+1
-0
spotify.sh
play.d/spotify.sh
+1
-2
sputnik-browser.sh
play.d/sputnik-browser.sh
+1
-2
steam.sh
play.d/steam.sh
+1
-2
sublime.sh
play.d/sublime.sh
+1
-0
sweethome3d.sh
play.d/sweethome3d.sh
+1
-0
tamtam.sh
play.d/tamtam.sh
+1
-0
teams.sh
play.d/teams.sh
+1
-2
teamviewer.sh
play.d/teamviewer.sh
+1
-0
telegram.sh
play.d/telegram.sh
+1
-2
viber.sh
play.d/viber.sh
+1
-3
vivaldi-codecs-ffmpeg-extra.sh
play.d/vivaldi-codecs-ffmpeg-extra.sh
+1
-3
vivaldi.sh
play.d/vivaldi.sh
+1
-0
xnview.sh
play.d/xnview.sh
+1
-10
yandex-browser-codecs-ffmpeg-extra.sh
play.d/yandex-browser-codecs-ffmpeg-extra.sh
+1
-3
yandex-browser.sh
play.d/yandex-browser.sh
+1
-2
yandex-disk.sh
play.d/yandex-disk.sh
+1
-0
zoom.sh
play.d/zoom.sh
+1
-0
No files found.
play.d/anydesk.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
anydesk
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
"AnyDesk from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
play.d/assistant.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
assistant
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Assistant (Ассистент) from the official site"
# Assistant reclaim their rpm package supports ALT
...
...
play.d/atom.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
atom-beta
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"The hackable text editor from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$($DISTRVENDOR --distro-arch)
#pkgtype=$($DISTRVENDOR -p)
arch
=
amd64
...
...
play.d/brave.sh
View file @
fb964015
...
...
@@ -3,6 +3,7 @@
DESCRIPTION
=
"Brave browser from the official site"
PKGNAME
=
brave-browser
SUPPORTEDARCHES
=
"x86_64"
if
[
"
$2
"
=
"beta"
]
||
epm installed
$PKGNAME
-beta
;
then
PKGNAME
=
$PKGNAME
-beta
fi
...
...
@@ -13,7 +14,6 @@ fi
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
arch
=
x86_64
pkgtype
=
rpm
...
...
play.d/chrome-remote-desktop.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
chrome-remote-desktop
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
''
# echo " Remote desktop support for google-chrome & chromium" && exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
echo
"It is not finished yet. Just skipping."
exit
0
...
...
play.d/chrome.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
google-chrome-stable
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"The popular and trusted web browser by Google (Stable Channel) from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$($DISTRVENDOR --distro-arch)
#pkgtype=$($DISTRVENDOR -p)
repack
=
''
...
...
play.d/chromium-gost.sh
View file @
fb964015
...
...
@@ -2,12 +2,11 @@
# filename does not contain -stable, but package name with -stable
PKGNAME
=
chromium-gost-stable
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Chromium with GOST support from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
if
epm installed chromium-gost
;
then
fatal
"Package chromium-gost is already installed from ALT repository."
fi
...
...
play.d/code.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
code
SUPPORTEDARCHES
=
"x86_64 armhf aarch64"
DESCRIPTION
=
"Visual Studio Code from the official site"
TIPS
=
"Run epm play code <version> to install specific version."
...
...
play.d/common.sh
View file @
fb964015
...
...
@@ -52,3 +52,16 @@ case "$1" in
;;
esac
check_supported_arch
()
{
# skip checking if no arches
[
-n
"
$1
"
]
||
return
0
for
i
in
$*
;
do
[
"
$(
epm print info
-a
)
"
=
"
$i
"
]
&&
return
0
done
return
1
}
check_supported_arch
$SUPPORTEDARCHES
||
fatal
"Only
$SUPPORTEDARCHES
is supported"
play.d/discord.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
discord
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Discord from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# curl can't get filename: https://github.com/curl/curl/issues/8461
epm assure wget
...
...
play.d/draw.io.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
draw.io
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"diagrams.net desktop"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
arch
=
amd64
pkgtype
=
deb
...
...
play.d/eagle.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
Autodesk_EAGLE
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"EAGLE (EDA software) from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
VERSION
=
9.6.2
IPFSHASH
=
Qmd38jJnTnUMUeJuKSDBGesqXF3SxEahUVZc6NUPyMKgj1
PKGURL
=
"https://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_
${
VERSION
}
_English_Linux_64bit.tar.gz"
...
...
play.d/edge.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
microsoft-edge-dev
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Microsoft Edge browser (dev) from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# epm uses eget to download * names
epm
install
"https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-dev/microsoft-edge-*_amd64.deb"
play.d/geogebra.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
geogebra-classic
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
"Geogebra 6 from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
play.d/ktalk.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
ktalk2022
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Контур.Толк (ktalk) from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
URL
=
"https://app.ktalk.ru/system/dist/download/linux"
# curl can't get filename: https://github.com/curl/curl/issues/8461
...
...
play.d/mssql-server.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
mssql-server
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"MS SQL Server 2019 from the official site"
DEBREPO
=
"deb http://ftp.ru.debian.org/debian/ stretch main"
...
...
@@ -15,8 +16,6 @@ fi
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
serv mssql-server stop
case
"
$(
$DISTRVENDOR
-d
)
"
in
...
...
play.d/mssql-tools.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
mssql-tools
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"MS SQL Server sqlcmd and bcp from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
...
...
@@ -10,8 +11,6 @@ fi
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
case
"
$(
$DISTRVENDOR
-d
)
"
in
"AstraLinux"
)
epm
install
unixodbc
...
...
play.d/obsidian.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
obsidian
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
'Obsidian from the official site'
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
arch
=
amd64
pkgtype
=
deb
...
...
play.d/onlyoffice.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
onlyoffice-desktopeditors
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"ONLYOFFICE for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$($DISTRVENDOR --distro-arch)
arch
=
amd64
#pkgtype=$($DISTRVENDOR -p)
...
...
play.d/r7office.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
r7-office
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"R7 Office for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$($DISTRVENDOR --distro-arch)
arch
=
amd64
#pkgtype=$($DISTRVENDOR -p)
...
...
play.d/sferum.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
sferum
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
"Sferum for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
play.d/skype.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
skypeforlinux
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Skype for Linux - Stable/Release Version from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$($DISTRVENDOR --distro-arch)
#pkgtype=$($DISTRVENDOR -p)
pkgtype
=
deb
...
...
play.d/snap4arduino.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
snap4arduino
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
"Snap4Arduino binds Snap! and Arduino together"
if
[
"
$1
"
=
"--remove"
]
;
then
...
...
play.d/spotify.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
spotify-client
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Spotify client for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# epm uses eget to download * names
epm
install
"https://repository-origin.spotify.com/pool/non-free/s/spotify-client/
$(
epm print constructname
$PKGNAME
"*"
amd64 deb
)
"
play.d/sputnik-browser.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
sputnik-browser-stable
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Sputnik browser from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported by vendor"
&&
exit
1
url_by_id_content
()
{
local
id_content
=
"
$1
"
...
...
play.d/steam.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
steam-launcher
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
''
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
epm
install
"https://cdn.akamai.steamstatic.com/client/installer/steam.deb"
play.d/sublime.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
sublime-text
SUPPORTEDARCHES
=
"x86_64 aarch64"
DESCRIPTION
=
'Sublime Text 4 from the official site'
.
$(
dirname
$0
)
/common.sh
...
...
play.d/sweethome3d.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
SweetHome3D
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
''
.
$(
dirname
$0
)
/common.sh
...
...
play.d/tamtam.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
tamtam-app
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
"TamTam messenger from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
play.d/teams.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
teams
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Microsoft Teams for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# rpm and deb contains the same binaries
#https://packages.microsoft.com/yumrepos/ms-teams/teams-1.3.00.25560-1.x86_64.rpm
...
...
play.d/teamviewer.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
"teamviewer"
SUPPORTEDARCHES
=
"x86_64 armhf"
DESCRIPTION
=
"Teamviewer from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
play.d/telegram.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
Telegram
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Telegram client from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
...
...
@@ -12,8 +13,6 @@ fi
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/telegramdesktop/tdesktop/releases
"tsetup.*.tar.xz"
)
#"
[
-n
"
$PKGURL
"
]
||
fatal
"Can't get package URL"
PKGFILE
=
$(
echo
/tmp/
$(
basename
$PKGURL
)
|
sed
-e
"s|/tsetup|/
$PKGNAME
|"
)
...
...
play.d/viber.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
viber
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Viber for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# the same binaries in deb and rpm
PKG
=
"https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb"
...
...
play.d/vivaldi-codecs-ffmpeg-extra.sh
View file @
fb964015
...
...
@@ -11,12 +11,10 @@ fi
BASEPKGNAME
=
vivaldi-
$BRANCH
PKGNAME
=
vivaldi-
$BRANCH
-codecs-ffmpeg-extra
SUPPORTEDARCHES
=
"x86_64"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
VIVALDI_VERSION
=
$(
epm print version
for
package vivaldi-stable
)
||
fatal
epm
install
--skip-installed
tar
binutils
||
exit
...
...
play.d/vivaldi.sh
View file @
fb964015
...
...
@@ -7,6 +7,7 @@ if [ "$2" = "snapshot" ] || epm installed vivaldi-snapshot ; then
BRANCH
=
snapshot
fi
PKGNAME
=
vivaldi-
$BRANCH
SUPPORTEDARCHES
=
"x86_64 x86 aarch64 armhf"
.
$(
dirname
$0
)
/common.sh
...
...
play.d/xnview.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
xnview
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"XnView MP: Image management from the official site"
.
$(
dirname
$0
)
/common.sh
repack
=
'--repack'
arch
=
$(
$DISTRVENDOR
--distro-arch
)
case
$arch
in
x86_64|amd64
)
;;
*
)
fatal
"Unsupported arch
$arch
for
$(
$DISTRVENDOR
-d
)
"
esac
epm
install
https://download.xnview.com/XnViewMP-linux-x64.deb
play.d/yandex-browser-codecs-ffmpeg-extra.sh
View file @
fb964015
...
...
@@ -11,12 +11,10 @@ fi
BASEPKGNAME
=
yandex-browser-
$BRANCH
PKGNAME
=
yandex-browser-
$BRANCH
-codecs-ffmpeg-extra
SUPPORTEDARCHES
=
"x86_64"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# used in update-ffmpeg
epm
install
--skip-installed
jq
tar
binutils
||
exit
...
...
play.d/yandex-browser.sh
View file @
fb964015
...
...
@@ -11,11 +11,10 @@ if [ "$2" = "beta" ] || epm installed yandex-browser-beta ; then
fi
PKGNAME
=
yandex-browser-
$BRANCH
SUPPORTEDARCHES
=
"x86_64"
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# See also https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=yandex-browser-beta
# epm uses eget to download * names
...
...
play.d/yandex-disk.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
yandex-disk
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
"Yandex Disk from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
play.d/zoom.sh
View file @
fb964015
#!/bin/sh
PKGNAME
=
zoom
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
"Zoom client from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
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