use runtime in flatpack
This commit is contained in:
@ -541,8 +541,8 @@ init_wine_ver () {
|
||||
fi
|
||||
|
||||
|
||||
if [ "${PW_USE_GSTREAMER}" = 1 ] ; then
|
||||
if [ -d "${WINEDIR}/lib64/gstreamer-1.0" ] ; then
|
||||
if [[ "${PW_USE_GSTREAMER}" == 1 ]] ; 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"
|
||||
fi
|
||||
create_new_dir "${PORT_WINE_TMP_PATH}"/gstreamer_tmp/
|
||||
@ -560,8 +560,7 @@ init_wine_ver () {
|
||||
|
||||
pw_init_runtime () {
|
||||
if [[ "$PW_USE_RUNTIME" != 1 ]] \
|
||||
|| [[ "$PW_WINE_USE" == "USE_SYSTEM_WINE" ]] \
|
||||
|| check_flatpak
|
||||
|| [[ "$PW_WINE_USE" == "USE_SYSTEM_WINE" ]]
|
||||
then
|
||||
export pw_runtime=""
|
||||
return 0
|
||||
|
Reference in New Issue
Block a user