svn commit: r505997 - in head/multimedia: . butt butt/files

Kurt Jaeger pi at FreeBSD.org
Sat Jul 6 14:27:54 UTC 2019


Author: pi
Date: Sat Jul  6 14:27:52 2019
New Revision: 505997
URL: https://svnweb.freebsd.org/changeset/ports/505997

Log:
  New port: multimedia/butt
  
  An easy to use, multi OS streaming tool. It supports SHOUTcast and Icecast.
  
  The main purpose of butt is to stream live audio data from your
  computers Mic or Line input to an Shoutcast or Icecast server.
  Recording is also possible.
  
  It is NOT intended to be a server by itself or automatically stream
  a set of audio files.
  
  WWW: https://danielnoethen.de/butt/
  
  Submitted by:	Per Gunnarsson <per.gunnarsson at yandex.com>

Added:
  head/multimedia/butt/
  head/multimedia/butt/Makefile   (contents, props changed)
  head/multimedia/butt/distinfo   (contents, props changed)
  head/multimedia/butt/files/
  head/multimedia/butt/files/patch-configure.ac   (contents, props changed)
  head/multimedia/butt/files/patch-src_Makefile.am   (contents, props changed)
  head/multimedia/butt/pkg-descr   (contents, props changed)
Modified:
  head/multimedia/Makefile

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Sat Jul  6 14:08:35 2019	(r505996)
+++ head/multimedia/Makefile	Sat Jul  6 14:27:52 2019	(r505997)
@@ -27,6 +27,7 @@
     SUBDIR += bitstream
     SUBDIR += blind
     SUBDIR += bsdbktr_tvtune
+    SUBDIR += butt
     SUBDIR += camserv
     SUBDIR += ccextractor
     SUBDIR += cclive

Added: head/multimedia/butt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/butt/Makefile	Sat Jul  6 14:27:52 2019	(r505997)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	butt
+PORTVERSION=	0.1.18
+CATEGORIES=	multimedia graphics
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	pi at FreeBSD.org
+COMMENT=	Broadcast SHOUTcast and Icecast streams
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libdbus-1.so:devel/dbus \
+		libFLAC.so:audio/flac \
+		libfdk-aac.so:audio/fdk-aac \
+		libfltk_images.so:x11-toolkits/fltk \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libmp3lame.so:audio/lame \
+		libogg.so:audio/libogg \
+		libopus.so:audio/opus \
+		libpng16.so:graphics/png \
+		libportaudio.so:audio/portaudio \
+		libsamplerate.so:audio/libsamplerate \
+		libvorbis.so:audio/libvorbis
+
+USES=		autoreconf compiler:c++11-lang gmake jpeg pkgconfig
+USE_XORG=	x11 xrender xcursor xfixes xext xft xinerama
+
+GNU_CONFIGURE=	yes
+PLIST_FILES=	bin/butt
+
+.include <bsd.port.mk>

Added: head/multimedia/butt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/butt/distinfo	Sat Jul  6 14:27:52 2019	(r505997)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1562349284
+SHA256 (butt-0.1.18.tar.gz) = e812b4058a85c7de3733ff85f513e24891afe541eac399cba535b44490c00595
+SIZE (butt-0.1.18.tar.gz) = 968135

Added: head/multimedia/butt/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/butt/files/patch-configure.ac	Sat Jul  6 14:27:52 2019	(r505997)
@@ -0,0 +1,56 @@
+--- configure.ac.orig	2019-05-12 09:03:53 UTC
++++ configure.ac
+@@ -61,6 +61,7 @@ AM_CONDITIONAL(WINDOWS, test "$host_os" = "windows")
+ 
+ 
+ build_linux=no
++build_freebsd=no
+ build_windows=no
+ build_mac=no
+ 
+@@ -75,6 +76,15 @@ case "${host_os}" in
+ 			    )
+ 	])
+         ;;
++	freebsd*)
++        build_freebsd=yes
++        AC_MSG_NOTICE([FreeBSD detected])
++	AS_IF([test "x$enable_aac" != "xno"], [
++	       AC_CHECK_LIB([fdk-aac], [aacEncOpen], [],
++			    [AC_MSG_ERROR([**** Could not find libfdk-aac     ****])]
++			    )
++	])
++        ;;
+     cygwin*|mingw*|windows)
+         build_windows=yes
+         AC_MSG_NOTICE([Windows detected])
+@@ -90,6 +100,7 @@ esac
+ 
+ # Pass the conditionals to automake
+ AM_CONDITIONAL([LINUX], [test "$build_linux" = "yes"])
++AM_CONDITIONAL([FREEBSD], [test "$build_freebsd" = "yes"])
+ AM_CONDITIONAL([WINDOWS], [test "$build_windows" = "yes"])
+ AM_CONDITIONAL([OSX], [test "$build_mac" = "yes"])
+ 
+@@ -121,6 +132,21 @@ if test "$build_linux" = "yes"; then
+ 		AC_MSG_ERROR([**** Coud not find dbus dev files])
+ 	])
+ fi
++
++#Add dbus library for FreeBSD
++if test "$build_freebsd" = "yes"; then
++	AC_MSG_NOTICE([])
++	PKG_CHECK_MODULES([DBUS], [dbus-1], [
++		AC_DEFINE([HAVE_DBUS], [1], [Use dbus to get current tracks])
++		LIBS="$LIBS $DBUS_LIBS"
++		CFLAGS="$CFLAGS $LIBS $DBUS_CFLAGS"
++		CXXFLAGS="$CXXFLAGS $DBUS_CFLAGS"
++	], [
++		AC_DEFINE([HAVE_DBUS], [0], [Use dbus to get current tracks])
++		AC_MSG_ERROR([**** Coud not find dbus dev files])
++	])
++fi
++
+ 
+ # Checks for header files.
+ AC_PATH_X

Added: head/multimedia/butt/files/patch-src_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/butt/files/patch-src_Makefile.am	Sat Jul  6 14:27:52 2019	(r505997)
@@ -0,0 +1,13 @@
+--- src/Makefile.am.orig	2019-04-21 18:20:26 UTC
++++ src/Makefile.am
+@@ -34,6 +34,10 @@ if LINUX
+ butt_SOURCES += currentTrack.h currentTrackLinux.cpp
+ endif
+ 
++if FREEBSD
++butt_SOURCES += currentTrack.h currentTrackLinux.cpp
++endif
++
+ # used only under MinGW to compile the resource.rc file (manifest and program icon)
+ 
+ .rc.o:

Added: head/multimedia/butt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/butt/pkg-descr	Sat Jul  6 14:27:52 2019	(r505997)
@@ -0,0 +1,10 @@
+An easy to use, multi OS streaming tool. It supports SHOUTcast and Icecast.
+
+The main purpose of butt is to stream live audio data from your
+computers Mic or Line input to an Shoutcast or Icecast server.
+Recording is also possible.
+
+It is NOT intended to be a server by itself or automatically stream
+a set of audio files.
+
+WWW: https://danielnoethen.de/butt/


More information about the svn-ports-all mailing list