Package Details: wineasio-git 1.2.0.r8.g6529641-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
Keywords: asio jack wine
Licenses: LGPL
Conflicts: wineasio
Provides: wineasio
Submitter: m3thodic
Maintainer: m3thodic (chaotic-aur)
Last Packager: chaotic-aur
Votes: 8
Popularity: 0.163379
First Submitted: 2018-10-13 21:58 (UTC)
Last Updated: 2024-04-16 18:25 (UTC)

Pinned Comments

PedroHLC commented on 2021-07-07 19:11 (UTC)

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

« First ‹ Previous 1 2

Janhouse commented on 2021-05-27 21:57 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

@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 (UTC) (edited on 2020-07-20 19:33 (UTC) by chuckdaniels)

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 (UTC) (edited on 2020-07-20 19:16 (UTC) by donarturo)

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 (UTC)

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

m3thodic commented on 2019-06-13 20:11 (UTC)

@PedroHLC sorry it took so long to get around to it, but this has been added. Thanks!

PedroHLC commented on 2019-05-30 21:29 (UTC)

Could you add "https://github.com/wine-mirror/wine/blob/master/include/wine/unicode.h" to src, and in prepare() copy it to "$srcdir/$pkgname/wine" (make it before)?