<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e2fcb06f9ed05f310a1abf7b9cbc31c61f908d7a">https://github.com/macports/macports-ports/commit/e2fcb06f9ed05f310a1abf7b9cbc31c61f908d7a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e2fcb06f9ed orca: submission
</span>e2fcb06f9ed is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e2fcb06f9ed05f310a1abf7b9cbc31c61f908d7a
</span>Author: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
AuthorDate: Fri Apr 22 00:08:22 2022 +0300
<span style='display:block; white-space:pre;color:#404040;'> orca: submission
</span>---
audio/orca/Portfile | 46 ++++++++++++++++++++++++++++++++
audio/orca/files/patch-tool.diff | 57 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/orca/Portfile b/audio/orca/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e6c8b8a841c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/orca/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,46 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name orca
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup hundredrabbits Orca-c d027a414d5ff257b52c613284673933077a53cfa
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20220224
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories audio lang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@aeiouaeiouaeiouaeiouaeiouaeiou outlook.com:aeioudev} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description C implementation of the ORCĪ language \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and terminal livecoding environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Orca is a two-dimensional esoteric programming \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ language in which every letter of the alphabet \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ is an operator, where lowercase letters operate \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ on bang, uppercase letters operate each frame. The \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ application is not a synthesiser, but a flexible \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecoding environment capable of sending MIDI, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OSC & UDP to your audio interface, like Ableton, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Renoise, VCV Rack or SuperCollider.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://100r.co/site/orca.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 363ea92c5bbdda59a81a33cba278d068fde5ef62 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 48046a03446889d66345cf937da9cd9d57231fd06df8b8887552588ce0b80b28 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 80466
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:ncurses \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:portmidi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-tool.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/tool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${build.dir}/build/orca ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/orca/files/patch-tool.diff b/audio/orca/files/patch-tool.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..caa8a7c370f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/orca/files/patch-tool.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,57 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tool.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -235,7 +235,7 @@ build_target() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libraries=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ source_files=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ out_exe=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add cc_flags -std=c99 -pipe -finput-charset=UTF-8 -Wall -Wpedantic -Wextra \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ add cc_flags -std=c99 -pipe -Wall -Wpedantic -Wextra \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wwrite-strings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if cc_id_and_vers_gte gcc 6.0.0 || cc_id_and_vers_gte clang 3.9.0; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add cc_flags -Wconversion -Wshadow -Wstrict-prototypes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -312,7 +312,7 @@ build_target() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $arch in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $cc_id in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # 'nehalem' tuning actually produces faster code for orca than later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # 'core2' tuning actually produces faster code for orca than later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # archs, for both gcc and clang, even if it's running on a later arch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # CPU. This is likely due to smaller emitted code size. gcc earlier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # than 4.9 does not recognize the arch flag for it it, though, and I
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -320,10 +320,10 @@ build_target() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # behavior we get with it is. Just leave it at default, in that case.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if cc_vers_is_gte 4.9; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add cc_flags -march=nehalem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ add cc_flags -march=core2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- clang) add cc_flags -march=nehalem;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ clang) add cc_flags -march=core2;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -345,10 +345,10 @@ build_target() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ out_exe=orca
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ! brew_prefix=$(printenv HOMEBREW_PREFIX); then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- brew_prefix=/usr/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ncurses_dir="$brew_prefix/opt/ncurses"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # if ! brew_prefix=$(printenv HOMEBREW_PREFIX); then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # brew_prefix=/usr/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ncurses_dir="@PREFIX@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ! [ -d "$ncurses_dir" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf 'Error: ncurses directory not found at %s\n' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "$ncurses_dir" >&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -361,7 +361,7 @@ build_target() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add cc_flags "-I$ncurses_dir/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # todo mach time stuff for mac?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ $portmidi_enabled = 1 ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- portmidi_dir="$brew_prefix/opt/portmidi"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ portmidi_dir="@PREFIX@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ! [ -d "$portmidi_dir" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf 'Error: PortMidi directory not found at %s\n' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "$portmidi_dir" >&2
</span></pre><pre style='margin:0'>
</pre>