Page MenuHomeFreeBSD

D38518.id117002.diff
No OneTemporary

D38518.id117002.diff

Index: sysutils/Makefile
===================================================================
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -1351,6 +1351,7 @@
SUBDIR += smug
SUBDIR += snap
SUBDIR += snapraid
+ SUBDIR += sndy
SUBDIR += snmp_exporter
SUBDIR += snooze
SUBDIR += sockaddr
Index: sysutils/sndy/Makefile
===================================================================
--- /dev/null
+++ sysutils/sndy/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= sndy
+PORTVERSION= 0.0.4
+CATEGORIES= sysutils audio tcl
+
+MAINTAINER= Clockwork6400@protonmail.com
+COMMENT= Sound Switcher
+WWW= https://github.com/Clockwork6400/sndy
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= shebangfix tcl tk
+
+USE_GITHUB= yes
+GH_ACCOUNT= Clockwork6400
+
+SHEBANG_FILES= sndy
+tk_OLD_CMD+= /usr/local/bin/wish8.6
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/sndy \
+ share/applications/sndy.desktop
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/sndy ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/sndy.desktop ${STAGEDIR}${PREFIX}/share/applications
+.include <bsd.port.mk>
Index: sysutils/sndy/distinfo
===================================================================
--- /dev/null
+++ sysutils/sndy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1675286886
+SHA256 (Clockwork6400-sndy-0.0.4_GH0.tar.gz) = 7e2bad3f335fbbb549b8cf3675076f2cbef7d90053b56fe8e92a05097ae2b1b9
+SIZE (Clockwork6400-sndy-0.0.4_GH0.tar.gz) = 3281
Index: sysutils/sndy/pkg-descr
===================================================================
--- /dev/null
+++ sysutils/sndy/pkg-descr
@@ -0,0 +1,16 @@
+sndy - is an audio switching program that allows you to redirect sound output to
+any port of your computer.
+
+The buttons in the program correspond to the init line in your /dev/sndstat.
+Pressing the button toggles the sound output with the sysctl command
+hw.snd.default_unit=<X>. Do not switch audio output during playback
+of a single audio file. The OSS sound system can only play sound to one device
+at a time. Therefore, you need to wait for the end or completion of the previous
+sound file before switching.
+
+The scroll bar can be used to change the volume level. The volume
+is changed using the mixer vol <indicator>*10 command. That is, each digit
+from 0 to 10 multiplied by 10 corresponds to a percentage of volume.
+
+The selected pcm is only saved until you reboot. To save the default sound
+output, add hw.snd.default_unit=<number> to the system file /etc/sysctl.conf

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 7, 6:37 PM (6 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38480623
Default Alt Text
D38518.id117002.diff (2 KB)

Event Timeline