Date: Tuesday, May 26, 2020 @ 19:01:30 Author: dvzrv Revision: 387608
archrelease: copy trunk to extra-x86_64 Added: fluidsynth/repos/extra-x86_64/PKGBUILD (from rev 387607, fluidsynth/trunk/PKGBUILD) Deleted: fluidsynth/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 108 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 56 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-26 19:01:25 UTC (rev 387607) +++ PKGBUILD 2020-05-26 19:01:30 UTC (rev 387608) @@ -1,52 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: Ray Rashif <sc...@archlinux.org> -# Contributor: damir <da...@archlinux.org> - -pkgname=fluidsynth -pkgver=2.1.2 -pkgrel=1 -pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications" -arch=('x86_64') -url="http://www.fluidsynth.org/" -license=('LGPL2.1') -groups=('pro-audio') -depends=('glibc' 'glib2' 'sdl2') -makedepends=('alsa-lib' 'cmake' 'dbus' 'doxygen' 'jack' 'ladspa' 'libinstpatch' -'libpulse' 'libsndfile' 'portaudio' 'readline' 'systemd-libs') -provides=('libfluidsynth.so' 'soundfont-synthesizer') -backup=("etc/conf.d/$pkgname") -source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz") -sha512sums=('ece3328ee94731f347a03f555fd39ead0a50cb24fef5d90dbff22e74db8344c9a68bfaccb76b873bd18a8ac68ee1d7802571e51c938bbf98e424267376f47eb8') - -build() { - cd "${pkgname}-${pkgver}" - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \ - -Denable-ladspa=ON \ - -Denable-portaudio=ON \ - -DLIB_SUFFIX="" \ - -B build \ - . - make -C build VERBOSE=1 -} - -check() { - cd "${pkgname}-${pkgver}" - make -C build -k check -} - -package() { - depends+=('libasound.so' 'libdbus-1.so' 'libinstpatch-1.0.so' 'libjack.so' - 'libportaudio.so' 'libpulse-simple.so' 'libreadline.so' 'libsndfile.so' - 'libsystemd.so') - cd "${pkgname}-${pkgver}" - make -C build DESTDIR="$pkgdir" install - # systemd user unit - install -vDm 644 "build/${pkgname}.service" \ - -t "$pkgdir/usr/lib/systemd/user/" - # system-wide configuration file - install -vDm 644 "build/${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}" - # docs - install -vDm 644 {AUTHORS,ChangeLog,{CONTRIBUTING,README}.md,THANKS,TODO} \ - -t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: fluidsynth/repos/extra-x86_64/PKGBUILD (from rev 387607, fluidsynth/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-26 19:01:30 UTC (rev 387608) @@ -0,0 +1,56 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Ray Rashif <sc...@archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=fluidsynth +pkgver=2.1.3 +pkgrel=1 +pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications" +arch=('x86_64') +url="http://www.fluidsynth.org/" +license=('LGPL2.1') +groups=('pro-audio') +depends=('glibc' 'sdl2') +makedepends=('alsa-lib' 'cmake' 'dbus' 'doxygen' 'glib2' 'jack' 'ladspa' +'libinstpatch' 'libpulse' 'libsndfile' 'portaudio' 'readline' 'systemd-libs') +provides=('libfluidsynth.so' 'soundfont-synthesizer') +backup=("etc/conf.d/$pkgname") +source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz") +sha512sums=('cc956a3d8926a5d5368c4d36472a9706e5da1597bab76f1b59132e6253a888f422d9f74723c74f801963a90d9e0f6b36267114cd168977c47b1b935ea3dc8927') + +build() { + cd "${pkgname}-${pkgver}" + export CFLAGS+=" ${CPPFLAGS}" + export CXXFLAGS+=" ${CPPFLAGS}" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \ + -DCMAKE_BUILD_TYPE='None' \ + -Denable-ladspa=ON \ + -Denable-portaudio=ON \ + -DLIB_SUFFIX="" \ + -Wno-dev \ + -B build \ + -S . + make -C build VERBOSE=1 +} + +check() { + cd "${pkgname}-${pkgver}" + make -C build -k check +} + +package() { + depends+=('libasound.so' 'libdbus-1.so' 'libglib-2.0.so' 'libgmodule-2.0.so' + 'libgobject-2.0.so' 'libinstpatch-1.0.so' 'libjack.so' 'libportaudio.so' + 'libpulse-simple.so' 'libreadline.so' 'libsndfile.so' 'libsystemd.so') + cd "${pkgname}-${pkgver}" + make -C build DESTDIR="$pkgdir" install + # systemd user unit + install -vDm 644 "build/${pkgname}.service" \ + -t "$pkgdir/usr/lib/systemd/user/" + # system-wide configuration file + install -vDm 644 "build/${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}" + # docs + install -vDm 644 {AUTHORS,ChangeLog,{CONTRIBUTING,README}.md,THANKS,TODO} \ + -t "${pkgdir}/usr/share/doc/${pkgname}" +}