[arch-commits] Commit in rtmidi/repos/community-testing-x86_64 (5 files)

David Runge dvzrv at archlinux.org
Wed Jan 31 21:03:41 UTC 2018


    Date: Wednesday, January 31, 2018 @ 21:03:40
  Author: dvzrv
Revision: 288449

archrelease: copy trunk to community-testing-x86_64

Added:
  rtmidi/repos/community-testing-x86_64/0001-fix-tests-with-prefix.diff
    (from rev 288448, rtmidi/trunk/0001-fix-tests-with-prefix.diff)
  rtmidi/repos/community-testing-x86_64/0002-fix-jack-requirement.diff
    (from rev 288448, rtmidi/trunk/0002-fix-jack-requirement.diff)
  rtmidi/repos/community-testing-x86_64/PKGBUILD
    (from rev 288448, rtmidi/trunk/PKGBUILD)
Deleted:
  rtmidi/repos/community-testing-x86_64/0001-fix-tests-with-prefix.diff
  rtmidi/repos/community-testing-x86_64/PKGBUILD

---------------------------------+
 0001-fix-tests-with-prefix.diff |   20 +++----
 0002-fix-jack-requirement.diff  |   14 ++++
 PKGBUILD                        |  108 +++++++++++++++++++-------------------
 3 files changed, 79 insertions(+), 63 deletions(-)

Deleted: 0001-fix-tests-with-prefix.diff
===================================================================
--- 0001-fix-tests-with-prefix.diff	2018-01-31 21:03:30 UTC (rev 288448)
+++ 0001-fix-tests-with-prefix.diff	2018-01-31 21:03:40 UTC (rev 288449)
@@ -1,10 +0,0 @@
---- a/rtmidi-3.0.0/configure.ac	2017-08-31 17:10:07.000000000 -0700
-+++ b/rtmidi-3.0.0/configure.ac	2017-09-28 19:19:37.515888982 -0700
-@@ -77,7 +77,6 @@
- # Set paths if prefix is defined
- if test "x$prefix" != "x" && test "x$prefix" != "xNONE"; then
-   LIBS="$LIBS -L$prefix/lib"
--  CPPFLAGS="$CPPFLAGS -I$prefix/include/rtmidi"
- fi
- 
- # For -I and -D flags

Copied: rtmidi/repos/community-testing-x86_64/0001-fix-tests-with-prefix.diff (from rev 288448, rtmidi/trunk/0001-fix-tests-with-prefix.diff)
===================================================================
--- 0001-fix-tests-with-prefix.diff	                        (rev 0)
+++ 0001-fix-tests-with-prefix.diff	2018-01-31 21:03:40 UTC (rev 288449)
@@ -0,0 +1,10 @@
+--- a/rtmidi-3.0.0/configure.ac	2017-08-31 17:10:07.000000000 -0700
++++ b/rtmidi-3.0.0/configure.ac	2017-09-28 19:19:37.515888982 -0700
+@@ -77,7 +77,6 @@
+ # Set paths if prefix is defined
+ if test "x$prefix" != "x" && test "x$prefix" != "xNONE"; then
+   LIBS="$LIBS -L$prefix/lib"
+-  CPPFLAGS="$CPPFLAGS -I$prefix/include/rtmidi"
+ fi
+ 
+ # For -I and -D flags

Copied: rtmidi/repos/community-testing-x86_64/0002-fix-jack-requirement.diff (from rev 288448, rtmidi/trunk/0002-fix-jack-requirement.diff)
===================================================================
--- 0002-fix-jack-requirement.diff	                        (rev 0)
+++ 0002-fix-jack-requirement.diff	2018-01-31 21:03:40 UTC (rev 288449)
@@ -0,0 +1,14 @@
+diff -ruN rtmidi-3.0.0-a/configure.ac rtmidi-3.0.0-b/configure.ac
+--- rtmidi-3.0.0-a/configure.ac	2017-09-01 02:10:07.000000000 +0200
++++ rtmidi-3.0.0-b/configure.ac	2018-01-31 21:51:28.870760324 +0100
+@@ -116,7 +116,9 @@
+ AS_IF([test "x$with_jack" == "xyes"], [
+ api="$api -D__UNIX_JACK__"
+ AC_MSG_RESULT(using JACK)
+-AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR(JACK support requires the jack library!))])
++AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR(JACK support requires the jack library!))
++req="$req jack"
++])
+ 
+ case $host in
+   *-*-linux*)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-31 21:03:30 UTC (rev 288448)
+++ PKGBUILD	2018-01-31 21:03:40 UTC (rev 288449)
@@ -1,53 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
-# Contributor: rtfreedman  <rob dot til dot freedman at gmail dot com>
-# Contributor: speps <speps at aur dot archlinux dot org> 
-
-pkgname=rtmidi
-pkgver=3.0.0
-pkgrel=4
-pkgdesc="A set of C++ classes that provides a common API for realtime MIDI input/output."
-arch=('x86_64')
-url="https://www.music.mcgill.ca/~gary/rtmidi/"
-license=('custom:MIT')
-depends=('jack')
-makedepends=('doxygen')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thestk/${pkgname}/archive/v${pkgver}.tar.gz"
-        '0001-fix-tests-with-prefix.diff')
-sha512sums=('8975a63e7be9102af70401cef48c702597b87efe2d8fa30a978fe280e26da1dfa90d6f30cfbd3df587462f0dd085d0f29e1c014e67d7fcd3a36960b6bcfb3e55'
-            'cab71dd641eaa3c7fa3c83b81fb4517bcf455a6037e103c29edbc2d540feed1b4fc0e5e3f9ea5f03845c98c8246cbb9bd12d1cf1f16c4bcbb2c0e874bd66674a')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # Link the tests against build output and not the system library when using --prefix.
-  # [https://github.com/thestk/rtmidi/pull/127]
-  patch -Np2 -i "${srcdir}/0001-fix-tests-with-prefix.diff"
-  autoreconf -fi
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --with-alsa --with-jack
-  sed -i 's/Requires: /Requires: jack/' "${pkgname}.pc"
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm644 {README.md,doc/release.txt}
-
-  # html
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/html" \
-    -vDm644 doc/html/*
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/images" \
-    -vDm644 doc/images/*
-
-  # license
-  csplit -s README.md "%Legal and%"
-  install -vDm644 xx00 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-

Copied: rtmidi/repos/community-testing-x86_64/PKGBUILD (from rev 288448, rtmidi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-31 21:03:40 UTC (rev 288449)
@@ -0,0 +1,55 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
+# Contributor: rtfreedman  <rob dot til dot freedman at gmail dot com>
+# Contributor: speps <speps at aur dot archlinux dot org> 
+
+pkgname=rtmidi
+pkgver=3.0.0
+pkgrel=5
+pkgdesc="A set of C++ classes that provides a common API for realtime MIDI input/output."
+arch=('x86_64')
+url="https://www.music.mcgill.ca/~gary/rtmidi/"
+license=('custom:MIT')
+depends=('jack')
+makedepends=('doxygen')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thestk/${pkgname}/archive/v${pkgver}.tar.gz"
+        '0001-fix-tests-with-prefix.diff'
+        '0002-fix-jack-requirement.diff')
+sha512sums=('8975a63e7be9102af70401cef48c702597b87efe2d8fa30a978fe280e26da1dfa90d6f30cfbd3df587462f0dd085d0f29e1c014e67d7fcd3a36960b6bcfb3e55'
+            'cab71dd641eaa3c7fa3c83b81fb4517bcf455a6037e103c29edbc2d540feed1b4fc0e5e3f9ea5f03845c98c8246cbb9bd12d1cf1f16c4bcbb2c0e874bd66674a'
+            '4cd4f49a639688736fef3ebea84f5ca05aef54c85b83713e9aa9ae5467c871e7edda7272279e8f2e131e3e70cc9aa394bab4e157be9521f41d1811c90a66b357')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # https://github.com/thestk/rtmidi/pull/127
+  patch -Np2 -i "${srcdir}/0001-fix-tests-with-prefix.diff"
+  # https://github.com/thestk/rtmidi/issues/154
+  patch -Np1 -i "${srcdir}/0002-fix-jack-requirement.diff"
+  autoreconf -fi
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --with-alsa --with-jack
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm644 {README.md,doc/release.txt}
+
+  # html
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/html" \
+    -vDm644 doc/html/*
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/images" \
+    -vDm644 doc/images/*
+
+  # license
+  csplit -s README.md "%Legal and%"
+  install -vDm644 xx00 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+



More information about the arch-commits mailing list