Package Details: wineasio-git r50.4b23797-2

Git Clone URL: https://aur.archlinux.org/wineasio-git.git (read-only, click to copy)
Package Base: wineasio-git
Description: WineASIO provides an ASIO to JACK driver for WINE.
Upstream URL: https://github.com/jhernberg/wineasio
Licenses: LGPL
Conflicts: wineasio
Provides: wineasio
Submitter: m3thodic
Maintainer: m3thodic
Last Packager: m3thodic
Votes: 1
Popularity: 0.000512
First Submitted: 2018-10-13 21:58
Last Updated: 2020-02-27 13:23

Latest Comments

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

m3thodic commented on 2019-06-13 20:11

@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

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)?