Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (719cdca5afa8212cbb979a3f7cb8551788d80e7e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (719cdca5afa8212cbb979a3f7cb8551788d80e7e)
  • Date: Fri, 31 Jan 2020 23:26:48 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
audio-soft/pamix/BUILD | 6 ++++++
audio-soft/pamix/DEPENDS | 12 ++++++++++++
audio-soft/pamix/DETAILS | 14 ++++++++++++++
audio-soft/pamix/HISTORY | 2 ++
audio-soft/pamix/PRE_BUILD | 4 ++++
audio-soft/pamix/build.patch | 21 +++++++++++++++++++++
7 files changed, 62 insertions(+)

New commits:
commit 719cdca5afa8212cbb979a3f7cb8551788d80e7e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

pamix: new spell, PulseAudio terminal mixer

diff --git a/ChangeLog b/ChangeLog
index 8222712..0615f4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2020-01-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * audio-soft/pamix: new spell, PulseAudio terminal mixer
+
2020-01-30 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* security/honggfuzz: new spell, a security-oriented fuzzer

diff --git a/audio-soft/pamix/BUILD b/audio-soft/pamix/BUILD
new file mode 100755
index 0000000..c367241
--- /dev/null
+++ b/audio-soft/pamix/BUILD
@@ -0,0 +1,6 @@
+if is_depends_enabled ${SPELL} llvm; then
+ CXXFLAGS="-stdlib=libc++ -I${INSTALL_ROOT}/usr/include ${CXXFLAGS}" &&
+ LDFLAGS="-lc++ -lc++abi ${LDFLAGS}"
+fi &&
+
+cmake_build
diff --git a/audio-soft/pamix/DEPENDS b/audio-soft/pamix/DEPENDS
new file mode 100755
index 0000000..d4b23db
--- /dev/null
+++ b/audio-soft/pamix/DEPENDS
@@ -0,0 +1,12 @@
+depends cmake &&
+depends pulseaudio &&
+depends ncurses &&
+
+optional_depends llvm \
+ "-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++" \
+ "" \
+ "to build ${SPELL} with clang++" &&
+
+if ! is_depends_enabled ${SPELL} llvm; then
+ depends -sub CXX gcc
+fi
diff --git a/audio-soft/pamix/DETAILS b/audio-soft/pamix/DETAILS
new file mode 100755
index 0000000..fc16290
--- /dev/null
+++ b/audio-soft/pamix/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=pamix
+ SPELLX=PAmix
+ VERSION=1.6
+ SOURCE=${SPELLX}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/patroclos/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:53f3a892b41418cdbfff28d29636997e777ab9e1042f002e1df47735941e5a34f0391866939c539594d22f0b3f0cbd1ad5342dc5663d816e12354ae9e744d5f8
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}"
+ WEB_SITE=https://github.com/patroclos/PAmix
+ LICENSE[0]=MIT
+ ENTERED=20200131
+ SHORT="PulseAudio terminal mixer"
+cat << EOF
+pamix is a ncurses/curses PulseAudio mixer in C++ similar to pavucontrol.
+EOF
diff --git a/audio-soft/pamix/HISTORY b/audio-soft/pamix/HISTORY
new file mode 100644
index 0000000..b40d5a5
--- /dev/null
+++ b/audio-soft/pamix/HISTORY
@@ -0,0 +1,2 @@
+2020-01-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD: created spell, version 1.6
diff --git a/audio-soft/pamix/PRE_BUILD b/audio-soft/pamix/PRE_BUILD
new file mode 100755
index 0000000..bf2c6a3
--- /dev/null
+++ b/audio-soft/pamix/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "${SPELL_DIRECTORY}/build.patch"
diff --git a/audio-soft/pamix/build.patch b/audio-soft/pamix/build.patch
new file mode 100644
index 0000000..d47a402
--- /dev/null
+++ b/audio-soft/pamix/build.patch
@@ -0,0 +1,21 @@
+--- src/pamix_ui.cpp.orig
++++ src/pamix_ui.cpp
+@@ -2,7 +2,7 @@
+
+ #ifdef FEAT_UNICODE
+
+-#include <ncursesw/ncurses.h>
++#include <ncurses.h>
+
+ #else
+ #include <ncurses.h>
+--- config.hpp.in.orig
++++ config.hpp.in
+@@ -1,6 +1,6 @@
+ #pragma once
+ #ifdef FEAT_UNICODE
+-#include <${NCURSESW_H_INCLUDE}>
++#include <ncurses.h>
+ #else
+ #include <ncurses.h>
+ #endif



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (719cdca5afa8212cbb979a3f7cb8551788d80e7e), Vlad Glagolev, 01/31/2020

Archive powered by MHonArc 2.6.24.

Top of Page