Date: Thursday, January 25, 2018 @ 16:59:09 Author: dvzrv Revision: 286860
Adding rtmidi 3.0.0 from AUR (39 votes). Added: rtmidi/ rtmidi/repos/ rtmidi/trunk/ rtmidi/trunk/0001-fix-tests-with-prefix.diff rtmidi/trunk/PKGBUILD ---------------------------------+ 0001-fix-tests-with-prefix.diff | 10 +++++++ PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) Added: rtmidi/trunk/0001-fix-tests-with-prefix.diff =================================================================== --- rtmidi/trunk/0001-fix-tests-with-prefix.diff (rev 0) +++ rtmidi/trunk/0001-fix-tests-with-prefix.diff 2018-01-25 16:59:09 UTC (rev 286860) @@ -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 Added: rtmidi/trunk/PKGBUILD =================================================================== --- rtmidi/trunk/PKGBUILD (rev 0) +++ rtmidi/trunk/PKGBUILD 2018-01-25 16:59:09 UTC (rev 286860) @@ -0,0 +1,51 @@ +# Maintainer: David Runge <[email protected]> +# 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" +} + Property changes on: rtmidi/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
