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
2782c848
Commit
2782c848
authored
Mar 20, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: move wine to play list
parent
8e84e6ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
wine.sh
play.d/wine.sh
+14
-6
No files found.
p
rescription
.d/wine.sh
→
p
lay
.d/wine.sh
View file @
2782c848
#!/bin/sh
PKGNAME
=
wine
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
'Wine 32/64 from the repo'
TIPS
=
"Run epm play wine=wine-vanilla to install wine-vanilla package"
MAIN
=
wine
vendor
=
"
$(
epm print info
-s
)
"
;
[
"
$vendor
"
=
"alt"
]
||
{
echo
"Only ALT distros is supported for now"
;
exit
1
;
}
...
...
@@ -7,23 +12,26 @@ arch="$(epm print info -a)"
PKGCOMMON
=
"wine-mono wine-gecko winetricks"
[
-n
"
$2
"
]
&&
MAIN
=
"
$2
"
if
[
"
$MAIN
"
=
"wine-etersoft"
]
;
then
PKGCOMMON
=
"wine-etersoft-mono wine-etersoft-gecko wine-etersoft-winetricks"
PKGNAMES32
=
"wine32-etersoft"
fi
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$(
epmqp
$MAIN
-
)
epm remove
$PKGCOMMON
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Install
$MAIN
packages (add wine-vanilla if you need these packages)"
&&
exit
.
$(
dirname
$0
)
/common.sh
ONLY32
=
''
[
"
$2
"
==
"--only-i586"
]
&&
ONLY32
=
1
&&
shift
[
-n
"
$2
"
]
&&
MAIN
=
"
$2
"
if
[
"
$MAIN
"
=
"wine-etersoft"
]
;
then
PKGCOMMON
=
"wine-etersoft-mono wine-etersoft-gecko wine-etersoft-winetricks"
PKGNAMES32
=
"wine32-etersoft"
else
if
[
"
$MAIN
"
!=
"wine-etersoft"
]
;
then
# do some magic: if winetricks more than 20210206, we have new wine package naming
epm
install
winetricks
||
exit
1
...
...
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