[arch-commits] Commit in caps/repos (3 files)
David Runge
dvzrv at archlinux.org
Thu Dec 7 22:31:58 UTC 2017
Date: Thursday, December 7, 2017 @ 22:31:55
Author: dvzrv
Revision: 273219
archrelease: copy trunk to community-testing-x86_64
Added:
caps/repos/community-testing-x86_64/
caps/repos/community-testing-x86_64/PKGBUILD
(from rev 273218, caps/trunk/PKGBUILD)
caps/repos/community-testing-x86_64/fix-overload.patch
(from rev 273218, caps/trunk/fix-overload.patch)
--------------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
fix-overload.patch | 11 +++++++++++
2 files changed, 49 insertions(+)
Copied: caps/repos/community-testing-x86_64/PKGBUILD (from rev 273218, caps/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-12-07 22:31:55 UTC (rev 273219)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: DonVla <donvla at users.sourceforge.net>
+
+pkgname=caps
+pkgver=0.9.24
+pkgrel=3
+pkgdesc="The LADSPA C* Audio Plugin Suite"
+arch=('x86_64')
+url="http://quitte.de/dsp/caps.html"
+license=('GPL3')
+groups=('ladspa-plugins')
+depends=('ladspa')
+makedepends=('python')
+source=("http://quitte.de/dsp/${pkgname}_${pkgver}.tar.bz2"
+ "fix-overload.patch")
+sha512sums=('051d59c50302e45cec011a573385665e96b3bb0b6f0328e6b1e4f8fa26515d5cb4c2cc8230ea5bd242b1b8f62c86545997da2ab995e953a89d8de715807fc20d'
+ 'e69dcdfce71a15617b80d770ac2dd590e90977e307aa8f10ee0bbad873df20d4cb37990b61a3ab708edb35454da2168a9e9e09e25b719fd5d2870c86507d6f95')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # fix ambiguous overloaded function call
+ patch -Np0 -i "${srcdir}/fix-overload.patch"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure.py
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make PREFIX="$pkgdir/usr" install
+ install -Dm644 CHANGES "${pkgdir}/usr/share/doc/${pkgname}/CHANGES"
+ install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
Copied: caps/repos/community-testing-x86_64/fix-overload.patch (from rev 273218, caps/trunk/fix-overload.patch)
===================================================================
--- community-testing-x86_64/fix-overload.patch (rev 0)
+++ community-testing-x86_64/fix-overload.patch 2017-12-07 22:31:55 UTC (rev 273219)
@@ -0,0 +1,11 @@
+--- AutoFilter.cc 2014-11-10 09:12:26.000000000 +0100
++++ AutoFilter.cc.fix 2017-12-07 23:12:08.612583839 +0100
+@@ -69,7 +69,7 @@
+ void
+ AutoFilter::cycle (uint frames)
+ {
+- div_t qr = div (frames, blocksize);
++ div_t qr = div ((int) frames, (int) blocksize);
+ int blocks = qr.quot;
+ if (qr.rem) ++blocks;
+ double over_blocks = 1./blocks;
More information about the arch-commits
mailing list