[arch-commits] Commit in (5 files)
David Runge
dvzrv at archlinux.org
Fri Mar 15 11:54:33 UTC 2019
Date: Friday, March 15, 2019 @ 11:54:33
Author: dvzrv
Revision: 441852
Adding link, devendoring asio.
Added:
link/
link/repos/
link/trunk/
link/trunk/PKGBUILD
link/trunk/link-devendor-asio.patch
--------------------------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++
link-devendor-asio.patch | 16 ++++++++++++
2 files changed, 73 insertions(+)
Added: link/trunk/PKGBUILD
===================================================================
--- link/trunk/PKGBUILD (rev 0)
+++ link/trunk/PKGBUILD 2019-03-15 11:54:33 UTC (rev 441852)
@@ -0,0 +1,57 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=link
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Synchronizes musical beat, tempo, and phase across multiple applications"
+arch=('x86_64')
+url="https://github.com/ableton/link"
+license=('GPL2')
+depends=('asio')
+makedepends=('cmake' 'portaudio' 'qt5-tools' 'qt5-quickcontrols')
+optdepends=('jack: for JACK examples'
+ 'portaudio: for portaudio based examples'
+ 'qt5-quickcontrols: for Qt examples')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ableton/link/archive/Link-${pkgver}.tar.gz"
+ "${pkgname}-devendor-asio.patch")
+sha512sums=('7ee81721272fe758f59889bd5c3cef4fae14189fda7113b46f71128d5ca2bed280dc2271a23ec522d49cd21653ae9999f1b58aa8c68b50e323e0dfa46d15c95e'
+ '41b474ed14b6a72a637fdd796c11bda42aaceed342a2b9ab4dcce8724414e2f3e36a30b57484cf4e22493926f1e1b5eb3b818dd710efcc5cb996c6abe58a4230')
+
+prepare() {
+ mv -v "${pkgname}-Link-${pkgver}" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ patch -Np1 -i "../${pkgname}-devendor-asio.patch"
+ mkdir -v build
+}
+
+build() {
+ cd "$pkgname-$pkgver/build"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLINK_BUILD_JACK=ON \
+ -DLINK_BUILD_QT_EXAMPLES=ON \
+ ..
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver/build"
+ bin/LinkCoreTest
+ bin/LinkDiscoveryTest
+}
+
+package() {
+ local dirs=('discovery' 'discovery/test' 'discovery/v1' 'link' 'link/v1'
+ 'platforms' 'platforms/asio' 'platforms/darwin' 'platforms/linux'
+ 'platforms/posix' 'platforms/stl' 'platforms/windows' 'test' 'test/serial_io'
+ 'util' 'util/test')
+ cd "$pkgname-$pkgver/build"
+ install -vDm 644 ../include/ableton/*.{ipp,hpp} \
+ -t "${pkgdir}/usr/include/ableton"
+ for dir in "${dirs[@]}"; do
+ install -vDm 644 ../include/ableton/"${dir}"/*.hpp \
+ -t "${pkgdir}/usr/include/ableton/${dir}"
+ done
+ install -vDm 755 bin/{LinkHut,QLinkHut,QLinkHutSilent} -t "${pkgdir}/usr/bin/"
+ install -vDm 644 ../{{README,CONTRIBUTING}.md,*.pdf} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
Added: link/trunk/link-devendor-asio.patch
===================================================================
--- link/trunk/link-devendor-asio.patch (rev 0)
+++ link/trunk/link-devendor-asio.patch 2019-03-15 11:54:33 UTC (rev 441852)
@@ -0,0 +1,16 @@
+diff -ruN a/AbletonLinkConfig.cmake b/AbletonLinkConfig.cmake
+--- a/AbletonLinkConfig.cmake 2018-05-29 12:37:09.000000000 +0200
++++ b/AbletonLinkConfig.cmake 2019-03-14 16:26:10.468519266 +0100
+@@ -42,12 +42,6 @@
+ )
+ endif()
+
+-include(${CMAKE_CURRENT_LIST_DIR}/cmake_include/AsioStandaloneConfig.cmake)
+-set_property(TARGET Ableton::Link APPEND PROPERTY
+- INTERFACE_LINK_LIBRARIES
+- AsioStandalone::AsioStandalone
+-)
+-
+ set_property(TARGET Ableton::Link APPEND PROPERTY
+ INTERFACE_SOURCES
+ ${CMAKE_CURRENT_LIST_DIR}/include/ableton/Link.hpp
More information about the arch-commits
mailing list