Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
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
PortWINE
Commits
33707071
Commit
33707071
authored
Mar 29, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use runtime in flatpack
parent
8d04691d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
functions_helper
data_from_portwine/scripts/functions_helper
+3
-4
runlib
data_from_portwine/scripts/runlib
+2
-3
No files found.
data_from_portwine/scripts/functions_helper
View file @
33707071
...
@@ -541,8 +541,8 @@ init_wine_ver () {
...
@@ -541,8 +541,8 @@ init_wine_ver () {
fi
fi
if
[
"
${
PW_USE_GSTREAMER
}
"
=
1
]
;
then
if
[
[
"
${
PW_USE_GSTREAMER
}
"
==
1
]
]
;
then
if
[
-d
"
${
WINEDIR
}
/lib64/gstreamer-1.0"
]
;
then
if
[
[
-d
"
${
WINEDIR
}
/lib64/gstreamer-1.0"
]
]
;
then
export
GST_PLUGIN_SYSTEM_PATH_1_0
=
"
${
WINEDIR
}
/lib64/gstreamer-1.0:
${
WINEDIR
}
/lib/gstreamer-1.0"
export
GST_PLUGIN_SYSTEM_PATH_1_0
=
"
${
WINEDIR
}
/lib64/gstreamer-1.0:
${
WINEDIR
}
/lib/gstreamer-1.0"
fi
fi
create_new_dir
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/
create_new_dir
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/
...
@@ -560,8 +560,7 @@ init_wine_ver () {
...
@@ -560,8 +560,7 @@ init_wine_ver () {
pw_init_runtime
()
{
pw_init_runtime
()
{
if
[[
"
$PW_USE_RUNTIME
"
!=
1
]]
\
if
[[
"
$PW_USE_RUNTIME
"
!=
1
]]
\
||
[[
"
$PW_WINE_USE
"
==
"USE_SYSTEM_WINE"
]]
\
||
[[
"
$PW_WINE_USE
"
==
"USE_SYSTEM_WINE"
]]
||
check_flatpak
then
then
export
pw_runtime
=
""
export
pw_runtime
=
""
return
0
return
0
...
...
data_from_portwine/scripts/runlib
View file @
33707071
...
@@ -676,8 +676,7 @@ pw_run () {
...
@@ -676,8 +676,7 @@ pw_run () {
print_var
"WINEDLLPATH"
"WINE_CPU_TOPOLOGY"
"PW_RUN_GAMESCOPE"
"LD_LIBRARY_PATH"
print_var
"WINEDLLPATH"
"WINE_CPU_TOPOLOGY"
"PW_RUN_GAMESCOPE"
"LD_LIBRARY_PATH"
kill
-s
SIGUSR1
"
$PW_YAD_PID_PFX_COVER_UI
"
&>/dev/null
kill
-s
SIGUSR1
"
$PW_YAD_PID_PFX_COVER_UI
"
&>/dev/null
if
[[
"
$PW_USE_RUNTIME
"
==
1
]]
\
if
[[
"
$PW_USE_RUNTIME
"
==
1
]]
\
&&
[[
"
$PW_WINE_USE
"
!=
"USE_SYSTEM_WINE"
]]
\
&&
[[
"
$PW_WINE_USE
"
!=
"USE_SYSTEM_WINE"
]]
&&
!
check_flatpak
then
then
if
[[
"
${
PW_LOG
}
"
==
1
]]
;
then
if
[[
"
${
PW_LOG
}
"
==
1
]]
;
then
if
check_start_from_steam
;
then
if
check_start_from_steam
;
then
...
@@ -897,7 +896,7 @@ if [[ -z "${INSTALLING_PORT}" ]] ; then
...
@@ -897,7 +896,7 @@ if [[ -z "${INSTALLING_PORT}" ]] ; then
}
}
trap
"rm_lock_file"
EXIT
trap
"rm_lock_file"
EXIT
check_flatpak
||
pw_download_libs
pw_download_libs
export
PW_VULKANINFO_PORTABLE
=
"
$PW_PLUGINS_PATH
/portable/bin/x86_64-linux-gnu-vulkaninfo"
export
PW_VULKANINFO_PORTABLE
=
"
$PW_PLUGINS_PATH
/portable/bin/x86_64-linux-gnu-vulkaninfo"
export
VULKAN_API_DRIVER_VERSION
=
"
$(
"
$PW_VULKANINFO_PORTABLE
"
2>/dev/null |
grep
"api"
|
head
-n
1 |
awk
'{print $3}'
)
"
export
VULKAN_API_DRIVER_VERSION
=
"
$(
"
$PW_VULKANINFO_PORTABLE
"
2>/dev/null |
grep
"api"
|
head
-n
1 |
awk
'{print $3}'
)
"
export
VULKAN_DRIVER_NAME
=
"
$(
"
$PW_VULKANINFO_PORTABLE
"
2>/dev/null |
grep
driverName |
awk
'{print$3}'
|
head
-1
)
"
export
VULKAN_DRIVER_NAME
=
"
$(
"
$PW_VULKANINFO_PORTABLE
"
2>/dev/null |
grep
driverName |
awk
'{print$3}'
|
head
-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