diff options
author | xjjx | 2016-04-29 09:24:46 +0200 |
---|---|---|
committer | xjjx | 2016-04-29 09:24:46 +0200 |
commit | 7275c23c5675281dc63fed8ae6ed182d80e16c4a (patch) | |
tree | 0885973b5c279904072d158141d9f869946f195a | |
parent | f6136a866a2ace0d38d6b796bdefdcac17d0ab9b (diff) | |
download | aur-7275c23c5675281dc63fed8ae6ed182d80e16c4a.tar.gz |
Fixes: lib instalation path - we need this also during build, replace alsa-lib by jack, lib32- dependencies should not replace current platform ones, export PKG_CONFIG_PATH to search for 32bit libraries
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 18 insertions, 8 deletions
@@ -1,12 +1,15 @@ pkgbase = fsthost pkgdesc = A linux VST host using winelib pkgver = 1.6.1 - pkgrel = 1 + pkgrel = 2 url = http://sourceforge.net/projects/fsthost/ arch = i686 arch = x86_64 license = GPL - depends = lib32-alsa-lib + depends = jack + depends = libxml2 + depends = gtk3 + depends = lib32-jack depends = lib32-libxml2 depends = lib32-gtk3 depends = wine @@ -2,27 +2,34 @@ pkgname=fsthost pkgver=1.6.1 -pkgrel=1 +pkgrel=2 pkgdesc='A linux VST host using winelib' -arch=(i686 x86_64) +arch=('i686' 'x86_64') url='http://sourceforge.net/projects/fsthost/' license=('GPL') -depends=('alsa-lib' 'libxml2') +depends=('jack' 'libxml2') _GTK=3 # Use gtk version 3 as default, 0 mean [[ $_GTK > 0 ]] && \ depends+=("gtk${_GTK}") -[[ $CARCH = 'x86_64' ]] && _arch=32 && \ -depends=(${depends[@]/#/lib32-}) +if [[ $CARCH = 'x86_64' ]]; then + export PKG_CONFIG_PATH=/usr/lib32/pkgconfig + _arch=32 + depends+=(${depends[@]/#/lib32-}) +fi depends+=('wine' 'perl-xml-libxml') + source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.xz") md5sums=('7a3991e826ad5cbed2c6868c3c1cbeb8') build() { cd $pkgname-$pkgver - make LASH_EXISTS='no' GTK=${_GTK} + make LIB32_INST_PATH=/usr/lib$_arch \ + LIB64_INST_PATH=/usr/lib \ + LASH_EXISTS='no' \ + GTK=${_GTK} } package() { |