[arch-commits] Commit in sc3-plugins/repos/community-x86_64 (4 files)

David Runge dvzrv at archlinux.org
Thu Nov 29 12:36:13 UTC 2018


    Date: Thursday, November 29, 2018 @ 12:36:12
  Author: dvzrv
Revision: 410533

archrelease: copy trunk to community-x86_64

Added:
  sc3-plugins/repos/community-x86_64/PKGBUILD
    (from rev 410532, sc3-plugins/trunk/PKGBUILD)
  sc3-plugins/repos/community-x86_64/fixing-supernova-check.patch
    (from rev 410532, sc3-plugins/trunk/fixing-supernova-check.patch)
Deleted:
  sc3-plugins/repos/community-x86_64/PKGBUILD
  sc3-plugins/repos/community-x86_64/fixing-supernova-check.patch

------------------------------+
 PKGBUILD                     |   83 ++++++++---------
 fixing-supernova-check.patch |  194 ++++++++++++++++++++---------------------
 2 files changed, 139 insertions(+), 138 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-29 12:36:06 UTC (rev 410532)
+++ PKGBUILD	2018-11-29 12:36:12 UTC (rev 410533)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=sc3-plugins
-pkgver=3.10.0
-pkgrel=1
-pkgdesc="Extension plugins for the SuperCollider3 audio synthesis server."
-arch=('x86_64')
-url="https://github.com/supercollider/sc3-plugins"
-license=('GPL2')
-groups=('pro-audio')
-depends=('supercollider')
-makedepends=('cmake' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/supercollider/${pkgname}/releases/download/Version-${pkgver}/${pkgname}-${pkgver}-Source.tar.bz2"
-        "fixing-supernova-check.patch")
-sha512sums=('2105e049046ae595ed7e2e57be5f3d7ba20b940530ea448bde098cd2cdfdddc6ab17d7f16b27ef41f9e245f879d287ecb51f66bc0535814e0a2be4b0a806e377'
-            '34a0753c116a763d4e3576c0207cf20ccc24043829d0b8a3ffa77e3928ffa98ccba9640854e4a728f698eeda23283c6f44f713c5bf155de3bf5f174f597f2805')
-
-prepare() {
-  mv -v "$pkgname-$pkgver-Source" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # fixing wrong check for SUPERNOVA
-  # https://github.com/supercollider/sc3-plugins/issues/185
-  patch -Np1 -i "${srcdir}/fixing-supernova-check.patch"
-  mkdir build
-}
-
-build() {
-  cd "$pkgname-$pkgver/build"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DSC_PATH=/usr/include/SuperCollider/ \
-        -DSUPERNOVA=ON \
-        ..
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
-  install -vDm 644 ../{{DEVELOPING,README}.md,TODO} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-}

Copied: sc3-plugins/repos/community-x86_64/PKGBUILD (from rev 410532, sc3-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-29 12:36:12 UTC (rev 410533)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=sc3-plugins
+pkgver=3.10.0
+pkgrel=2
+pkgdesc="Extension plugins for the SuperCollider3 audio synthesis server."
+arch=('x86_64')
+url="https://github.com/supercollider/sc3-plugins"
+license=('GPL2')
+groups=('pro-audio')
+depends=('stk' 'supercollider')
+makedepends=('cmake' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/supercollider/${pkgname}/releases/download/Version-${pkgver}/${pkgname}-${pkgver}-Source.tar.bz2"
+        "fixing-supernova-check.patch")
+sha512sums=('2105e049046ae595ed7e2e57be5f3d7ba20b940530ea448bde098cd2cdfdddc6ab17d7f16b27ef41f9e245f879d287ecb51f66bc0535814e0a2be4b0a806e377'
+            '34a0753c116a763d4e3576c0207cf20ccc24043829d0b8a3ffa77e3928ffa98ccba9640854e4a728f698eeda23283c6f44f713c5bf155de3bf5f174f597f2805')
+
+prepare() {
+  mv -v "$pkgname-$pkgver-Source" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # fixing wrong check for SUPERNOVA
+  # https://github.com/supercollider/sc3-plugins/issues/185
+  patch -Np1 -i "${srcdir}/fixing-supernova-check.patch"
+  mkdir build
+}
+
+build() {
+  cd "$pkgname-$pkgver/build"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DSC_PATH=/usr/include/SuperCollider/ \
+        -DSYSTEM_STK=ON \
+        -DSUPERNOVA=ON \
+        ..
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver/build"
+  make DESTDIR="$pkgdir/" install
+  install -vDm 644 ../{{DEVELOPING,README}.md,TODO} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}

Deleted: fixing-supernova-check.patch
===================================================================
--- fixing-supernova-check.patch	2018-11-29 12:36:06 UTC (rev 410532)
+++ fixing-supernova-check.patch	2018-11-29 12:36:12 UTC (rev 410533)
@@ -1,97 +0,0 @@
-From 01e34e40a896165f8ac6ebf85bab2e38e900d44b Mon Sep 17 00:00:00 2001
-From: David Runge <dave at sleepmap.de>
-Date: Wed, 21 Mar 2018 16:15:12 +0100
-Subject: [PATCH] CMakeLists.txt: Changing check for SUPERNOVA to be check for
- NOVA_DISK_IO, so default builds won't fail, if the SuperCollider sources are
- not around during build time.
-
----
- CMakeLists.txt | 37 ++++++++++++++++++++-----------------
- 1 file changed, 20 insertions(+), 17 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index cd9d782..96a993a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -12,9 +12,12 @@ if (NOT SYSTEM_STK)
-   endif()
- endif()
- 
--if (SUPERNOVA)
-+if (NOVA_DISK_IO)
-   if (NOT EXISTS ${SC_PATH}/external_libraries/nova-tt/CMakeLists.txt)
--    message(FATAL_ERROR "The nova-tt submodule in the SuperCollider repository is missing (required for SuperNova plugins). This probably means you forgot to clone submodules. To fix this, run `git submodule update --init` from the root folder of the SuperCollider repository")
-+    message(FATAL_ERROR "The nova-tt submodule in the SuperCollider repository
-+    is missing (required for NovaDiskIO plugin). This probably means you forgot
-+    to clone submodules. To fix this, run `git submodule update --init` from
-+    the root folder of the SuperCollider repository")
-   endif()
- endif()
- 
-@@ -31,9 +34,9 @@ add_custom_target(uninstall
- 
- find_package(SuperCollider3)
- if (NOT SC_FOUND)
--	message(SEND_ERROR "cannot find SuperCollider3 headers. Set the variable SC_PATH.")
-+  message(SEND_ERROR "cannot find SuperCollider3 headers. Set the variable SC_PATH.")
- else()
--	message(STATUS "Using SC source located at ${SC_PATH}")
-+  message(STATUS "Using SC source located at ${SC_PATH}")
- endif()
- 
- include("${SC_PATH}/SCVersion.txt")
-@@ -41,9 +44,9 @@ set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}${PROJECT_
- message(STATUS "Building plugins for SuperCollider version: ${PROJECT_VERSION}")
- 
- if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_VERSION VERSION_LESS SUPERNOVA_CMAKE_MINVERSION)
--	option(SUPERNOVA "Build plugins for supernova" ON)
-+  option(SUPERNOVA "Build plugins for supernova" ON)
- else()
--	option(SUPERNOVA "Build plugins for supernova" OFF)
-+  option(SUPERNOVA "Build plugins for supernova" OFF)
- endif()
- 
- option(AY "Build with AY ugens" ON)
-@@ -58,7 +61,7 @@ option(SYSTEM_STK "Use STK libraries from system" OFF)
- option(NOVA_DISK_IO "Build with Nova's DiskIO UGens. Requires boost source tree, break warranty & eats your children." OFF)
- 
- if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
--	set(CMAKE_COMPILER_IS_CLANG 1)
-+  set(CMAKE_COMPILER_IS_CLANG 1)
- endif()
- 
- if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
-@@ -97,20 +100,20 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
-         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpmath=sse")
-     endif()
- 
--	if(NATIVE)
--		add_definitions(-march=native)
--	endif()
-+  if(NATIVE)
-+    add_definitions(-march=native)
-+  endif()
- 
--	if(CPP11)
-+  if(CPP11)
-         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
--		if(CMAKE_COMPILER_IS_CLANG)
--			set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
--		endif()
--	endif()
-+    if(CMAKE_COMPILER_IS_CLANG)
-+      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
-+    endif()
-+  endif()
- endif()
- if(MINGW)
--	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mstackrealign")
--	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mstackrealign")
-+  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mstackrealign")
-+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mstackrealign")
- endif()
- 
- if (NOVA_SIMD)
--- 
-2.16.2
-

Copied: sc3-plugins/repos/community-x86_64/fixing-supernova-check.patch (from rev 410532, sc3-plugins/trunk/fixing-supernova-check.patch)
===================================================================
--- fixing-supernova-check.patch	                        (rev 0)
+++ fixing-supernova-check.patch	2018-11-29 12:36:12 UTC (rev 410533)
@@ -0,0 +1,97 @@
+From 01e34e40a896165f8ac6ebf85bab2e38e900d44b Mon Sep 17 00:00:00 2001
+From: David Runge <dave at sleepmap.de>
+Date: Wed, 21 Mar 2018 16:15:12 +0100
+Subject: [PATCH] CMakeLists.txt: Changing check for SUPERNOVA to be check for
+ NOVA_DISK_IO, so default builds won't fail, if the SuperCollider sources are
+ not around during build time.
+
+---
+ CMakeLists.txt | 37 ++++++++++++++++++++-----------------
+ 1 file changed, 20 insertions(+), 17 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cd9d782..96a993a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -12,9 +12,12 @@ if (NOT SYSTEM_STK)
+   endif()
+ endif()
+ 
+-if (SUPERNOVA)
++if (NOVA_DISK_IO)
+   if (NOT EXISTS ${SC_PATH}/external_libraries/nova-tt/CMakeLists.txt)
+-    message(FATAL_ERROR "The nova-tt submodule in the SuperCollider repository is missing (required for SuperNova plugins). This probably means you forgot to clone submodules. To fix this, run `git submodule update --init` from the root folder of the SuperCollider repository")
++    message(FATAL_ERROR "The nova-tt submodule in the SuperCollider repository
++    is missing (required for NovaDiskIO plugin). This probably means you forgot
++    to clone submodules. To fix this, run `git submodule update --init` from
++    the root folder of the SuperCollider repository")
+   endif()
+ endif()
+ 
+@@ -31,9 +34,9 @@ add_custom_target(uninstall
+ 
+ find_package(SuperCollider3)
+ if (NOT SC_FOUND)
+-	message(SEND_ERROR "cannot find SuperCollider3 headers. Set the variable SC_PATH.")
++  message(SEND_ERROR "cannot find SuperCollider3 headers. Set the variable SC_PATH.")
+ else()
+-	message(STATUS "Using SC source located at ${SC_PATH}")
++  message(STATUS "Using SC source located at ${SC_PATH}")
+ endif()
+ 
+ include("${SC_PATH}/SCVersion.txt")
+@@ -41,9 +44,9 @@ set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}${PROJECT_
+ message(STATUS "Building plugins for SuperCollider version: ${PROJECT_VERSION}")
+ 
+ if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_VERSION VERSION_LESS SUPERNOVA_CMAKE_MINVERSION)
+-	option(SUPERNOVA "Build plugins for supernova" ON)
++  option(SUPERNOVA "Build plugins for supernova" ON)
+ else()
+-	option(SUPERNOVA "Build plugins for supernova" OFF)
++  option(SUPERNOVA "Build plugins for supernova" OFF)
+ endif()
+ 
+ option(AY "Build with AY ugens" ON)
+@@ -58,7 +61,7 @@ option(SYSTEM_STK "Use STK libraries from system" OFF)
+ option(NOVA_DISK_IO "Build with Nova's DiskIO UGens. Requires boost source tree, break warranty & eats your children." OFF)
+ 
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
+-	set(CMAKE_COMPILER_IS_CLANG 1)
++  set(CMAKE_COMPILER_IS_CLANG 1)
+ endif()
+ 
+ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
+@@ -97,20 +100,20 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
+         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpmath=sse")
+     endif()
+ 
+-	if(NATIVE)
+-		add_definitions(-march=native)
+-	endif()
++  if(NATIVE)
++    add_definitions(-march=native)
++  endif()
+ 
+-	if(CPP11)
++  if(CPP11)
+         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+-		if(CMAKE_COMPILER_IS_CLANG)
+-			set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
+-		endif()
+-	endif()
++    if(CMAKE_COMPILER_IS_CLANG)
++      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
++    endif()
++  endif()
+ endif()
+ if(MINGW)
+-	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mstackrealign")
+-	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mstackrealign")
++  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mstackrealign")
++  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mstackrealign")
+ endif()
+ 
+ if (NOVA_SIMD)
+-- 
+2.16.2
+


More information about the arch-commits mailing list