This repository has been archived by the owner on Dec 25, 2024. It is now read-only.
generated from blue-build/template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: initial support for studio wine + wineasio
- Loading branch information
1 parent
a85ad9e
commit b5f6b98
Showing
6 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
type: rpm-ostree | ||
repos: | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/pipewire-wineasio/repo/fedora-%OS_VERSION%/patrickl-pipewire-wineasio-fedora-%OS_VERSION%.repo | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/yabridge/repo/fedora-%OS_VERSION%/patrickl-yabridge-fedora-%OS_VERSION%.repo | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/wine-tkg/repo/fedora-%OS_VERSION%/patrickl-wine-tkg-fedora-%OS_VERSION%.repo | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/wine-mono/repo/fedora-%OS_VERSION%/patrickl-wine-mono-fedora-%OS_VERSION%.repo | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/wine-mingw-wine-gecko/repo/fedora-%OS_VERSION%/patrickl-mingw-wine-gecko-fedora-%OS_VERSION%.repo | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/vkd3d/repo/fedora-%OS_VERSION%/patrickl-vkd3d-fedora-%OS_VERSION%.repo | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/wine-dxvk/repo/fedora-%OS_VERSION%/patrickl-wine-dxvk-fedora-%OS_VERSION%.repo | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/winetricks/repo/fedora-%OS_VERSION%/patrickl-winetricks-fedora-%OS_VERSION%.repo | ||
- https://copr.fedorainfracloud.org/coprs/patrickl/libcurl-gnutls/repo/fedora-%OS_VERSION%/patrickl-libcurl-gnutls-fedora-%OS_VERSION%.repo | ||
install: | ||
- pipewire-wineasio | ||
- yabridge | ||
- wine | ||
- wine-mono | ||
- mingw32-wine-gecko | ||
- mingw64-wine-gecko | ||
- wine-dxvk* | ||
- winetricks | ||
- yabridge | ||
- libcurl-gnutls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
type: systemd | ||
system: | ||
masked: | ||
- rtkit-daemon | ||
enabled: | ||
- realtime-entsk | ||
- realtime-setup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
export WINEESYNC=1 | ||
export WINEFSYNC=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
export def "main wine" [] { | ||
echo "Usage wine <command>." | ||
} | ||
|
||
# Run anythihg through wine-tkg | ||
export def "main wine run" [...rest] { | ||
wine ...$rest | ||
} | ||
|
||
# Register pipewire-wineasio DLL to default wine prefix | ||
export def "main wine wineasio register" [] { | ||
wineasio-register | ||
regsvr32 wineasio.dll | ||
} | ||
|
||
# Unregister pipewire-wineasio DLL to default wine prefix | ||
export def "main wine wineasio unregister" [] { | ||
regsvr32 /u wineasio.dll | ||
} | ||
|
||
# Scans a wine prefix for VSTPlugins folders | ||
export def "main wine yabridge scan" [wine_prefix?: string] { | ||
mut targetPath = $wine_prefix | ||
if $wine_prefix == null { | ||
$targetPath = $"($env.HOME)/.wine" | ||
} | ||
|
||
let CURRENTPATH = (pwd) | ||
cd $targetPath | ||
ls -a ./** | where { |e| $e.name | str ends-with VSTPlugins } | ||
cd $CURRENTPATH | ||
} | ||
|
||
# Scans a wine prefix for VSTPlugins folders | ||
export def "main wine yabridge add" [wine_prefix?: string] { | ||
studio wine yabridge scan $wine_prefix | par-each { |found_folder| do { run-external yabridgectl add $found_folder.name } & } | ||
yabridgectl sync | ||
} | ||
|
||
# Sync yabridgectl database | ||
export def "main wine yabridge sync" [] { | ||
yabridgectl sync | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters