Package Details: wineasio-git 1.0.0.r2.g0a97f2f-1

Git Clone URL: https://aur.archlinux.org/wineasio-git.git (read-only, click to copy)
Package Base: wineasio-git
Description: ASIO driver implementation for Wine
Upstream URL: https://github.com/wineasio/wineasio
Licenses: LGPL
Conflicts: wineasio
Provides: wineasio
Submitter: m3thodic
Maintainer: PedroHLC (chaotic-aur)
Last Packager: chaotic-aur
Votes: 4
Popularity: 0.22
First Submitted: 2018-10-13 21:58
Last Updated: 2021-07-27 15:41

Pinned Comments

PedroHLC commented on 2021-07-07 19:11

I've added a GitHub repo for this package here: pkgbuild-wineasio-git. PRs and Issues are welcomed. Once PRs have merged, the commits roll back to AUR through a GH Action, keeping your authorship.

Latest Comments

1 2 Next › Last »

Gimmeapill commented on 2021-09-06 06:29

@PedroHLC: Thanks a lot for fixing, it works fine with the latest wine now (6.16 as of writing).

PedroHLC commented on 2021-07-07 19:11

I've added a GitHub repo for this package here: pkgbuild-wineasio-git. PRs and Issues are welcomed. Once PRs have merged, the commits roll back to AUR through a GH Action, keeping your authorship.

ph3nix commented on 2021-06-18 07:04

Does the current out of date version of wineasio-git or the newer one Janhouse posted actually work for anyone with current versions of wine?

I had to downgrade to wine 6.4 to get things running again. Otherwise I am greeted with a "Winedriver (Not Connected)"

Update: Got the version that Janhouse posted to work with wine-6.11-1. I needed to rerun wine64 regsvr32 wineasio.dll and wineboot -u to get things back to work. See https://github.com/wineasio/wineasio/issues/24

Janhouse commented on 2021-05-27 21:57

Working wineasio-git PKGBUILD for current version (6.9)

  basename=wineasio
  pkgname=$basename-git                                                                 
  pkgver=r99                                                                       
  pkgrel=1                                                                         

  pkgdesc="ASIO driver implementation for Wine"                                    
  url="https://github.com/wineasio/wineasio"                                  
  arch=('i686' 'x86_64')                                                           
  license=('LGPL')                                                                 

  depends=('wine' 'jack')                                                          
  depends_x86_64+=('lib32-jack')                                                   
  makedepends_x86_64=('gcc-multilib')     
  provides=('wineasio')
  conflicts=('wineasio')                                         

  install="$pkgname".install                                                       

  source=(                                                                         
    "git+https://github.com/wineasio/wineasio"                                       
    "git+https://github.com/falkTX/rtaudio"                                        
  )                                                                                
  sha256sums=(                                                                     
    'SKIP'                                                                         
    'SKIP'                                                                         
  ) 
  pkgver() {
    cd "$srcdir/$basename"

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  }                                                                               
  prepare() {                                                                      
    cd "$basename"                                                                  
    git submodule init                                                             
    git config submodule.rtaudio.url $srcdir/rtaudio                               
    git submodule update                                                           
  }                                                                                
  build() {                                                                        
    cd "$basename"                                                                  
    make clean 

    if [[ "$CARCH" == x86_64 ]]; then
      make 64
      cd build64
      winebuild -m64 --dll --fake-module -E ../wineasio.dll.spec asio.c.o main.c.o regsvr.c.o > wineasio.dll
      cd ..
    fi

    make 32
    cd build32
    winebuild -m32 --dll --fake-module -E ../wineasio.dll.spec asio.c.o main.c.o regsvr.c.o > wineasio.dll

  }                                                                                
  package() {                                                                      
    cd "$basename"                                                                                                                                                                                                    
    if [[ "$CARCH" == x86_64 ]]; then
        install -D -m755 build64/wineasio.dll "$pkgdir"/usr/lib/wine/x86_64-windows/wineasio.dll
        install -D -m755 build64/wineasio.dll.so "$pkgdir"/usr/lib/wine/x86_64-unix/wineasio.dll.so

    fi
    install -D -m755 build32/wineasio.dll "$pkgdir"/usr/lib32/wine/i386-windows/wineasio.dll
    install -D -m755 build32/wineasio.dll.so "$pkgdir"/usr/lib32/wine/i386-unix/wineasio.dll.so                                                                                                                      
  }  

Barafu_Albino commented on 2020-09-02 20:05

Looks like this should be updated to use https://github.com/wineasio/wineasio, where the development is. Please update.

chuckdaniels commented on 2020-07-20 20:26

@donarturo totally agree about the pkgver(), I was not using it to test it locally, much better that way.

About the dependencies, I am quite sure that are not needed anymore. You can check it in the official repository or the wineasio AUR package which I updated recently. You should be able to compile it only with those dependencies as far as I tested it unless I am missing something.

donarturo commented on 2020-07-20 20:09

@chuckdaniels Thank you for simpler and clearer version of PKGBUILD. But this PKGBUILD will be better with pkgver() function. Maybie conditional loops for 64 32 bits aren't necessary because original Arch is only in 64 bit but I would save conditionals for 32 bit architecture users - (sure 32 bit machine users can simply comment eg. make 64) .

  pkgname=wineasio-git                                                                 
  pkgver=r99                                                                       
  pkgrel=1                                                                         

  pkgdesc="ASIO driver implementation for Wine"                                    
  url="https://github.com/wineasio/wineasio"                                  
  arch=('i686' 'x86_64')                                                           
  license=('LGPL')                                                                 

  depends=('wine' 'jack')                                                          
  depends_x86_64+=('lib32-jack')                                                   
  makedepends_x86_64=('gcc-multilib')                                              

  install="$pkgname".install                                                       

  source=(                                                                         
    "git+https://github.com/wineasio/wineasio"                                       
    "git+https://github.com/falkTX/rtaudio"                                        
  )                                                                                
  sha256sums=(                                                                     
    'SKIP'                                                                         
    'SKIP'                                                                         
  ) 
  pkgver() {
    cd "$srcdir/$pkgname"

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  }                                                                               
  prepare() {                                                                      
    cd "$pkgname"                                                                  
    git submodule init                                                             
    git config submodule.rtaudio.url $srcdir/rtaudio                               
    git submodule update                                                           
  }                                                                                
  build() {                                                                        
    cd "$pkgname"                                                                  
    make clean 

    if [[ "$CARCH" == x86_64 ]]; then
      make 64
    fi

    make 32

  }                                                                                
  package() {                                                                      
    cd "$pkgname"                                                                                                                                                                                                    
    if [[ "$CARCH" == x86_64 ]]; then
        install -D -m755 build64/wineasio.dll.so "$pkgdir"/usr/lib/wine/wineasio.dll.so
        install -D -m755 build32/wineasio.dll.so "$pkgdir"/usr/lib32/wine/wineasio.dll.so
    else
        install -D -m755 build32/wineasio.dll.so "$pkgdir"/usr/lib/wine/wineasio.dll.so
    fi                                                                                                                              
  }  

PS Are you sure that this package can be built without Steinberg ASIO includes?

chuckdaniels commented on 2020-07-20 19:30

Actually, apart from @donarturo comment, there are dependencies that are no longer required as you can check in wineasio AUR package. This PKGBUILD is working for me using wineasio-git, removing unneeded dependencies, adjusting make, and using git submodules.

  pkgname=wineasio-git                                                                 
  pkgver=r99                                                                       
  pkgrel=1                                                                         

  pkgdesc="ASIO driver implementation for Wine"                                    
  url="https://github.com/wineasio/wineasio"                                  
  arch=('i686' 'x86_64')                                                           
  license=('LGPL')                                                                 

  depends=('wine' 'jack')                                                          
  depends_x86_64+=('lib32-jack')                                                   
  makedepends_x86_64=('gcc-multilib')                                              

  install="$pkgname".install                                                       

  source=(                                                                         
    "git+https://github.com/wineasio/wineasio"                                       
    "git+https://github.com/falkTX/rtaudio"                                        
  )                                                                                
  sha256sums=(                                                                     
    'SKIP'                                                                         
    'SKIP'                                                                         
  )                                                                                
  prepare() {                                                                      
    cd "$pkgname"                                                                  
    git submodule init                                                             
    git config submodule.rtaudio.url $srcdir/rtaudio                               
    git submodule update                                                           
  }                                                                                
  build() {                                                                        
    cd "$pkgname"                                                                  
    make clean                                                                     
    make 32                                                                        
    make 64                                                                        
  }                                                                                
  package() {                                                                      
    cd "$pkgname"                                                                                                                                                                                                    
    install -D -m755 build32/"$pkgname".dll.so "$pkgdir"/usr/lib32/wine/"$pkgname".dll.so                                                                                                                            
    install -D -m755 build64/"$pkgname".dll.so "$pkgdir"/usr/lib/wine/"$pkgname".dll.so                                                                                                                              
  }         

Edit: Update PKGBUILD

donarturo commented on 2020-07-20 19:15

This package gives error when registering to wine with regsvr32 wineasio. I modified PKGBUILD to build from original https://github.com/wineasio/wineasio/ and registration of libraries is succesful. Now building wineasio not require modifying files or use script preparing to other architecture, because Makefile is written to build both 32 and 64 bit version. Is only necessery type make xx (where xx is 32 or 64).

PKGBUILD
# Maintainer: Tony Lambiris <tony@libpcap.net>
# Contributor: donarturo <arturwrona91 (at) gmail (dot) com>

pkgname=wineasio-git
pkgver=r77.e717418
pkgrel=1
pkgdesc='WineASIO provides an ASIO to JACK driver for WINE.'
arch=('i686' 'x86_64')
url='https://github.com/wineasio/wineasio'
license=(LGPL)
depends=('wine' 'jack')
depends_x86_64+=('lib32-jack')
makedepends=('ed' 'steinberg-asio-sdk')
makedepends_x86_64+=('gcc-multilib' 'mingw-w64-headers')
conflicts=(wineasio)
provides=(wineasio)
install=wineasio.install
source=("${pkgname}::git+https://github.com/wineasio/wineasio"
        "unicode.h")
sha256sums=('SKIP'
            'a552e487cba95883a15db612ae646df5d502a39afd7c4805b4ca0b549cc2f522')

pkgver() {
    cd "$srcdir/$pkgname"

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {

    cd "$srcdir/$pkgname"

    mkdir -p rtaudio/include
    cp /usr/include/steinberg-asio/asio.h rtaudio/include/asio.h

    mkdir -p wine
    cp "${srcdir}/unicode.h" wine/unicode.h


#   if [[ "$CARCH" == x86_64 ]]; then
#       cp rtaudio/include/asio.h rtaudio/include/asio.h.i686
#       ./prepaire_64bit_asio.sh
#   fi
}

build() {
    cd "$srcdir/$pkgname"

    if [[ "$CARCH" == x86_64 ]]; then
        make 64

    fi

    make 32
}

package() {
    cd "$srcdir/$pkgname"

    if [[ "$CARCH" == x86_64 ]]; then
        install -D -m755 build64/wineasio.dll.so "$pkgdir"/usr/lib/wine/wineasio.dll.so
        install -D -m755 build32/wineasio.dll.so "$pkgdir"/usr/lib32/wine/wineasio.dll.so
    else
        install -D -m755 build32/wineasio.dll.so "$pkgdir"/usr/lib/wine/wineasio.dll.so
    fi

    install -D -m644 README.md "$pkgdir"/usr/share/"$pkgname"/README.md
}

chuckdaniels commented on 2020-03-16 11:31

It seems that falkTX took the lead of wineasio. You can find his repository here: https://github.com/falkTX/wineasio

He will handle also wineasio GitHub organization, but its original maintainer has not change permissions yet. More info here: https://github.com/wineasio/wineasio/issues/6