Date: Thursday, March 15, 2018 @ 13:04:28 Author: alucryd Revision: 308488
upgpkg: lib32-fluidsynth 1.1.10-1 Modified: lib32-fluidsynth/trunk/PKGBUILD ----------+ PKGBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-15 12:24:08 UTC (rev 308487) +++ PKGBUILD 2018-03-15 13:04:28 UTC (rev 308488) @@ -6,7 +6,7 @@ # Contributor: damir <[email protected]> pkgname=lib32-fluidsynth -pkgver=1.1.9 +pkgver=1.1.10 pkgrel=1 pkgdesc='A real-time software synthesizer based on the SoundFont 2 specifications' arch=('x86_64') @@ -13,15 +13,14 @@ url='http://www.fluidsynth.org/' license=('LGPL') depends=('fluidsynth' 'lib32-alsa-lib' 'lib32-glib2' 'lib32-glibc' 'lib32-jack' - 'lib32-dbus' 'lib32-libpulse' 'lib32-libsndfile' 'lib32-readline') + 'lib32-dbus' 'lib32-libpulse' 'lib32-libsndfile' 'lib32-portaudio' + 'lib32-readline') makedepends=('cmake' 'gcc-multilib' 'lib32-ladspa') optdepends=('pulseaudio: PulseAudio sound support') source=("fluidsynth-${pkgver}.tar.gz::https://github.com/FluidSynth/fluidsynth/archive/v${pkgver}.tar.gz") -sha256sums=('dd6321e13a7c875ef3032644bd3197e84b3d24928e2379bc8066b7cace7bd410') +sha256sums=('b74801d0fdd726c4555149bf075b76dc4074658ec0a8f7a3753f4a64589e5300') prepare() { - cd fluidsynth-$pkgver - if [[ -d build ]]; then rm -rf build fi @@ -29,22 +28,25 @@ } build() { - cd fluidsynth-$pkgver/build + cd build export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - cmake .. \ + cmake ../fluidsynth-${pkgver} \ -DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_INSTALL_PREFIX='/usr' \ + -DFLUID_DAEMON_ENV_FILE='/etc/conf.d/fluidsynth' \ -DLIB_SUFFIX='32' \ - -Denable-ladspa='ON' + -Denable-ladspa='ON' \ + -Denable-lash='OFF' \ + -Denable-portaudio='ON' make } package() { - cd fluidsynth-$pkgver/build + cd build make DESTDIR="${pkgdir}" install rm -rf "${pkgdir}"/usr/{include,share,bin}
