[arch-commits] Commit in rtosc/repos/community-x86_64 (6 files)
David Runge
dvzrv at archlinux.org
Wed Sep 9 20:41:28 UTC 2020
Date: Wednesday, September 9, 2020 @ 20:41:28
Author: dvzrv
Revision: 701665
archrelease: copy trunk to community-x86_64
Added:
rtosc/repos/community-x86_64/PKGBUILD
(from rev 701664, rtosc/trunk/PKGBUILD)
rtosc/repos/community-x86_64/rtosc-fix-pkg-config-file.patch
(from rev 701664, rtosc/trunk/rtosc-fix-pkg-config-file.patch)
rtosc/repos/community-x86_64/rtosc-include-missing-headers.patch
(from rev 701664, rtosc/trunk/rtosc-include-missing-headers.patch)
Deleted:
rtosc/repos/community-x86_64/PKGBUILD
rtosc/repos/community-x86_64/rtosc-fix-pkg-config-file.patch
rtosc/repos/community-x86_64/rtosc-include-missing-headers.patch
-------------------------------------+
PKGBUILD | 118 +++++++++++++++++-----------------
rtosc-fix-pkg-config-file.patch | 30 ++++----
rtosc-include-missing-headers.patch | 64 +++++++++---------
3 files changed, 109 insertions(+), 103 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-09 20:41:06 UTC (rev 701664)
+++ PKGBUILD 2020-09-09 20:41:28 UTC (rev 701665)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-
-pkgname=rtosc
-pkgver=0.2.0
-pkgrel=2
-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/PKGBUILD (from rev 701664, rtosc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-09 20:41:28 UTC (rev 701665)
@@ -0,0 +1,62 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=rtosc
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="Realtime safe OSC Messaging"
+arch=('x86_64')
+url="https://github.com/fundamental/rtosc"
+license=('MIT')
+depends=('gcc-libs' 'glibc')
+makedepends=('cmake' 'doxygen')
+provides=('librtosc.so' 'librtosc-cpp.so')
+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')
+b2sums=('723f4876c21b1e5ca1196bf726ad21d68083b11d56d19ca32c4b68325d59026055b1cb5a2eb3f4eeffab99f74230947e560ac2c12a4c2123f84629ae9b68a6d1'
+ '48013cf03a906a5311b816185da1195690e772c867d4bdaf962ff4d8c0a81de9af421bd0ed73e89fe3ab38de42987677777e643c345771d1d8fb638068655652'
+ '615ec60d8bc6abb3af4df32b02be57c7948308f269dbb78aac6af9019f7b12763e6fae186c13b0aff563ac2a53612630c9bf84ab257391c463300053346ec812')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # 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"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DPERF_TEST=ON \
+ -W no-dev \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
+ doxygen build/Doxyfile
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make -k test -C build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install -C build
+ 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}"
+}
Deleted: rtosc-fix-pkg-config-file.patch
===================================================================
--- rtosc-fix-pkg-config-file.patch 2020-09-09 20:41:06 UTC (rev 701664)
+++ rtosc-fix-pkg-config-file.patch 2020-09-09 20:41:28 UTC (rev 701665)
@@ -1,15 +0,0 @@
-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-fix-pkg-config-file.patch (from rev 701664, rtosc/trunk/rtosc-fix-pkg-config-file.patch)
===================================================================
--- rtosc-fix-pkg-config-file.patch (rev 0)
+++ rtosc-fix-pkg-config-file.patch 2020-09-09 20:41:28 UTC (rev 701665)
@@ -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
Deleted: rtosc-include-missing-headers.patch
===================================================================
--- rtosc-include-missing-headers.patch 2020-09-09 20:41:06 UTC (rev 701664)
+++ rtosc-include-missing-headers.patch 2020-09-09 20:41:28 UTC (rev 701665)
@@ -1,32 +0,0 @@
-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})
Copied: rtosc/repos/community-x86_64/rtosc-include-missing-headers.patch (from rev 701664, rtosc/trunk/rtosc-include-missing-headers.patch)
===================================================================
--- rtosc-include-missing-headers.patch (rev 0)
+++ rtosc-include-missing-headers.patch 2020-09-09 20:41:28 UTC (rev 701665)
@@ -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