[arch-commits] Commit in alure/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:59:17 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:59:17
  Author: felixonmars
Revision: 659936

archrelease: copy trunk to community-staging-x86_64

Added:
  alure/repos/community-staging-x86_64/
  alure/repos/community-staging-x86_64/PKGBUILD
    (from rev 659934, alure/trunk/PKGBUILD)
  alure/repos/community-staging-x86_64/build.patch
    (from rev 659934, alure/trunk/build.patch)

-------------+
 PKGBUILD    |   45 +++++++++++++++++++++++++++++++++++++++++++++
 build.patch |   12 ++++++++++++
 2 files changed, 57 insertions(+)

Copied: alure/repos/community-staging-x86_64/PKGBUILD (from rev 659934, alure/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:59:17 UTC (rev 659936)
@@ -0,0 +1,45 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Markus Martin <markus at archwyrm.net>
+
+pkgname=alure
+pkgver=1.2
+pkgrel=7
+pkgdesc='Utility library to help manage common tasks with OpenAL applications.'
+arch=('x86_64')
+url='https://kcat.strangesoft.net/alure.html'
+license=('MIT')
+depends=('openal')
+makedepends=('cmake' 'libsndfile' 'libvorbis' 'flac' 'mpg123' 'dumb' 'fluidsynth')
+optdepends=('libsndfile: for uncompressed audio support'
+            'libvorbis: for OGG Vorbis support'
+            'flac: for FLAC support'
+            'mpg123: for MPEG support'
+            'dumb: for IT, XM, S3M and MOD support'
+            'fluidsynth: for SoundFont 2 support')
+source=("https://kcat.strangesoft.net/alure-releases/${pkgname}-${pkgver}.tar.bz2"
+        build.patch)
+md5sums=('3088aba074ad02d95ea51e705053b9f5'
+         '6a8dfd62ccae920d393b4202736aba46')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../build.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # workaround for recent gcc build issue
+  CXXFLAGS="$CXXFLAGS -fpermissive"
+
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}

Copied: alure/repos/community-staging-x86_64/build.patch (from rev 659934, alure/trunk/build.patch)
===================================================================
--- community-staging-x86_64/build.patch	                        (rev 0)
+++ community-staging-x86_64/build.patch	2020-07-07 17:59:17 UTC (rev 659936)
@@ -0,0 +1,12 @@
+diff -rupN a/src/codec_fluidsynth.cpp b/src/codec_fluidsynth.cpp
+--- a/src/codec_fluidsynth.cpp	2011-07-29 08:37:48.000000000 +0000
++++ b/src/codec_fluidsynth.cpp	2014-01-03 10:42:13.280792235 +0000
+@@ -32,7 +32,7 @@
+ #endif
+ 
+ #include <istream>
+-
++#include <unistd.h>
+ #include <fluidsynth.h>
+ 
+ 



More information about the arch-commits mailing list