diff options
author | Anton Kalmykov | 2015-06-27 01:06:10 +0300 |
---|---|---|
committer | Anton Kalmykov | 2015-06-27 01:06:10 +0300 |
commit | 7d0b0902a86501671ddc3aa243a12d628bc688fa (patch) | |
tree | eb99c82dde3266a2d16b1b0dc491216b383c3427 | |
download | aur-7d0b0902a86501671ddc3aa243a12d628bc688fa.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 60 |
2 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0549b73c0715 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = airwave-git + pkgdesc = Airwave is a WINE-based VST bridge, that allows for the use of Windows 32- and 64-bit VST 2.4 audio plugins with Linux VST hosts + pkgver = r69.282add2 + pkgrel = 1 + url = https://github.com/phantom-code/airwave + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + makedepends = cmake>=2.8 + depends = wine>=1.7 + depends = qt5-base + provides = airwave + conflicts = airwave + source = git+https://github.com/phantom-code/airwave.git#branch=develop + source = http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip + md5sums = SKIP + md5sums = 1ac422ebb4aa2e86061278412c347b55 + +pkgname = airwave-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..96dda62e7055 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Anton Kalmykov <anton dot kalmykov at gmail dot com> + +_basename=airwave +pkgname=${_basename}-git +pkgver=r69.282add2 +pkgrel=1 +pkgdesc=("Airwave is a WINE-based VST bridge, that allows for the use of Windows 32- and 64-bit VST 2.4 audio plugins with Linux VST hosts") +arch=("i686" "x86_64") +license=("MIT") +url=("https://github.com/phantom-code/airwave") +depends=("wine>=1.7" "qt5-base") +makedepends=("git" "cmake>=2.8") + +if [[ $CARCH == "x86_64" ]]; then + makedepends+=("gcc-multilib") +fi + +provides=("airwave") +conflicts=("airwave") + +source=("git+https://github.com/phantom-code/airwave.git#branch=develop" + "http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip") + +md5sums=("SKIP" "1ac422ebb4aa2e86061278412c347b55") + +pkgver() +{ + cd "${_basename}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() +{ + cd "${_basename}" + + if [[ -d build ]]; then + rm -rf build + fi + + mkdir build && cd build + + cmake -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_BUILD_TYPE="Release" \ + -DVSTSDK_PATH="${srcdir}/VST3 SDK" .. + make +} + +package() +{ + cd "${_basename}/build" + make install DESTDIR="${pkgdir}/" + + # Install the documentation + install -D -m644 "${srcdir}/${_basename}/README" \ + "${pkgdir}/usr/share/doc/${_basename}/README" + + # Install the license + install -D -m644 "${srcdir}/${_basename}/LICENSE" \ + "${pkgdir}/usr/share/licenses/${_basename}/LICENSE" +} |