Index: head/multimedia/butt/Makefile =================================================================== --- head/multimedia/butt/Makefile (revision 559423) +++ head/multimedia/butt/Makefile (revision 559424) @@ -1,32 +1,32 @@ # $FreeBSD$ PORTNAME= butt -PORTVERSION= 0.1.25 +PORTVERSION= 0.1.27 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 \ libpng.so:graphics/png \ libportaudio.so:audio/portaudio \ libsamplerate.so:audio/libsamplerate \ libvorbis.so:audio/libvorbis -USES= autoreconf compiler:c++11-lang gmake jpeg pkgconfig xorg ssl uidfix +USES= autoreconf compiler:c++11-lang gettext \ + gmake jpeg pkgconfig xorg ssl uidfix USE_XORG= x11 xrender xcursor xfixes xext xft xinerama - GNU_CONFIGURE= yes -PLIST_FILES= bin/butt +PLIST_FILES= bin/butt share/locale/de/LC_MESSAGES/butt.mo .include Index: head/multimedia/butt/distinfo =================================================================== --- head/multimedia/butt/distinfo (revision 559423) +++ head/multimedia/butt/distinfo (revision 559424) @@ -1,3 +1,3 @@ -TIMESTAMP = 1604949832 -SHA256 (butt-0.1.25.tar.gz) = 7c9f44227584e30040315a5c86419bf3e654bd3523634d34b18c9017206334cb -SIZE (butt-0.1.25.tar.gz) = 983685 +TIMESTAMP = 1609088325 +SHA256 (butt-0.1.27.tar.gz) = e19a9b457414d2ca68947b49f4c3180ca8b3210b1c4f3925d71eacf1d47bab87 +SIZE (butt-0.1.27.tar.gz) = 1081649 Index: head/multimedia/butt/files/patch-configure.ac =================================================================== --- head/multimedia/butt/files/patch-configure.ac (revision 559423) +++ head/multimedia/butt/files/patch-configure.ac (nonexistent) @@ -1,64 +0,0 @@ ---- configure.ac.orig 2020-11-09 19:04:41.803234000 +0100 -+++ configure.ac 2020-11-09 19:48:22.239576000 +0100 -@@ -66,6 +66,7 @@ - build_linux=no - build_windows=no - build_mac=no -+build_freebsd=no - - # Detect the target system - case "${host_os}" in -@@ -102,6 +103,25 @@ - build_mac=yes - AC_MSG_NOTICE([MacOS detected]) - ;; -+ 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 ****])] -+ ) -+ ]) -+ AS_IF([test "x$enable_ssl" != "xno"], [ -+ AC_CHECK_LIB([ssl], [SSL_CTX_new], [], -+ [AC_MSG_ERROR([**** Could not find libssl ****])] -+ ) -+ AC_CHECK_LIB([crypto], [EVP_EncryptInit], [], -+ [AC_MSG_ERROR([**** Could not find libcrypto ****])] -+ ) -+ ]) -+ ;; - *) - AC_MSG_ERROR(["OS $host_os is not supported"]) - ;; -@@ -111,6 +131,7 @@ - AM_CONDITIONAL([LINUX], [test "$build_linux" = "yes"]) - AM_CONDITIONAL([WINDOWS], [test "$build_windows" = "yes"]) - AM_CONDITIONAL([OSX], [test "$build_mac" = "yes"]) -+AM_CONDITIONAL([FREEBSD], [test "$build_freebsd" = "yes"]) - - AC_CHECK_PROG([FLTKCONFIG],[fltk-config], [fltk-config]) - -@@ -141,6 +162,19 @@ - ]) - 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 - AC_CHECK_HEADERS([fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h]) Property changes on: head/multimedia/butt/files/patch-configure.ac ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/multimedia/butt/files/patch-src_FLTK_fl__funcs.cpp =================================================================== --- head/multimedia/butt/files/patch-src_FLTK_fl__funcs.cpp (revision 559423) +++ head/multimedia/butt/files/patch-src_FLTK_fl__funcs.cpp (nonexistent) @@ -1,11 +0,0 @@ ---- src/FLTK/fl_funcs.cpp.orig 2020-11-09 19:05:50.529619000 +0100 -+++ src/FLTK/fl_funcs.cpp 2020-11-09 19:14:30.905597000 +0100 -@@ -155,7 +155,7 @@ - fl_g->choice_cfg_app->add("VOX"); - fl_g->check_cfg_use_app->value(cfg.main.app_update); - fl_g->choice_cfg_app->value(cfg.main.app_update_service); --#elif __linux__ && HAVE_DBUS -+#elif (__linux__ || __FreeBSD__) && HAVE_DBUS - fl_g->choice_cfg_app->add("Rhythmbox"); - fl_g->choice_cfg_app->add("Banshee"); - fl_g->choice_cfg_app->add("Clementine"); Property changes on: head/multimedia/butt/files/patch-src_FLTK_fl__funcs.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/multimedia/butt/files/patch-src_Makefile.am =================================================================== --- head/multimedia/butt/files/patch-src_Makefile.am (revision 559423) +++ head/multimedia/butt/files/patch-src_Makefile.am (revision 559424) @@ -1,13 +1,18 @@ ---- src/Makefile.am.orig 2020-11-09 19:05:11.378421000 +0100 -+++ src/Makefile.am 2020-11-09 19:12:12.772675000 +0100 -@@ -34,6 +34,10 @@ +--- src/Makefile.am.orig 2020-12-27 21:27:17.416688000 +0100 ++++ src/Makefile.am 2020-12-27 21:27:34.578674000 +0100 +@@ -25,7 +25,6 @@ + if WINDOWS + butt_SOURCES += resource.rc currentTrack.h currentTrack.cpp + AM_CPPFLAGS += -DHAVE_LIBFDK_AAC +-LDADD = -lintl + endif + + if OSX +@@ -38,6 +37,7 @@ + + if FREEBSD butt_SOURCES += currentTrack.h currentTrackLinux.cpp ++LDADD = -lintl 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: