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
8e6e1e4b
Commit
8e6e1e4b
authored
Aug 24, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add epm play wine script (supports new wine with new package naming scheme install)
parent
bf7bee33
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
4 deletions
+64
-4
i586-wine-etersoft.sh
prescription.d/i586-wine-etersoft.sh
+5
-2
i586-wine-vanilla.sh
prescription.d/i586-wine-vanilla.sh
+3
-1
i586-wine.sh
prescription.d/i586-wine.sh
+3
-1
wine.sh
prescription.d/wine.sh
+53
-0
No files found.
prescription.d/i586-wine-etersoft.sh
View file @
8e6e1e4b
...
@@ -12,10 +12,13 @@ if [ "$1" = "--remove" ] ; then
...
@@ -12,10 +12,13 @@ if [ "$1" = "--remove" ] ; then
exit
exit
fi
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Install 32 bit
$MAIN
packages on 64 bit system"
&&
exit
[
"
$1
"
!=
"--run"
]
&&
e
xit
#e
cho "Install 32 bit $MAIN packages on 64 bit system" && exit
# Устанавливаем wine
# Устанавливаем wine
epm
install
$PKGNAMES
||
exit
epm
install
$PKGNAMES
||
exit
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
epm prescription i586-fix
epm prescription i586-fix
||
exit
echo
"See '# epm play wine wine-etersoft' command to get best result."
prescription.d/i586-wine-vanilla.sh
View file @
8e6e1e4b
...
@@ -18,4 +18,6 @@ fi
...
@@ -18,4 +18,6 @@ fi
epm
install
$PKGNAMES
||
exit
epm
install
$PKGNAMES
||
exit
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
epm prescription i586-fix
epm prescription i586-fix
||
exit
echo
"See '# epm play wine wine-vanilla' command to get best result."
prescription.d/i586-wine.sh
View file @
8e6e1e4b
...
@@ -18,4 +18,6 @@ fi
...
@@ -18,4 +18,6 @@ fi
epm
install
$PKGNAMES
||
exit
epm
install
$PKGNAMES
||
exit
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
epm prescription i586-fix
epm prescription i586-fix
||
exit
echo
"See '# epm play wine' command to get best result."
prescription.d/wine.sh
0 → 100755
View file @
8e6e1e4b
#!/bin/sh
MAIN
=
wine
[
-n
"
$2
"
]
&&
MAIN
=
"
$2
"
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
arch
=
"
$(
$DISTRVENDOR
-a
)
"
PKGCOMMON
=
"wine-mono wine-gecko winetricks"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$(
epmqp
$MAIN
-
)
epm remove
$PKGCOMMON
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Install
$MAIN
packages"
&&
exit
# do some magic: if winetricks more than 20210206, we have new wine package naming
epm
install
winetricks
||
exit
1
WTVER
=
"
$(
epm print version
for
package winetricks
)
"
if
[
"
$(
epm print compare package version
"
$WTVER
"
"20210206"
)
"
=
"1"
]
;
then
PKGNAMES
=
"
$MAIN
-full
$MAIN
-twain
$PKGCOMMON
"
PKGNAMES32
=
"i586-
$MAIN
i586-
$MAIN
-gl i586-
$MAIN
-twain"
else
# old naming scheme
PKGNAMES
=
"
$MAIN
lib
$MAIN
lib
$MAIN
-gl lib
$MAIN
-twain
$PKGCOMMON
"
PKGNAMES32
=
''
echo
"We recommend ask about more new wine from your vendor."
fi
case
$arch
in
x86_64
)
PKGNAMES
=
"
$PKGNAMES
$PKGNAMES32
"
;;
*
)
echo
"Arch
$arch
is not yet supported"
&&
exit
1
esac
# Устанавливаем wine
epm
install
$PKGNAMES
||
exit
# TODO:
# epm policy $MAIN-gl 2>/dev/null >/dev/null || OLD wine packaging name scheme
case
$arch
in
x86_64
)
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
epm prescription i586-fix
;;
esac
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