From 18e565183d60f7bf84f32ec1f423930a95e4a9d8 Mon Sep 17 00:00:00 2001 From: davehome Date: Sat, 15 Sep 2012 15:29:36 -0600 Subject: [PATCH] New package: wineasio-0.9.0.git. --- srcpkgs/wineasio/INSTALL | 23 +++++++++++++++++++ srcpkgs/wineasio/template | 38 +++++++++++++++++++++++++++++++ srcpkgs/wineasio/wineasio.rshlibs | 4 ++++ 3 files changed, 65 insertions(+) create mode 100644 srcpkgs/wineasio/INSTALL create mode 100644 srcpkgs/wineasio/template create mode 100644 srcpkgs/wineasio/wineasio.rshlibs diff --git a/srcpkgs/wineasio/INSTALL b/srcpkgs/wineasio/INSTALL new file mode 100644 index 00000000000..1b461ee99fa --- /dev/null +++ b/srcpkgs/wineasio/INSTALL @@ -0,0 +1,23 @@ +# +# This script will advise the user to register the wineasio.dll with WINE +# for their user account. +# +case "${ACTION}" in +pre) + ;; +post) + cat << _EOF +===================================================================== + +Be sure to run `regsvr32 wineasio.dll' as your user before use! + +You may also override the WINEPREFIX environment variable if your +WINE installation is not installed in ~/.wine/ + +NOTE: The JACK server must be running in order to load the driver +into an application. + +===================================================================== +_EOF + ;; +esac diff --git a/srcpkgs/wineasio/template b/srcpkgs/wineasio/template new file mode 100644 index 00000000000..83071dac80f --- /dev/null +++ b/srcpkgs/wineasio/template @@ -0,0 +1,38 @@ +# Template file for 'wineasio' +pkgname=wineasio +version="0.9.0.git" +revision=1 +homepage="http://sourceforge.net/projects/wineasio" +depends="jack" +makedepends="git wine-unstable wine-unstable-devel jack-devel" +short_desc="JACK driver for WINE to provide Windows Apps with ASIO support." +maintainer="davehome " +license="LGPL" +long_desc=" + WineASIO provides an ASIO to JACK driver for WINE. ASIO is the most common + Windows low-latency driver, so is commonly used in audio workstation programs." + +nonfree=yes +only_for_archs=i686 +nofetch=yes +noextract=yes + +do_fetch() +{ + local url="git://wineasio.git.sourceforge.net/gitroot/wineasio/wineasio" + msg_normal " Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +do_build() +{ + local url="http://stellarbox.co.cc/asio.h" + msg_normal " Fetching ${url} ...\n" + $XBPS_FETCH_CMD ${url} + make ${makejobs} +} + +do_install() +{ + vinstall wineasio.dll.so 755 usr/lib/wine +} diff --git a/srcpkgs/wineasio/wineasio.rshlibs b/srcpkgs/wineasio/wineasio.rshlibs new file mode 100644 index 00000000000..def900ed4ee --- /dev/null +++ b/srcpkgs/wineasio/wineasio.rshlibs @@ -0,0 +1,4 @@ +libjack.so.0 +libwine.so.1 +libm.so.6 +libc.so.6