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

David Runge dvzrv at archlinux.org
Wed Jan 31 14:24:13 UTC 2018


    Date: Wednesday, January 31, 2018 @ 14:24:03
  Author: dvzrv
Revision: 288410

archrelease: copy trunk to community-testing-x86_64

Added:
  rtmidi/repos/community-testing-x86_64/0001-fix-tests-with-prefix.diff
    (from rev 288409, rtmidi/trunk/0001-fix-tests-with-prefix.diff)
  rtmidi/repos/community-testing-x86_64/PKGBUILD
    (from rev 288409, 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 +++----
 PKGBUILD                        |  103 +++++++++++++++++++-------------------
 2 files changed, 62 insertions(+), 61 deletions(-)

Deleted: 0001-fix-tests-with-prefix.diff
===================================================================
--- 0001-fix-tests-with-prefix.diff	2018-01-31 14:23:33 UTC (rev 288409)
+++ 0001-fix-tests-with-prefix.diff	2018-01-31 14:24:03 UTC (rev 288410)
@@ -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 288409, 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 14:24:03 UTC (rev 288410)
@@ -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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-31 14:23:33 UTC (rev 288409)
+++ PKGBUILD	2018-01-31 14:24:03 UTC (rev 288410)
@@ -1,51 +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=2
-pkgdesc="A set of C++ classes that provides a common API for realtime MIDI input/output."
-arch=('x86_64')
-url="http://www.music.mcgill.ca/~gary/rtmidi/"
-license=('custom:MIT')
-depends=('jack')
-makedepends=('doxygen')
-source=("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
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  # Text documentation.
-  install -d "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm644 README.md doc/release.txt  "${pkgdir}/usr/share/doc/${pkgname}"
-
-  # HTML documentation.
-  install -d "${pkgdir}/usr/share/doc/${pkgname}/"{html,images}
-  install -Dm644 doc/html/*  "${pkgdir}/usr/share/doc/${pkgname}/html"
-  install -Dm644 doc/images/*  "${pkgdir}/usr/share/doc/${pkgname}/images"
-
-  # License.
-  csplit -s README.md "%Legal and%"
-  install -Dm644 xx00 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-

Copied: rtmidi/repos/community-testing-x86_64/PKGBUILD (from rev 288409, rtmidi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-31 14:24:03 UTC (rev 288410)
@@ -0,0 +1,52 @@
+# 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=3
+pkgdesc="A set of C++ classes that provides a common API for realtime MIDI input/output."
+arch=('x86_64')
+url="http://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
+  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