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
Vladislav
eepm
Commits
d6352add
Commit
d6352add
authored
Apr 30, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add unityhub
parent
c24f241e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
88 additions
and
0 deletions
+88
-0
unityhub.sh
play.d/unityhub.sh
+69
-0
unityhub.sh
repack.d/unityhub.sh
+19
-0
No files found.
play.d/unityhub.sh
0 → 100755
View file @
d6352add
#!/bin/sh
PKGNAME
=
unityhub
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Unity Hub from the official site"
REPOURL
=
"https://unity.com/"
.
$(
dirname
$0
)
/common.sh
arch
=
amd64
reponame
=
$(
epm print info
--repo-name
)
vendor
=
$(
epm print info
-s
)
#version=$(epm print info --base-version)
# https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=unityhub
case
$vendor
in
alt
)
if
[
"
$VERSION
"
=
"*"
]
;
then
case
$reponame
in
p10
)
VERSION
=
"3.3.0"
;;
*
)
VERSION
=
"3.4.2"
;;
esac
fi
PKGURL
=
https://hub.unity3d.com/linux/repos/deb/pool/main/u/unity/unityhub_
$arch
/unityhub-amd64-
$VERSION
.deb
epm
install
--repack
"
$PKGURL
"
exit
;;
esac
case
$vendor
/
$reponame
in
alt/Sisyphus
)
epm repo addkey
"https://angie.software/keys/angie-signing.gpg"
"EB8EAF3D4EF1B1ECF34865A2617AB978CB849A76"
"Angie (Signing Key) <devops@tech.wbsrv.ru>"
angie
epm repo add
"rpm [angie] https://download.angie.software/angie/altlinux/10/ x86_64 main"
epm update
epm
install
$PKGNAME
;;
alt/p10
)
epm repo addkey
"https://angie.software/keys/angie-signing.gpg"
"EB8EAF3D4EF1B1ECF34865A2617AB978CB849A76"
"Angie (Signing Key) <devops@tech.wbsrv.ru>"
angie
epm repo add
"rpm [angie] https://download.angie.software/angie/altlinux/10/ x86_64 main"
epm update
epm
install
$PKGNAME
;;
esac
case
$(
epm print info
-p
)
in
rpm
)
epm repo addkey unityhub
"https://hub.unity3d.com/linux/repos/rpm/stable"
"https://hub.unity3d.com/linux/repos/rpm/stable/repodata/repomd.xml.key"
"Unity Hub"
;;
deb
)
epm repo addkey
"https://hub.unity3d.com/linux/keys/public"
# TODO
#epm repo add "deb [signedby=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main"
epm repo add
"deb https://hub.unity3d.com/linux/repos/deb stable main"
;;
esac
epm update
epm
install
$PKGNAME
exit
repack.d/unityhub.sh
0 → 100755
View file @
d6352add
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
PREINSTALL_PACKAGES
=
"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"
.
$(
dirname
$0
)
/common.sh
add_bin_link_command
fix_desktop_file
fix_chrome_sandbox
subst
'1iAutoProv:no'
$SPEC
subst
'1iAutoReq:yes,nomono,nomonolib'
$SPEC
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