[arch-commits] Commit in rtosc/repos (4 files)

David Runge dvzrv at archlinux.org
Thu Apr 18 22:42:28 UTC 2019


    Date: Thursday, April 18, 2019 @ 22:42:27
  Author: dvzrv
Revision: 452007

archrelease: copy trunk to community-x86_64

Added:
  rtosc/repos/community-x86_64/
  rtosc/repos/community-x86_64/PKGBUILD
    (from rev 452006, rtosc/trunk/PKGBUILD)
  rtosc/repos/community-x86_64/rtosc-fix-pkg-config-file.patch
    (from rev 452006, rtosc/trunk/rtosc-fix-pkg-config-file.patch)
  rtosc/repos/community-x86_64/rtosc-include-missing-headers.patch
    (from rev 452006, rtosc/trunk/rtosc-include-missing-headers.patch)

-------------------------------------+
 PKGBUILD                            |   56 ++++++++++++++++++++++++++++++++++
 rtosc-fix-pkg-config-file.patch     |   15 +++++++++
 rtosc-include-missing-headers.patch |   32 +++++++++++++++++++
 3 files changed, 103 insertions(+)

Copied: rtosc/repos/community-x86_64/PKGBUILD (from rev 452006, rtosc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-04-18 22:42:27 UTC (rev 452007)
@@ -0,0 +1,56 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=rtosc
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Realtime safe OSC Messaging"
+arch=('x86_64')
+url="https://github.com/fundamental/rtosc"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cmake' 'doxygen')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/fundamental/${pkgname}/archive/v${pkgver}.tar.gz"
+        "${pkgname}-fix-pkg-config-file.patch"
+        "${pkgname}-include-missing-headers.patch")
+sha512sums=('f19aed587c752f33a063849fce2b4f531b734d8ae68d9f3b623da2872260b258b92c24b6160734a01f091ba821a4bd72cae98a138570ef6c741b03e1353d835a'
+            '65f6ada68c74b4c7f5e1bf3939dce3f04fbc704a8fd5386e003951201c927dc6776327c520de0b6cca2c9b09445072f931fd9cc08ed4a50c94a500f06cce4244'
+            '25db71244ce931919c6c95ca3b90fe3d4f21537a913b1c1056559b28fe59abbe6643113d46d5fda02ff3c11de4c4e51ac0f03b1a9b550176f3d547f698dccfe4')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  mkdir -p build
+  # add missing headers: https://github.com/fundamental/rtosc/issues/41
+  patch -Np1 -i ../"${pkgname}-include-missing-headers.patch"
+  # fix libdir in pkg-config file:
+  # https://github.com/fundamental/rtosc/issues/42
+  patch -Np1 -i ../"${pkgname}-fix-pkg-config-file.patch"
+  sed -e 's/STATIC/SHARED/g' -i CMakeLists.txt
+}
+
+build() {
+  cd "$pkgname-$pkgver/build"
+  cmake .. \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DPERF_TEST=ON
+  make VERBOSE=1
+  doxygen
+}
+
+check() {
+  cd "$pkgname-$pkgver/build"
+  make -k test
+}
+
+package() {
+  cd "$pkgname-$pkgver/build"
+  make DESTDIR="$pkgdir/" install
+  install -vDm 644 html/search/*.{js,png,html} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/html/search"
+  install -vDm 644 html/*.{css,js,png,html} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+  install -vDm 644 ../README.adoc \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 ../LICENSE \
+    -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Copied: rtosc/repos/community-x86_64/rtosc-fix-pkg-config-file.patch (from rev 452006, rtosc/trunk/rtosc-fix-pkg-config-file.patch)
===================================================================
--- community-x86_64/rtosc-fix-pkg-config-file.patch	                        (rev 0)
+++ community-x86_64/rtosc-fix-pkg-config-file.patch	2019-04-18 22:42:27 UTC (rev 452007)
@@ -0,0 +1,15 @@
+diff -ruN a/librtosc.pc.cmake c/librtosc.pc.cmake
+--- a/librtosc.pc.cmake	2019-04-16 01:18:21.000000000 +0200
++++ c/librtosc.pc.cmake	2019-04-18 23:43:41.030168614 +0200
+@@ -3,9 +3,8 @@
+ #
+ 
+ prefix=@CMAKE_INSTALL_PREFIX@
+-exec_prefix=${prefix}
+-libdir=${exec_prefix}
+-includedir=${prefix}/include
++libdir=@CMAKE_INSTALL_FULL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+ 
+ Name: rtosc
+ Description: rtosc - a realtime safe open sound control serialization and dispatch system

Copied: rtosc/repos/community-x86_64/rtosc-include-missing-headers.patch (from rev 452006, rtosc/trunk/rtosc-include-missing-headers.patch)
===================================================================
--- community-x86_64/rtosc-include-missing-headers.patch	                        (rev 0)
+++ community-x86_64/rtosc-include-missing-headers.patch	2019-04-18 22:42:27 UTC (rev 452007)
@@ -0,0 +1,32 @@
+diff -ruN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt	2019-04-16 01:18:21.000000000 +0200
++++ b/CMakeLists.txt	2019-04-16 21:10:10.934681045 +0200
+@@ -251,14 +251,24 @@
+             DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/")
+     endif()
+     install(FILES include/rtosc/rtosc.h
+-        include/rtosc/thread-link.h
+-        include/rtosc/ports.h
++        include/rtosc/arg-val-cmp.h
++        include/rtosc/arg-val-math.h
++        include/rtosc/automations.h
++        include/rtosc/bundle-foreach.h
++        include/rtosc/default-value.h
+         include/rtosc/miditable.h
+         include/rtosc/port-sugar.h
+-        include/rtosc/undo-history.h
++        include/rtosc/ports-runtime.h
++        include/rtosc/ports.h
++        include/rtosc/pretty-format.h
++        include/rtosc/rtosc-time.h
++        include/rtosc/rtosc-version.h
++        include/rtosc/savefile.h
+         include/rtosc/subtree-serialize.h
++        include/rtosc/thread-link.h
+         include/rtosc/typed-message.h
+-        include/rtosc/rtosc-version.h
++        include/rtosc/typestring.hh
++        include/rtosc/undo-history.h
+         DESTINATION include/rtosc)
+     install(TARGETS rtosc rtosc-cpp
+         DESTINATION ${CMAKE_INSTALL_LIBDIR})



More information about the arch-commits mailing list