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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:35:22 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:35:22
  Author: felixonmars
Revision: 658522

archrelease: copy trunk to community-staging-x86_64

Added:
  swh-plugins/repos/community-staging-x86_64/
  swh-plugins/repos/community-staging-x86_64/PKGBUILD
    (from rev 658520, swh-plugins/trunk/PKGBUILD)
  swh-plugins/repos/community-staging-x86_64/use_system_gsm.patch
    (from rev 658520, swh-plugins/trunk/use_system_gsm.patch)

----------------------+
 PKGBUILD             |   44 ++++++++++++++++++++++++++++++++++++++++++
 use_system_gsm.patch |   51 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

Copied: swh-plugins/repos/community-staging-x86_64/PKGBUILD (from rev 658520, swh-plugins/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:35:22 UTC (rev 658522)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Rob Til Freedmen <rob.til.freedman at gmail.com>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Robert Emil Berge
+
+pkgname=swh-plugins
+pkgver=0.4.17
+pkgrel=4
+pkgdesc="Steve Harris' LADSPA plug-ins suite"
+arch=('x86_64')
+url="http://plugin.org.uk/"
+license=('GPL2')
+depends=('fftw' 'gsm')
+makedepends=('ladspa' 'libxml2' 'perl-xml-parser')
+groups=('ladspa-plugins' 'pro-audio')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/swh/ladspa/archive/v${pkgver}.tar.gz"
+        'use_system_gsm.patch')
+sha512sums=('6b566030b43c3929ce8938648abd458efa0fea0b4916410a34b4f4fa788c45e4a6ec3f46ca435f8546179ff0c4674303db22314e1c1f1d09e5f2b71e6c5aecc7'
+            '7080a115442d682bdad17b2bfa2694ba5f6ef53efcd214748fe26133dda6a79726f57e34819e2324d1bf0a999baf5c895cba488658cc9695d4903755dce5774f')
+
+prepare() {
+  mv -v ladspa-${pkgver} "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # patching to use system gsm library
+  patch -Np1 -i "${srcdir}/use_system_gsm.patch"
+  autoreconf -vfi
+  export CFLAGS="$CFLAGS -fPIC"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir/" install
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO}
+}
+
+# vim:set ts=2 sw=2 et:

Copied: swh-plugins/repos/community-staging-x86_64/use_system_gsm.patch (from rev 658520, swh-plugins/trunk/use_system_gsm.patch)
===================================================================
--- community-staging-x86_64/use_system_gsm.patch	                        (rev 0)
+++ community-staging-x86_64/use_system_gsm.patch	2020-07-07 13:35:22 UTC (rev 658522)
@@ -0,0 +1,51 @@
+Description: Use system-wide copies of gsm.h.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: not-needed
+
+Index: swh-plugins/gsm_1215.xml
+===================================================================
+--- swh-plugins.orig/gsm_1215.xml
++++ swh-plugins/gsm_1215.xml
+@@ -9,7 +9,7 @@
+     <code><![CDATA[
+       #include <stdlib.h>
+       #include "ladspa-util.h"
+-      #include "gsm/gsm.h"
++      #include <gsm/gsm.h>
+       #include "util/biquad.h"
+ 
+       #define SCALE 32768.0f
+Index: swh-plugins/configure.ac
+===================================================================
+--- swh-plugins.orig/configure.ac
++++ swh-plugins/configure.ac
+@@ -143,7 +143,6 @@ AC_SUBST(LIBTOOL)
+ AC_OUTPUT([
+ Makefile
+ util/Makefile
+-gsm/Makefile
+ gverb/Makefile
+ metadata/Makefile
+ po/Makefile.in
+Index: swh-plugins/Makefile.am
+===================================================================
+--- swh-plugins.orig/Makefile.am
++++ swh-plugins/Makefile.am
+@@ -34,7 +34,7 @@ plugin_LTLIBRARIES = \
+ 	latency_1914.la xfade_1915.la sc4m_1916.la \
+ 	mbeq_1197.la pitch_scale_1193.la pitch_scale_1194.la imp_1199.la
+ 
+-SUBDIRS = po util gsm gverb metadata
++SUBDIRS = po util gverb metadata
+ 
+ # Wacky stuff to stop automake getting confused
+ EXTRA_DIST = config.rpath  @top_srcdir@/*.xml @top_srcdir@/*.c @top_srcdir@/*.h \
+@@ -73,7 +73,7 @@ sc3_1427_la_LIBADD = -Lutil -ldb -lrms
+ sc4_1882_la_LIBADD = -Lutil -ldb -lrms
+ sc4m_1916_la_LIBADD = -Lutil -ldb -lrms
+ se4_1883_la_LIBADD = -Lutil -ldb -lrms
+-gsm_1215_la_LIBADD = gsm/libgsm.a
++gsm_1215_la_LIBADD = -lgsm
+ gverb_1216_la_LIBADD = -Lgverb -lgverb
+ lcr_delay_1436_la_DEPENDENCIES = util/biquad.h
+ 



More information about the arch-commits mailing list