From owner-svn-ports-all@freebsd.org Sat Jul 6 14:27:54 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B3B615C94E9; Sat, 6 Jul 2019 14:27:54 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2ADE58DB8E; Sat, 6 Jul 2019 14:27:54 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00AEB22C31; Sat, 6 Jul 2019 14:27:53 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x66ERrjk077499; Sat, 6 Jul 2019 14:27:53 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x66ERqe7077493; Sat, 6 Jul 2019 14:27:52 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201907061427.x66ERqe7077493@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 6 Jul 2019 14:27:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505997 - in head/multimedia: . butt butt/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/multimedia: . butt butt/files X-SVN-Commit-Revision: 505997 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2ADE58DB8E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.93 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.93)[-0.930,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jul 2019 14:27:54 -0000 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 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@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 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/