[arch-commits] Commit in zita-bls1/repos/community-x86_64 (3 files)
David Runge
dvzrv at archlinux.org
Thu Aug 23 14:31:26 UTC 2018
Date: Thursday, August 23, 2018 @ 14:31:25
Author: dvzrv
Revision: 373446
archrelease: copy trunk to community-x86_64
Added:
zita-bls1/repos/community-x86_64/PKGBUILD
(from rev 373445, zita-bls1/trunk/PKGBUILD)
zita-bls1/repos/community-x86_64/zita-convolver.patch
(from rev 373445, zita-bls1/trunk/zita-convolver.patch)
Deleted:
zita-bls1/repos/community-x86_64/PKGBUILD
----------------------+
PKGBUILD | 87 ++++++++++++++++++++++++++++---------------------
zita-convolver.patch | 12 ++++++
2 files changed, 62 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-23 14:30:54 UTC (rev 373445)
+++ PKGBUILD 2018-08-23 14:31:25 UTC (rev 373446)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=zita-bls1
-pkgver=0.1.0
-pkgrel=5
-pkgdesc="Blumlein Shuffler implementation converting binaural stereo signals into a form suitable for reproduction on convential stereo speakers."
-arch=('x86_64')
-url="https://kokkinizita.linuxaudio.org/linuxaudio"
-license=('GPL2')
-groups=('pro-audio')
-depends=('cairo' 'clthreads' 'clxclient' 'jack' 'zita-convolver')
-makedepends=()
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('a1b4bd7a7ca56afb627e9f095e5e1f67415a52ae316bdc6ce0eced191830f53eaf5ba3402a44fbbb97529e29a0b007d1f0f8e79c89c863207216bca1fb76435c')
-
-prepare() {
- cd "${pkgname}-${pkgver}/source"
- # strip march=native
- sed -e '/native/d' \
- -e 's/freetype-config\ --cflags/pkgconf\ --cflags\ freetype2/' \
- -i Makefile
-}
-
-build() {
- cd "${pkgname}-${pkgver}/source"
- make PREFIX=/usr
-}
-
-package() {
- cd "${pkgname}-${pkgver}/source"
- make PREFIX=/usr DESTDIR="$pkgdir" install
-
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 ../doc/html/* \
- -vDm 644 ../{AUTHORS,README}
-}
Copied: zita-bls1/repos/community-x86_64/PKGBUILD (from rev 373445, zita-bls1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-23 14:31:25 UTC (rev 373446)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=zita-bls1
+pkgver=0.1.0
+pkgrel=6
+pkgdesc="Blumlein Shuffler implementation converting binaural stereo signals into a form suitable for reproduction on convential stereo speakers."
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio"
+license=('GPL2')
+groups=('pro-audio')
+depends=('cairo' 'clthreads' 'clxclient' 'jack' 'zita-convolver')
+makedepends=('gendesk')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2"
+ 'zita-convolver.patch')
+sha512sums=('a1b4bd7a7ca56afb627e9f095e5e1f67415a52ae316bdc6ce0eced191830f53eaf5ba3402a44fbbb97529e29a0b007d1f0f8e79c89c863207216bca1fb76435c'
+ '2f91833217428d2c0104006cb741f74abf709d21e33d4ec6d1a802d1c1f7a69a2465b73e4a44349cf7bde471538963ecc24f15a4a5de7d85978dd31539c57e81')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # strip march=native
+ sed -e '/native/d' \
+ -e 's/freetype-config\ --cflags/pkgconf\ --cflags\ freetype2/' \
+ -i source/Makefile
+ patch -Np1 -i ../zita-convolver.patch
+ # XDG desktop file
+ gendesk -n \
+ --pkgname ${pkgname} \
+ --pkgdesc "${pkgdesc}" \
+ --name zita-bls1 \
+ --categories "AudioVideo;Audio"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/source"
+ make PREFIX=/usr
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/source"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+
+ # XDG desktop integration
+ install -vDm 644 "../${pkgname}.desktop" \
+ -t "${pkgdir}/usr/share/applications/"
+
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm 644 ../doc/html/* \
+ -vDm 644 ../{AUTHORS,README}
+}
Copied: zita-bls1/repos/community-x86_64/zita-convolver.patch (from rev 373445, zita-bls1/trunk/zita-convolver.patch)
===================================================================
--- zita-convolver.patch (rev 0)
+++ zita-convolver.patch 2018-08-23 14:31:25 UTC (rev 373446)
@@ -0,0 +1,12 @@
+diff -ruN zita-bls1-0.1.0/source/shuffler.cc zita-bls1-0.1.0-b/source/shuffler.cc
+--- zita-bls1-0.1.0/source/shuffler.cc 2012-01-10 18:51:09.000000000 +0100
++++ zita-bls1-0.1.0-b/source/shuffler.cc 2018-08-23 16:27:12.523304581 +0200
+@@ -75,7 +75,7 @@
+ memset (_fft_time, 0, _iplen * sizeof (float));
+ _fft_time [_iplen / 2] = 1.0f;
+
+- _convproc.configure (1, 1, _iplen, _quant, _minpt, _minpt);
++ _convproc.configure (1, 1, _iplen, _quant, _minpt, _minpt, 1.0f);
+ _convproc.impdata_create (0, 0, 1, _fft_time, 0, _iplen);
+ _convproc.start_process (abspri, policy);
+ }
More information about the arch-commits
mailing list