void-packages/srcpkgs/wineasio/template

29 lines
1017 B
Bash

# Template file for 'wineasio'
pkgname=wineasio
version=1.1.0
revision=1
archs="x86_64* i686*"
build_style=gnu-makefile
make_build_target="${XBPS_TARGET_WORDSIZE}"
hostmakedepends="pkg-config wine-tools"
makedepends="wine wine-devel rtaudio-devel jack-devel"
depends="jack"
short_desc="JACK driver for WINE to provide Windows Apps with ASIO support"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/wineasio/wineasio"
distfiles="https://github.com/wineasio/wineasio/releases/download/v${version}/wineasio-${version}.tar.gz"
checksum="aa26ec986878d3fee1b99d0b31d0085379a78fcace20defbaf9627f007e2f2cc"
lib32mode=full
do_install() {
local winearch
case $XBPS_TARGET_MACHINE in
x86_64*) winearch="x86_64" ;;
i686*) winearch="i386" ;;
esac
vinstall "build${XBPS_TARGET_WORDSIZE}"/wineasio.dll 755 usr/lib/wine/${winearch}-windows
vinstall "build${XBPS_TARGET_WORDSIZE}"/wineasio.dll.so 755 usr/lib/wine/${winearch}-unix
vdoc "${FILESDIR}/README.voidlinux"
}