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

David Runge dvzrv at archlinux.org
Sun Dec 3 23:43:34 UTC 2017


    Date: Sunday, December 3, 2017 @ 23:43:33
  Author: dvzrv
Revision: 272060

archrelease: copy trunk to community-testing-x86_64

Added:
  meterbridge/repos/community-testing-x86_64/
  meterbridge/repos/community-testing-x86_64/PKGBUILD
    (from rev 272059, meterbridge/trunk/PKGBUILD)
  meterbridge/repos/community-testing-x86_64/c99-inline-fix.patch
    (from rev 272059, meterbridge/trunk/c99-inline-fix.patch)

----------------------+
 PKGBUILD             |   43 +++++++++++++++++++++++++++++++++++++++++++
 c99-inline-fix.patch |   10 ++++++++++
 2 files changed, 53 insertions(+)

Copied: meterbridge/repos/community-testing-x86_64/PKGBUILD (from rev 272059, meterbridge/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-12-03 23:43:33 UTC (rev 272060)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=meterbridge
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="Collection of Audio meters for the JACK audio server"
+arch=('x86_64')
+url="http://plugin.org.uk/meterbridge/"
+license=('GPL')
+depends=('jack' 'sdl_image')
+source=("http://plugin.org.uk/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'c99-inline-fix.patch')
+sha512sums=('dec68307430649f3281528b31f20f501df07c4c9841776bac9c532d16a309bc701d39a5f577dc55eccb0edebc514d2eeca45c057a81a5c6c57bd61faae7deff0'
+            '4e76dcb966daa5080ebf85274739e6ac0ef5baf15ef42d4c9d9918f2ed03ce4dae954323f1fc3081360f175d24692f4d8612d39b3def11a480ac10d466f31da6')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  # gcc 4.x fix
+  sed -i "s/ buf_rect.*,//" src/main.h
+
+  # iec scale fix
+  # http://lists.linuxaudio.org/pipermail/linux-audio-dev/2012-June/032475.html
+  sed -i 's/ 5.0/ 2.5/' src/dpm_meters.c
+
+  # fix the changed evaluation of inline functions
+  patch -Np0 -i "${srcdir}/c99-inline-fix.patch"
+
+  autoreconf -vi
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+}

Copied: meterbridge/repos/community-testing-x86_64/c99-inline-fix.patch (from rev 272059, meterbridge/trunk/c99-inline-fix.patch)
===================================================================
--- community-testing-x86_64/c99-inline-fix.patch	                        (rev 0)
+++ community-testing-x86_64/c99-inline-fix.patch	2017-12-03 23:43:33 UTC (rev 272060)
@@ -0,0 +1,10 @@
+--- src/linedraw.c	2002-10-10 12:06:06.000000000 +0200
++++ src/linedraw.c.fix	2017-12-04 00:36:19.839664181 +0100
+@@ -9,6 +9,7 @@
+ 	Uint32 *bufp = (Uint32 *)surface->pixels + y*surface->pitch/4 + x;
+ 	*bufp = col;
+ }
++void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col);
+ 
+ /* use Bresenham's alg. to draw a line between two integer coordinates */
+ 



More information about the arch-commits mailing list