Sat Jul 6 13:17:01 2019 UTC ()
audacious: Update to 3.10.0

Upstream decided to drop GTK3 support.
GTK3 was previously the default UI in pkgsrc.

I've changed the deafult to Qt5 to retain HiDPI support.
GTK2 is also available for those who want it.

New plugins: sox-resampler, silence-removal, ffaudio (used for formats
not handled by other plugins like opus), alsa


(nia)
diff -r1.54 -r1.55 pkgsrc/audio/audacious/Makefile
diff -r1.4 -r1.5 pkgsrc/audio/audacious/PLIST
diff -r1.39 -r1.40 pkgsrc/audio/audacious/buildlink3.mk
diff -r1.10 -r1.11 pkgsrc/audio/audacious/distinfo
diff -r0 -r1.1 pkgsrc/audio/audacious/options.mk
diff -r1.92 -r1.93 pkgsrc/audio/audacious-plugins/Makefile
diff -r1.15 -r1.16 pkgsrc/audio/audacious-plugins/PLIST
diff -r1.5 -r1.6 pkgsrc/audio/audacious-plugins/distinfo
diff -r0 -r1.1 pkgsrc/audio/audacious-plugins/hacks.mk
diff -r1.9 -r1.10 pkgsrc/audio/audacious-plugins/options.mk
diff -r1.2 -r1.3 pkgsrc/audio/audacious/patches/patch-configure
diff -r0 -r1.1 pkgsrc/audio/audacious/patches/patch-src_libaudcore_audio.h.in

cvs diff -r1.54 -r1.55 pkgsrc/audio/audacious/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/audacious/Makefile 2018/11/14 22:20:59 1.54
+++ pkgsrc/audio/audacious/Makefile 2019/07/06 13:17:00 1.55
@@ -1,36 +1,28 @@ @@ -1,36 +1,28 @@
1# $NetBSD: Makefile,v 1.54 2018/11/14 22:20:59 kleink Exp $ 1# $NetBSD: Makefile,v 1.55 2019/07/06 13:17:00 nia Exp $
2 2
3DISTNAME= audacious-3.5.2 3DISTNAME= audacious-3.10.1
4PKGREVISION= 10 
5CATEGORIES= audio 4CATEGORIES= audio
6MASTER_SITES= http://distfiles.audacious-media-player.org/ 5MASTER_SITES= https://distfiles.audacious-media-player.org/
7EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://audacious-media-player.org/ 9HOMEPAGE= https://audacious-media-player.org/
11COMMENT= Media player based on BMP and XMMS 10COMMENT= Media player based on BMP and XMMS
12LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
13 12
14USE_LANGUAGES= c c++ 13USE_LANGUAGES= c c++
15USE_TOOLS+= gmake intltool msgfmt pkg-config 14USE_TOOLS+= gmake pkg-config
 15USE_TOOLS+= intltool msgfmt msgmerge xgettext
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17# requires libguess which is not available any more 
18CONFIGURE_ARGS+= --disable-chardet 
19PKGCONFIG_OVERRIDE+= audacious.pc.in 17PKGCONFIG_OVERRIDE+= audacious.pc.in
20 18
21TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen 
22 
23# XXX does not solve linking problem completely 19# XXX does not solve linking problem completely
24LDFLAGS.Darwin+= -flat_namespace -undefined suppress 20LDFLAGS.Darwin+= -flat_namespace -undefined suppress
25 21
26.include "../../devel/atk/buildlink3.mk" 22.include "options.mk"
27.include "../../devel/gettext-lib/buildlink3.mk" 23.include "../../devel/gettext-lib/buildlink3.mk"
28.include "../../devel/glib2/buildlink3.mk" 24.include "../../devel/glib2/buildlink3.mk"
29.include "../../devel/pango/buildlink3.mk" 25.include "../../devel/gobject-introspection/buildlink3.mk"
30.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 26.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
31.include "../../sysutils/dbus/buildlink3.mk" 
32.include "../../sysutils/dbus-glib/buildlink3.mk" 
33.include "../../sysutils/desktop-file-utils/desktopdb.mk" 27.include "../../sysutils/desktop-file-utils/desktopdb.mk"
34.include "../../textproc/libxml2/buildlink3.mk" 
35.include "../../x11/gtk3/buildlink3.mk" 
36.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/audio/audacious/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/audacious/PLIST 2014/10/09 15:02:42 1.4
+++ pkgsrc/audio/audacious/PLIST 2019/07/06 13:17:00 1.5
@@ -1,114 +1,105 @@ @@ -1,114 +1,105 @@
1@comment $NetBSD: PLIST,v 1.4 2014/10/09 15:02:42 adam Exp $ 1@comment $NetBSD: PLIST,v 1.5 2019/07/06 13:17:00 nia Exp $
2bin/audacious 2bin/audacious
3bin/audtool 3${PLIST.dbus}bin/audtool
4include/audacious/api-alias-begin.h 
5include/audacious/api-alias-end.h 
6include/audacious/api-define-begin.h 
7include/audacious/api-define-end.h 
8include/audacious/api.h 
9include/audacious/audtag.h 4include/audacious/audtag.h
10include/audacious/debug.h 
11include/audacious/drct-api.h 
12include/audacious/drct.h 
13include/audacious/i18n.h 
14include/audacious/input-api.h 
15include/audacious/input.h 
16include/audacious/misc-api.h 
17include/audacious/misc.h 
18include/audacious/playlist-api.h 
19include/audacious/playlist.h 
20include/audacious/plugin.h 
21include/audacious/plugins-api.h 
22include/audacious/plugins.h 
23include/audacious/preferences.h 
24include/audacious/types.h 
25include/libaudcore/audio.h 5include/libaudcore/audio.h
26include/libaudcore/audstrings.h 6include/libaudcore/audstrings.h
27include/libaudcore/core.h 7include/libaudcore/drct.h
 8include/libaudcore/equalizer.h
 9include/libaudcore/export.h
28include/libaudcore/hook.h 10include/libaudcore/hook.h
 11include/libaudcore/i18n.h
29include/libaudcore/index.h 12include/libaudcore/index.h
30include/libaudcore/inifile.h 13include/libaudcore/inifile.h
 14include/libaudcore/interface.h
 15include/libaudcore/list.h
 16include/libaudcore/mainloop.h
31include/libaudcore/multihash.h 17include/libaudcore/multihash.h
 18include/libaudcore/objects.h
 19include/libaudcore/playlist.h
 20include/libaudcore/plugin.h
 21include/libaudcore/plugins.h
 22include/libaudcore/preferences.h
 23include/libaudcore/probe.h
 24include/libaudcore/ringbuf.h
 25include/libaudcore/runtime.h
 26include/libaudcore/templates.h
32include/libaudcore/tinylock.h 27include/libaudcore/tinylock.h
33include/libaudcore/tuple.h 28include/libaudcore/tuple.h
34include/libaudcore/vfs.h 29include/libaudcore/vfs.h
35include/libaudcore/vfs_async.h 30include/libaudcore/vfs_async.h
36include/libaudgui/libaudgui-gtk.h 31include/libaudcore/visualizer.h
37include/libaudgui/libaudgui.h 32${PLIST.gtk}include/libaudgui/libaudgui-gtk.h
38include/libaudgui/list.h 33${PLIST.gtk}include/libaudgui/libaudgui.h
39include/libaudgui/menu.h 34${PLIST.gtk}include/libaudgui/list.h
 35${PLIST.gtk}include/libaudgui/menu.h
 36${PLIST.qt}include/libaudqt/export.h
 37${PLIST.qt}include/libaudqt/iface.h
 38${PLIST.qt}include/libaudqt/info-widget.h
 39${PLIST.qt}include/libaudqt/libaudqt.h
 40${PLIST.qt}include/libaudqt/menu.h
40lib/libaudcore.so 41lib/libaudcore.so
41lib/libaudcore.so.2 42lib/libaudcore.so.5
42lib/libaudcore.so.2.0.0 43lib/libaudcore.so.5.1.0
43lib/libaudgui.so 44${PLIST.gtk}lib/libaudgui.so
44lib/libaudgui.so.2 45${PLIST.gtk}lib/libaudgui.so.5
45lib/libaudgui.so.2.0.0 46${PLIST.gtk}lib/libaudgui.so.5.0.0
 47${PLIST.qt}lib/libaudqt.so
 48${PLIST.qt}lib/libaudqt.so.2
 49${PLIST.qt}lib/libaudqt.so.2.1.0
46lib/libaudtag.so 50lib/libaudtag.so
47lib/libaudtag.so.1 51lib/libaudtag.so.3
48lib/libaudtag.so.1.0.0 52lib/libaudtag.so.3.0.0
49lib/pkgconfig/audacious.pc 53lib/pkgconfig/audacious.pc
50man/man1/audacious.1 54man/man1/audacious.1
51man/man1/audtool.1 55man/man1/audtool.1
52share/applications/audacious.desktop 56share/applications/audacious.desktop
53share/audacious/AUTHORS 57share/audacious/AUTHORS
54share/audacious/COPYING 58share/audacious/COPYING
55share/audacious/images/about-logo.png 
56share/audacious/images/album.png 
57share/audacious/images/appearance.png 
58share/audacious/images/audio.png 
59share/audacious/images/connectivity.png 
60share/audacious/images/info.png 
61share/audacious/images/playlist.png 
62share/audacious/images/plugins.png 
63share/icons/hicolor/48x48/apps/audacious.png 59share/icons/hicolor/48x48/apps/audacious.png
64share/icons/hicolor/scalable/apps/audacious.svg 60share/icons/hicolor/scalable/apps/audacious.svg
65share/locale/ast/LC_MESSAGES/audacious.mo 61share/locale/ar/LC_MESSAGES/audacious.mo
66share/locale/be/LC_MESSAGES/audacious.mo 62share/locale/be/LC_MESSAGES/audacious.mo
67share/locale/bg/LC_MESSAGES/audacious.mo 63share/locale/bg/LC_MESSAGES/audacious.mo
68share/locale/ca/LC_MESSAGES/audacious.mo 64share/locale/ca/LC_MESSAGES/audacious.mo
69share/locale/cmn/LC_MESSAGES/audacious.mo 65share/locale/cmn/LC_MESSAGES/audacious.mo
70share/locale/cs/LC_MESSAGES/audacious.mo 66share/locale/cs/LC_MESSAGES/audacious.mo
71share/locale/da/LC_MESSAGES/audacious.mo 67share/locale/da/LC_MESSAGES/audacious.mo
72share/locale/de/LC_MESSAGES/audacious.mo 68share/locale/de/LC_MESSAGES/audacious.mo
73share/locale/el/LC_MESSAGES/audacious.mo 69share/locale/el/LC_MESSAGES/audacious.mo
74share/locale/en_GB/LC_MESSAGES/audacious.mo 70share/locale/en_GB/LC_MESSAGES/audacious.mo
75share/locale/eo/LC_MESSAGES/audacious.mo 
76share/locale/es/LC_MESSAGES/audacious.mo 71share/locale/es/LC_MESSAGES/audacious.mo
77share/locale/es_AR/LC_MESSAGES/audacious.mo 72share/locale/es_AR/LC_MESSAGES/audacious.mo
78share/locale/es_MX/LC_MESSAGES/audacious.mo 73share/locale/es_MX/LC_MESSAGES/audacious.mo
79share/locale/et/LC_MESSAGES/audacious.mo 74share/locale/et/LC_MESSAGES/audacious.mo
80share/locale/eu/LC_MESSAGES/audacious.mo 75share/locale/eu/LC_MESSAGES/audacious.mo
81share/locale/fa_IR/LC_MESSAGES/audacious.mo 76share/locale/fa_IR/LC_MESSAGES/audacious.mo
82share/locale/fi/LC_MESSAGES/audacious.mo 77share/locale/fi/LC_MESSAGES/audacious.mo
83share/locale/fr/LC_MESSAGES/audacious.mo 78share/locale/fr/LC_MESSAGES/audacious.mo
84share/locale/gl/LC_MESSAGES/audacious.mo 79share/locale/gl/LC_MESSAGES/audacious.mo
85share/locale/he/LC_MESSAGES/audacious.mo 
86share/locale/hu/LC_MESSAGES/audacious.mo 80share/locale/hu/LC_MESSAGES/audacious.mo
87share/locale/id_ID/LC_MESSAGES/audacious.mo 81share/locale/id_ID/LC_MESSAGES/audacious.mo
88share/locale/it/LC_MESSAGES/audacious.mo 82share/locale/it/LC_MESSAGES/audacious.mo
89share/locale/ja/LC_MESSAGES/audacious.mo 83share/locale/ja/LC_MESSAGES/audacious.mo
90share/locale/ko/LC_MESSAGES/audacious.mo 84share/locale/ko/LC_MESSAGES/audacious.mo
91share/locale/ky/LC_MESSAGES/audacious.mo 85share/locale/ky/LC_MESSAGES/audacious.mo
92share/locale/lt/LC_MESSAGES/audacious.mo 86share/locale/lt/LC_MESSAGES/audacious.mo
93share/locale/lv/LC_MESSAGES/audacious.mo 87share/locale/lv/LC_MESSAGES/audacious.mo
94share/locale/ml_IN/LC_MESSAGES/audacious.mo 88share/locale/ml_IN/LC_MESSAGES/audacious.mo
95share/locale/ms/LC_MESSAGES/audacious.mo 89share/locale/ms/LC_MESSAGES/audacious.mo
96share/locale/nl/LC_MESSAGES/audacious.mo 90share/locale/nl/LC_MESSAGES/audacious.mo
97share/locale/pl/LC_MESSAGES/audacious.mo 91share/locale/pl/LC_MESSAGES/audacious.mo
98share/locale/pt_BR/LC_MESSAGES/audacious.mo 92share/locale/pt_BR/LC_MESSAGES/audacious.mo
99share/locale/pt_PT/LC_MESSAGES/audacious.mo 93share/locale/pt_PT/LC_MESSAGES/audacious.mo
100share/locale/ro/LC_MESSAGES/audacious.mo 94share/locale/ro/LC_MESSAGES/audacious.mo
101share/locale/ru/LC_MESSAGES/audacious.mo 95share/locale/ru/LC_MESSAGES/audacious.mo
102share/locale/si/LC_MESSAGES/audacious.mo 96share/locale/si/LC_MESSAGES/audacious.mo
103share/locale/sk/LC_MESSAGES/audacious.mo 97share/locale/sk/LC_MESSAGES/audacious.mo
104share/locale/sq/LC_MESSAGES/audacious.mo 
105share/locale/sr/LC_MESSAGES/audacious.mo 98share/locale/sr/LC_MESSAGES/audacious.mo
106share/locale/sr@latin/LC_MESSAGES/audacious.mo 
107share/locale/sr_RS/LC_MESSAGES/audacious.mo 99share/locale/sr_RS/LC_MESSAGES/audacious.mo
108share/locale/sv/LC_MESSAGES/audacious.mo 100share/locale/sv/LC_MESSAGES/audacious.mo
109share/locale/ta/LC_MESSAGES/audacious.mo 101share/locale/ta/LC_MESSAGES/audacious.mo
110share/locale/tr/LC_MESSAGES/audacious.mo 102share/locale/tr/LC_MESSAGES/audacious.mo
111share/locale/uk/LC_MESSAGES/audacious.mo 103share/locale/uk/LC_MESSAGES/audacious.mo
112share/locale/vi/LC_MESSAGES/audacious.mo 
113share/locale/zh_CN/LC_MESSAGES/audacious.mo 104share/locale/zh_CN/LC_MESSAGES/audacious.mo
114share/locale/zh_TW/LC_MESSAGES/audacious.mo 105share/locale/zh_TW/LC_MESSAGES/audacious.mo

cvs diff -r1.39 -r1.40 pkgsrc/audio/audacious/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/audio/audacious/buildlink3.mk 2018/11/14 22:20:59 1.39
+++ pkgsrc/audio/audacious/buildlink3.mk 2019/07/06 13:17:00 1.40
@@ -1,22 +1,31 @@ @@ -1,22 +1,31 @@
1# $NetBSD: buildlink3.mk,v 1.39 2018/11/14 22:20:59 kleink Exp $ 1# $NetBSD: buildlink3.mk,v 1.40 2019/07/06 13:17:00 nia Exp $
2 2
3BUILDLINK_TREE+= audacious 3BUILDLINK_TREE+= audacious
4 4
5.if !defined(AUDACIOUS_BUILDLINK3_MK) 5.if !defined(AUDACIOUS_BUILDLINK3_MK)
6AUDACIOUS_BUILDLINK3_MK:= 6AUDACIOUS_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.audacious+= audacious>=3.5.1 8BUILDLINK_API_DEPENDS.audacious+= audacious>=3.10.1
9BUILDLINK_ABI_DEPENDS.audacious+= audacious>=3.5.2nb10 9BUILDLINK_ABI_DEPENDS.audacious+= audacious>=3.10.1
10BUILDLINK_PKGSRCDIR.audacious?= ../../audio/audacious 10BUILDLINK_PKGSRCDIR.audacious?= ../../audio/audacious
11 11
12.include "../../devel/atk/buildlink3.mk" 12.include "../../mk/bsd.fast.prefs.mk"
13.include "../../devel/gettext-lib/buildlink3.mk" 13.include "../../devel/gettext-lib/buildlink3.mk"
14.include "../../devel/glib2/buildlink3.mk" 14.include "../../devel/glib2/buildlink3.mk"
15.include "../../devel/pango/buildlink3.mk" 15.include "../../devel/gobject-introspection/buildlink3.mk"
 16
 17pkgbase := audacious
 18.include "../../mk/pkg-build-options.mk"
 19
 20.if !empty(PKG_BUILD_OPTIONS.audacious:Mdbus)
16.include "../../sysutils/dbus/buildlink3.mk" 21.include "../../sysutils/dbus/buildlink3.mk"
17.include "../../sysutils/dbus-glib/buildlink3.mk" 22.endif
18.include "../../textproc/libxml2/buildlink3.mk" 23.if !empty(PKG_BUILD_OPTIONS.audacious:Mgtk2)
19.include "../../x11/gtk3/buildlink3.mk" 24.include "../../x11/gtk2/buildlink3.mk"
 25.endif
 26.if !empty(PKG_BUILD_OPTIONS.audacious:Mqt5)
 27.include "../../x11/qt5-qtbase/buildlink3.mk"
 28.endif
20.endif # AUDACIOUS_BUILDLINK3_MK 29.endif # AUDACIOUS_BUILDLINK3_MK
21 30
22BUILDLINK_TREE+= -audacious 31BUILDLINK_TREE+= -audacious

cvs diff -r1.10 -r1.11 pkgsrc/audio/audacious/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/audacious/distinfo 2018/07/31 13:46:31 1.10
+++ pkgsrc/audio/audacious/distinfo 2019/07/06 13:17:00 1.11
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.10 2018/07/31 13:46:31 jperkin Exp $ 1$NetBSD: distinfo,v 1.11 2019/07/06 13:17:00 nia Exp $
2 2
3SHA1 (audacious-3.5.2.tar.bz2) = 1c92ddb079ec1b0109cd4bc65a1329db5eb8cb1b 3SHA1 (audacious-3.10.1.tar.bz2) = 297000119e0d7b94e355bd78d484c85baeab3795
4RMD160 (audacious-3.5.2.tar.bz2) = dd41e56544d9563b47401a670d96a34d7be920b6 4RMD160 (audacious-3.10.1.tar.bz2) = 6fc2c88fc681a58f42f45d19de36f2f24bc7e1bf
5SHA512 (audacious-3.5.2.tar.bz2) = 70fd5bf81fd86a867102917c9328e1e647e9566ecfbc773b15fe0d181f176cfb333976c817493b1e485f15a045da054f19a9d6d81106d55636fca14ac09f8008 5SHA512 (audacious-3.10.1.tar.bz2) = e88891caaa3897f9b4abf39136e20834aedf1287d0d5eefea392fda89050db8db00c6f363976a68fe250ddbae4e27590f7615916a76370a44ca9235f1fa60b43
6Size (audacious-3.5.2.tar.bz2) = 448436 bytes 6Size (audacious-3.10.1.tar.bz2) = 564481 bytes
7SHA1 (patch-configure) = b35fcc193c90401ed5b927d200022e8b05e1fee8 7SHA1 (patch-configure) = 2f310b55fdfc4147af6132dd821a9f81a1be6864
 8SHA1 (patch-src_libaudcore_audio.h.in) = 621afba8a610ab0f30d064d5d9ed581e781de7d2

File Added: pkgsrc/audio/audacious/options.mk
# $NetBSD: options.mk,v 1.1 2019/07/06 13:17:00 nia Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.audacious
PKG_OPTIONS_OPTIONAL_GROUPS=	ui
PKG_OPTIONS_GROUP.ui=		qt5 gtk2
PKG_SUPPORTED_OPTIONS+=		dbus
PKG_SUGGESTED_OPTIONS+=		dbus qt5 gtk2

.include "../../mk/bsd.options.mk"

PLIST_VARS+=	dbus gtk qt

.if !empty(PKG_OPTIONS:Mdbus)
PLIST.dbus=	yes
TOOL_DEPENDS+=	gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
.include "../../sysutils/dbus/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-dbus
.endif

.if !empty(PKG_OPTIONS:Mqt5)
PLIST.qt=	yes
CONFIGURE_ARGS+=	--enable-qt
.include "../../x11/qt5-qtbase/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mgtk2)
PLIST.gtk=	yes
.include "../../x11/gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-gtk
.endif

cvs diff -r1.92 -r1.93 pkgsrc/audio/audacious-plugins/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/audacious-plugins/Makefile 2019/07/05 15:21:18 1.92
+++ pkgsrc/audio/audacious-plugins/Makefile 2019/07/06 13:17:01 1.93
@@ -1,80 +1,64 @@ @@ -1,80 +1,64 @@
1# $NetBSD: Makefile,v 1.92 2019/07/05 15:21:18 nia Exp $ 1# $NetBSD: Makefile,v 1.93 2019/07/06 13:17:01 nia Exp $
2 2
3DISTNAME= audacious-plugins-3.5.2 3DISTNAME= audacious-plugins-3.10.1
4PKGREVISION= 29 
5CATEGORIES= audio 4CATEGORIES= audio
6MASTER_SITES= http://distfiles.audacious-media-player.org/ 5MASTER_SITES= https://distfiles.audacious-media-player.org/
7EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://audacious-media-player.org/ 9HOMEPAGE= https://audacious-media-player.org/
11COMMENT= Plugins for Audacious media player 10COMMENT= Plugins for Audacious media player
12LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
13 12
14TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen 13USE_LANGUAGES= c c++
15 14USE_TOOLS+= gmake intltool pkg-config
16USE_LANGUAGES= c c++ 15USE_TOOLS+= msgfmt msgmerge xgettext
17USE_TOOLS+= gmake intltool pkg-config 16GNU_CONFIGURE= yes
18USE_TOOLS+= msgfmt msgmerge xgettext 17
19GNU_CONFIGURE= yes 18CONFIGURE_ARGS+= --disable-ampache
20#CONFIGURE_ARGS+= --disable-aac 19CONFIGURE_ARGS+= --disable-bs2b
21CONFIGURE_ARGS+= --disable-amidiplug 20CONFIGURE_ARGS+= --disable-cue
22#CONFIGURE_ARGS+= --disable-coreaudio 21CONFIGURE_ARGS+= --disable-notify
23CONFIGURE_ARGS+= --disable-gnomeshortcuts 22# use SDL instead, it has working volume control
24CONFIGURE_ARGS+= --disable-modplug 23CONFIGURE_ARGS+= --disable-oss4
25CONFIGURE_ARGS+= --with-ffmpeg=none 24CONFIGURE_ARGS+= --disable-qtaudio
26 25CONFIGURE_ARGS+= --disable-sndio
27.include "../../mk/compiler.mk" 
28.if empty(PKGSRC_COMPILER:Mclang) 
29# This should avoid an error like: libstdc++.so.6: Undefined PLT symbol "_Unwind_GetIP" on NetBSD i386 and maybe amd64, with gcc4 at least. 
30# This seems to happen when libstdc++ gets linked in with the plug-ins and the code is not compiled with g++. 
31# For a similar problem see http://archive.netbsd.se/?ml=netbsd-java&a=2007-08&m=4912662 : 
32# Systems with Clang are supposed to be new enough to have a correctly linked 
33# libstdc++. 
34LDFLAGS.NetBSD+= -lgcc_s 
35.endif 
36 
37# From audio/bmp/Makefile: 
38# XXX Workaround a crash during shutdown that happens when dlclose(3)ing 
39# any open plugin. libstdc++ gets dynamically linked in when the id3lib 
40# library is loaded, and is the one causing problems. See PR pkg/26846 
41# for more information. 
42LDFLAGS.NetBSD+= -lstdc++ -lm 
43 26
44# cdaudio plugin complains about missing OSS at runtime 27PLIST_VARS+= dbus gtk qt
45LDFLAGS+= ${LIBOSSAUDIO} 
46 28
47# do not use pkgsrc' flac if it is installed 
48CFLAGS+= -I. -I../flacng -Ilibflacng 
49 
50.include "../../mk/bsd.prefs.mk" 
51.include "options.mk" 29.include "options.mk"
52 
53PLIST_VARS+= oss4 
54 
55.if ${OPSYS} == "NetBSD" 
56RAWPART_cmd= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j 
57.elif ${OPSYS} == "SunOS" 
58CPPFLAGS.SunOS= -D__EXTENSIONS__ -D__uint32_t=uint32_t -D__uint64_t=uint64_t 
59CONFIGURE_ARGS+= --enable-oss4 
60PLIST.oss4= yes 
61.endif 
62 
63.include "../../audio/audacious/buildlink3.mk" 30.include "../../audio/audacious/buildlink3.mk"
 31.if !empty(PKG_BUILD_OPTIONS.audacious:Mdbus)
 32TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
 33PLIST.dbus= yes
 34.else
 35CONFIGURE_ARGS+= --disable-mpris2
 36.endif
 37.if !empty(PKG_BUILD_OPTIONS.audacious:Mqt5)
 38PLIST.qt= yes
 39CONFIGURE_ARGS+= --enable-qt
 40.endif
 41.if !empty(PKG_BUILD_OPTIONS.audacious:Mgtk2)
 42PLIST.gtk= yes
 43.else
 44CONFIGURE_ARGS+= --disable-gtk
 45.endif
64.include "../../audio/faad2/buildlink3.mk" 46.include "../../audio/faad2/buildlink3.mk"
65.include "../../audio/lame/buildlink3.mk" 47.include "../../audio/lame/buildlink3.mk"
66.include "../../audio/libcddb/buildlink3.mk" 48.include "../../audio/libcddb/buildlink3.mk"
67.include "../../audio/libsamplerate/buildlink3.mk" 49.include "../../audio/libsamplerate/buildlink3.mk"
68.include "../../audio/libsndfile/buildlink3.mk" 50.include "../../audio/libsndfile/buildlink3.mk"
 51.include "../../audio/libsoxr/buildlink3.mk"
69.include "../../audio/libvorbis/buildlink3.mk" 52.include "../../audio/libvorbis/buildlink3.mk"
70.include "../../audio/mpg123/buildlink3.mk" 53.include "../../audio/mpg123/buildlink3.mk"
71.include "../../audio/wavpack/buildlink3.mk" 54.include "../../audio/wavpack/buildlink3.mk"
72.include "../../devel/SDL2/buildlink3.mk" 55.include "../../devel/SDL2/buildlink3.mk"
73.include "../../devel/libbinio/buildlink3.mk" 56.include "../../devel/libbinio/buildlink3.mk"
74.include "../../misc/libcdio-paranoia/buildlink3.mk" 57.include "../../misc/libcdio-paranoia/buildlink3.mk"
 58.include "../../multimedia/ffmpeg4/buildlink3.mk"
75.include "../../multimedia/libogg/buildlink3.mk" 59.include "../../multimedia/libogg/buildlink3.mk"
76.include "../../net/libmms/buildlink3.mk" 60.include "../../net/libmms/buildlink3.mk"
 61.include "../../textproc/libxml2/buildlink3.mk"
77.include "../../www/curl/buildlink3.mk" 62.include "../../www/curl/buildlink3.mk"
78.include "../../www/neon/buildlink3.mk" 63.include "../../www/neon/buildlink3.mk"
79.include "../../mk/oss.buildlink3.mk" 
80.include "../../mk/bsd.pkg.mk" 64.include "../../mk/bsd.pkg.mk"

cvs diff -r1.15 -r1.16 pkgsrc/audio/audacious-plugins/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/audacious-plugins/PLIST 2018/07/31 14:01:40 1.15
+++ pkgsrc/audio/audacious-plugins/PLIST 2019/07/06 13:17:01 1.16
@@ -1,70 +1,84 @@ @@ -1,70 +1,84 @@
1@comment $NetBSD: PLIST,v 1.15 2018/07/31 14:01:40 jperkin Exp $ 1@comment $NetBSD: PLIST,v 1.16 2019/07/06 13:17:01 nia Exp $
2lib/audacious/Container/asx.so 2lib/audacious/Container/asx.so
3lib/audacious/Container/asx3.so 3lib/audacious/Container/asx3.so
4lib/audacious/Container/audpl.so 4lib/audacious/Container/audpl.so
5lib/audacious/Container/m3u.so 5lib/audacious/Container/m3u.so
6lib/audacious/Container/pls.so 6lib/audacious/Container/pls.so
7lib/audacious/Container/xspf.so 7lib/audacious/Container/xspf.so
8lib/audacious/Effect/compressor.so 8lib/audacious/Effect/compressor.so
9lib/audacious/Effect/crossfade.so 9lib/audacious/Effect/crossfade.so
10lib/audacious/Effect/crystalizer.so 10lib/audacious/Effect/crystalizer.so
11lib/audacious/Effect/echo.so 11lib/audacious/Effect/echo.so
12lib/audacious/Effect/ladspa.so 12${PLIST.gtk}lib/audacious/Effect/ladspa.so
13lib/audacious/Effect/mixer.so 13lib/audacious/Effect/mixer.so
14lib/audacious/Effect/resample.so 14lib/audacious/Effect/resample.so
 15lib/audacious/Effect/silence-removal.so
 16lib/audacious/Effect/sox-resampler.so
15lib/audacious/Effect/speed-pitch.so 17lib/audacious/Effect/speed-pitch.so
16lib/audacious/Effect/stereo.so 18lib/audacious/Effect/stereo.so
17lib/audacious/Effect/voice_removal.so 19lib/audacious/Effect/voice_removal.so
18lib/audacious/General/alarm.so 20${PLIST.gtk}lib/audacious/General/alarm.so
19lib/audacious/General/albumart.so 21${PLIST.qt}lib/audacious/General/albumart-qt.so
20lib/audacious/General/aosd.so 22${PLIST.gtk}lib/audacious/General/albumart.so
 23${PLIST.gtk}lib/audacious/General/aosd.so
21lib/audacious/General/cd-menu-items.so 24lib/audacious/General/cd-menu-items.so
22lib/audacious/General/delete-files.so 25lib/audacious/General/delete-files.so
23lib/audacious/General/gtkui.so 26${PLIST.gtk}lib/audacious/General/gtkui.so
24lib/audacious/General/hotkey.so 27${PLIST.gtk}lib/audacious/General/hotkey.so
25lib/audacious/General/lyricwiki.so 28${PLIST.qt}lib/audacious/General/lyricwiki-qt.so
26lib/audacious/General/mpris2.so 29${PLIST.gtk}lib/audacious/General/lyricwiki.so
 30${PLIST.dbus}lib/audacious/General/mpris2.so
 31${PLIST.qt}lib/audacious/General/playlist-manager-qt.so
 32${PLIST.gtk}lib/audacious/General/playlist-manager.so
 33${PLIST.qt}lib/audacious/General/qtui.so
27lib/audacious/General/scrobbler.so 34lib/audacious/General/scrobbler.so
28lib/audacious/General/search-tool.so 35${PLIST.qt}lib/audacious/General/search-tool-qt.so
29lib/audacious/General/skins.so 36${PLIST.gtk}lib/audacious/General/search-tool.so
 37${PLIST.qt}lib/audacious/General/skins-qt.so
 38${PLIST.gtk}lib/audacious/General/skins.so
 39${PLIST.qt}lib/audacious/General/song-info-qt.so
30lib/audacious/General/song_change.so 40lib/audacious/General/song_change.so
31lib/audacious/General/statusicon.so 41${PLIST.qt}lib/audacious/General/statusicon-qt.so
 42${PLIST.gtk}lib/audacious/General/statusicon.so
32lib/audacious/Input/aac-raw.so 43lib/audacious/Input/aac-raw.so
33lib/audacious/Input/aac.so 44${PLIST.adplug}lib/audacious/Input/adplug.so
34lib/audacious/Input/adplug.so 45${PLIST.fluidsynth}lib/audacious/Input/amidi-plug.so
35lib/audacious/Input/cdaudio-ng.so 46lib/audacious/Input/cdaudio-ng.so
36lib/audacious/Input/console.so 47${PLIST.libgme}lib/audacious/Input/console.so
 48lib/audacious/Input/ffaudio.so
37lib/audacious/Input/flacng.so 49lib/audacious/Input/flacng.so
38lib/audacious/Input/madplug.so 50lib/audacious/Input/madplug.so
39lib/audacious/Input/metronom.so 51lib/audacious/Input/metronom.so
 52${PLIST.modplug}lib/audacious/Input/modplug.so
40lib/audacious/Input/psf2.so 53lib/audacious/Input/psf2.so
41lib/audacious/Input/sndfile.so 54lib/audacious/Input/sndfile.so
42lib/audacious/Input/tonegen.so 55lib/audacious/Input/tonegen.so
43lib/audacious/Input/vorbis.so 56lib/audacious/Input/vorbis.so
44lib/audacious/Input/vtx.so 57lib/audacious/Input/vtx.so
45lib/audacious/Input/wavpack.so 58lib/audacious/Input/wavpack.so
46lib/audacious/Input/xsf.so 59lib/audacious/Input/xsf.so
 60${PLIST.alsa}lib/audacious/Output/alsa.so
47lib/audacious/Output/filewriter.so 61lib/audacious/Output/filewriter.so
48${PLIST.jack}lib/audacious/Output/jackout.so 62${PLIST.jack}lib/audacious/Output/jack-ng.so
49${PLIST.oss4}lib/audacious/Output/oss4.so 
50${PLIST.pulse}lib/audacious/Output/pulse_audio.so 63${PLIST.pulse}lib/audacious/Output/pulse_audio.so
51lib/audacious/Output/sdlout.so 64lib/audacious/Output/sdlout.so
52lib/audacious/Transport/gio.so 65lib/audacious/Transport/gio.so
53lib/audacious/Transport/mms.so 66lib/audacious/Transport/mms.so
54lib/audacious/Transport/neon.so 67lib/audacious/Transport/neon.so
55lib/audacious/Visualization/blur_scope.so 68${PLIST.gtk}lib/audacious/Visualization/blur_scope.so
56lib/audacious/Visualization/cairo-spectrum.so 69${PLIST.gtk}lib/audacious/Visualization/cairo-spectrum.so
57lib/audacious/Visualization/gl-spectrum.so 70${PLIST.qt}lib/audacious/Visualization/gl-spectrum-qt.so
 71${PLIST.gtk}lib/audacious/Visualization/gl-spectrum.so
58share/audacious/Skins/Classic/balance.png 72share/audacious/Skins/Classic/balance.png
59share/audacious/Skins/Classic/cbuttons.png 73share/audacious/Skins/Classic/cbuttons.png
60share/audacious/Skins/Classic/eq_ex.png 74share/audacious/Skins/Classic/eq_ex.png
61share/audacious/Skins/Classic/eqmain.png 75share/audacious/Skins/Classic/eqmain.png
62share/audacious/Skins/Classic/main.png 76share/audacious/Skins/Classic/main.png
63share/audacious/Skins/Classic/monoster.png 77share/audacious/Skins/Classic/monoster.png
64share/audacious/Skins/Classic/nums_ex.png 78share/audacious/Skins/Classic/nums_ex.png
65share/audacious/Skins/Classic/playpaus.png 79share/audacious/Skins/Classic/playpaus.png
66share/audacious/Skins/Classic/pledit.png 80share/audacious/Skins/Classic/pledit.png
67share/audacious/Skins/Classic/pledit.txt 81share/audacious/Skins/Classic/pledit.txt
68share/audacious/Skins/Classic/posbar.png 82share/audacious/Skins/Classic/posbar.png
69share/audacious/Skins/Classic/shufrep.png 83share/audacious/Skins/Classic/shufrep.png
70share/audacious/Skins/Classic/skin-classic.hints 84share/audacious/Skins/Classic/skin-classic.hints
@@ -164,26 +178,27 @@ share/audacious/Skins/TinyPlayer/eqmain. @@ -164,26 +178,27 @@ share/audacious/Skins/TinyPlayer/eqmain.
164share/audacious/Skins/TinyPlayer/main.png 178share/audacious/Skins/TinyPlayer/main.png
165share/audacious/Skins/TinyPlayer/monoster.png 179share/audacious/Skins/TinyPlayer/monoster.png
166share/audacious/Skins/TinyPlayer/nums_ex.png 180share/audacious/Skins/TinyPlayer/nums_ex.png
167share/audacious/Skins/TinyPlayer/playpaus.png 181share/audacious/Skins/TinyPlayer/playpaus.png
168share/audacious/Skins/TinyPlayer/pledit.png 182share/audacious/Skins/TinyPlayer/pledit.png
169share/audacious/Skins/TinyPlayer/pledit.txt 183share/audacious/Skins/TinyPlayer/pledit.txt
170share/audacious/Skins/TinyPlayer/posbar.png 184share/audacious/Skins/TinyPlayer/posbar.png
171share/audacious/Skins/TinyPlayer/shufrep.png 185share/audacious/Skins/TinyPlayer/shufrep.png
172share/audacious/Skins/TinyPlayer/skin.hints 186share/audacious/Skins/TinyPlayer/skin.hints
173share/audacious/Skins/TinyPlayer/text.png 187share/audacious/Skins/TinyPlayer/text.png
174share/audacious/Skins/TinyPlayer/titlebar.png 188share/audacious/Skins/TinyPlayer/titlebar.png
175share/audacious/Skins/TinyPlayer/viscolor.txt 189share/audacious/Skins/TinyPlayer/viscolor.txt
176share/audacious/Skins/TinyPlayer/volume.png 190share/audacious/Skins/TinyPlayer/volume.png
 191share/locale/ar/LC_MESSAGES/audacious-plugins.mo
177share/locale/be/LC_MESSAGES/audacious-plugins.mo 192share/locale/be/LC_MESSAGES/audacious-plugins.mo
178share/locale/bg/LC_MESSAGES/audacious-plugins.mo 193share/locale/bg/LC_MESSAGES/audacious-plugins.mo
179share/locale/ca/LC_MESSAGES/audacious-plugins.mo 194share/locale/ca/LC_MESSAGES/audacious-plugins.mo
180share/locale/cmn/LC_MESSAGES/audacious-plugins.mo 195share/locale/cmn/LC_MESSAGES/audacious-plugins.mo
181share/locale/cs/LC_MESSAGES/audacious-plugins.mo 196share/locale/cs/LC_MESSAGES/audacious-plugins.mo
182share/locale/da/LC_MESSAGES/audacious-plugins.mo 197share/locale/da/LC_MESSAGES/audacious-plugins.mo
183share/locale/de/LC_MESSAGES/audacious-plugins.mo 198share/locale/de/LC_MESSAGES/audacious-plugins.mo
184share/locale/el/LC_MESSAGES/audacious-plugins.mo 199share/locale/el/LC_MESSAGES/audacious-plugins.mo
185share/locale/en_GB/LC_MESSAGES/audacious-plugins.mo 200share/locale/en_GB/LC_MESSAGES/audacious-plugins.mo
186share/locale/es/LC_MESSAGES/audacious-plugins.mo 201share/locale/es/LC_MESSAGES/audacious-plugins.mo
187share/locale/es_AR/LC_MESSAGES/audacious-plugins.mo 202share/locale/es_AR/LC_MESSAGES/audacious-plugins.mo
188share/locale/es_MX/LC_MESSAGES/audacious-plugins.mo 203share/locale/es_MX/LC_MESSAGES/audacious-plugins.mo
189share/locale/et/LC_MESSAGES/audacious-plugins.mo 204share/locale/et/LC_MESSAGES/audacious-plugins.mo

cvs diff -r1.5 -r1.6 pkgsrc/audio/audacious-plugins/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/audacious-plugins/distinfo 2015/11/03 01:12:25 1.5
+++ pkgsrc/audio/audacious-plugins/distinfo 2019/07/06 13:17:01 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2015/11/03 01:12:25 agc Exp $ 1$NetBSD: distinfo,v 1.6 2019/07/06 13:17:01 nia Exp $
2 2
3SHA1 (audacious-plugins-3.5.2.tar.bz2) = 470a9c009a92627fb824118762b156eb4604099f 3SHA1 (audacious-plugins-3.10.1.tar.bz2) = d2e549a402baa59b0181aabad6d7481369e8930e
4RMD160 (audacious-plugins-3.5.2.tar.bz2) = 2cf98e4fbf0e778672d509cd486274a8f7e4f10d 4RMD160 (audacious-plugins-3.10.1.tar.bz2) = 96b7f2b0041508e8cea5f8188d9fb7b69b08f0a3
5SHA512 (audacious-plugins-3.5.2.tar.bz2) = eaf46f403a77b5de63f26e096b968a6d94bbe3917df4400e5791143d846c1f3cbf83f2937210055a9b493dfa56ddb36b12d6d57b1453708b23dd41c0e2a94a72 5SHA512 (audacious-plugins-3.10.1.tar.bz2) = 454e9ce4061e92a0ecda40f562d4cc7453fc0019fd76b25dbe9e319319fa37c22f9785cb29563e8074de8a88e6130106aca1e431790297e1b4636dc974fde565
6Size (audacious-plugins-3.5.2.tar.bz2) = 1734588 bytes 6Size (audacious-plugins-3.10.1.tar.bz2) = 1715477 bytes

File Added: pkgsrc/audio/audacious-plugins/hacks.mk
# $NetBSD: hacks.mk,v 1.1 2019/07/06 13:17:01 nia Exp $

.if !defined(AUDACIOUS_PLUGINS_HACKS_MK)
AUDACIOUS_PLUGINS_HACKS_MK:=

.include "../../mk/compiler.mk"

.if empty(PKGSRC_COMPILER:Mclang)
# This should avoid an error like: libstdc++.so.6: Undefined PLT symbol "_Unwind_GetIP" on NetBSD i386 and maybe amd64, with gcc4 at least.
# This seems to happen when libstdc++ gets linked in with the plug-ins and the code is not compiled with g++.
# For a similar problem see http://archive.netbsd.se/?ml=netbsd-java&a=2007-08&m=4912662 :
# Systems with Clang are supposed to be new enough to have a correctly linked
# libstdc++.
LDFLAGS.NetBSD+=	-lgcc_s
.endif

# From audio/bmp/Makefile:
# XXX Workaround a crash during shutdown that happens when dlclose(3)ing
# any open plugin.  libstdc++ gets dynamically linked in when the id3lib
# library is loaded, and is the one causing problems.  See PR pkg/26846
# for more information.
LDFLAGS.NetBSD+=	-lstdc++ -lm
.endif

.include "../../mk/bsd.fast.prefs.mk"

.if ${OPSYS} == "SunOS"
CPPFLAGS.SunOS=		-D__EXTENSIONS__ -D__uint32_t=uint32_t -D__uint64_t=uint64_t
.endif

cvs diff -r1.9 -r1.10 pkgsrc/audio/audacious-plugins/options.mk (expand / switch to unified diff)

--- pkgsrc/audio/audacious-plugins/options.mk 2019/07/05 15:21:18 1.9
+++ pkgsrc/audio/audacious-plugins/options.mk 2019/07/06 13:17:01 1.10
@@ -1,31 +1,81 @@ @@ -1,31 +1,81 @@
1# $NetBSD: options.mk,v 1.9 2019/07/05 15:21:18 nia Exp $ 1# $NetBSD: options.mk,v 1.10 2019/07/06 13:17:01 nia Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.audacious-plugins 3PKG_OPTIONS_VAR= PKG_OPTIONS.audacious-plugins
4PKG_SUPPORTED_OPTIONS= jack pulseaudio sid 4PKG_SUPPORTED_OPTIONS+= alsa jack pulseaudio lirc
5PKG_SUGGESTED_OPTIONS+= pulseaudio jack 5PKG_SUPPORTED_OPTIONS+= adplug sidplay fluidsynth libgme modplug
 6PKG_SUGGESTED_OPTIONS.Linux+= alsa lirc
 7PKG_OPTIONS_LEGACY_OPTS+= sid:sidplay
6 8
7.include "../../mk/bsd.options.mk" 9.include "../../mk/bsd.options.mk"
8 10
9PLIST_VARS+= sid 11PLIST_VARS+= alsa
10.if !empty(PKG_OPTIONS:Msid) 12.if !empty(PKG_OPTIONS:Malsa)
11. include "../../audio/libsidplay/buildlink3.mk" 13. include "../../audio/alsa-lib/buildlink3.mk"
12PLIST.sid= yes 14PLIST.alsa= yes
13.else 15.else
14CONFIGURE_ARGS+= --disable-sid 16CONFIGURE_ARGS+= --disable-alsa
15.endif 17.endif
16 18
17PLIST_VARS+= jack 19PLIST_VARS+= jack
18.if !empty(PKG_OPTIONS:Mjack) 20.if !empty(PKG_OPTIONS:Mjack)
19. include "../../audio/jack/buildlink3.mk" 21. include "../../audio/jack/buildlink3.mk"
20PLIST.jack= yes 22PLIST.jack= yes
21.else 23.else
22CONFIGURE_ARGS+= --disable-jack 24CONFIGURE_ARGS+= --disable-jack
23.endif 25.endif
24 26
25PLIST_VARS+= pulse 27PLIST_VARS+= pulse
26.if !empty(PKG_OPTIONS:Mpulseaudio) 28.if !empty(PKG_OPTIONS:Mpulseaudio)
27. include "../../audio/pulseaudio/buildlink3.mk" 29. include "../../audio/pulseaudio/buildlink3.mk"
28PLIST.pulse= yes 30PLIST.pulse= yes
29.else 31.else
30CONFIGURE_ARGS+= --disable-pulse 32CONFIGURE_ARGS+= --disable-pulse
31.endif 33.endif
 34
 35PLIST_VARS+= lirc
 36.if !empty(PKG_OPTIONS:Mlirc)
 37. include "../../comms/lirc/buildlink3.mk"
 38PLIST.lirc= yes
 39.else
 40CONFIGURE_ARGS+= --disable-lirc
 41.endif
 42
 43PLIST_VARS+= adplug
 44.if !empty(PKG_OPTIONS:Madplug)
 45. include "../../audio/adplug/buildlink3.mk"
 46PLIST.adplug= yes
 47.else
 48CONFIGURE_ARGS+= --disable-adplug
 49.endif
 50
 51PLIST_VARS+= sid
 52.if !empty(PKG_OPTIONS:Msidplay)
 53. include "../../audio/libsidplay/buildlink3.mk"
 54PLIST.sid= yes
 55.else
 56CONFIGURE_ARGS+= --disable-sid
 57.endif
 58
 59PLIST_VARS+= fluidsynth
 60.if !empty(PKG_OPTIONS:Mfluidsynth)
 61. include "../../audio/fluidsynth/buildlink3.mk"
 62PLIST.fluidsynth= yes
 63.else
 64CONFIGURE_ARGS+= --disable-amidiplug
 65.endif
 66
 67PLIST_VARS+= libgme
 68.if !empty(PKG_OPTIONS:Mlibgme)
 69. include "../../audio/game-music-emu/buildlink3.mk"
 70PLIST.libgme= yes
 71.else
 72CONFIGURE_ARGS+= --disable-console
 73.endif
 74
 75PLIST_VARS+= modplug
 76.if !empty(PKG_OPTIONS:Mmodplug)
 77. include "../../audio/libmodplug/buildlink3.mk"
 78PLIST.modplug= yes
 79.else
 80CONFIGURE_ARGS+= --disable-modplug
 81.endif

cvs diff -r1.2 -r1.3 pkgsrc/audio/audacious/patches/patch-configure (expand / switch to unified diff)

--- pkgsrc/audio/audacious/patches/patch-configure 2018/07/31 13:46:31 1.2
+++ pkgsrc/audio/audacious/patches/patch-configure 2019/07/06 13:17:01 1.3
@@ -1,28 +1,24 @@ @@ -1,28 +1,24 @@
1$NetBSD: patch-configure,v 1.2 2018/07/31 13:46:31 jperkin Exp $ 1$NetBSD: patch-configure,v 1.3 2019/07/06 13:17:01 nia Exp $
2 2
3Fix install_name on Darwin. 3Fix install_name on Darwin.
4 4
5--- configure.orig 2014-10-17 00:00:43.000000000 +0000 5--- configure.orig 2018-12-26 07:25:42.000000000 +0000
6+++ configure 6+++ configure
7@@ -5217,18 +5217,18 @@ $as_echo_n "checking for shared library 7@@ -6935,7 +6935,7 @@ $as_echo_n "checking for shared library
8 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5 
9 $as_echo "Darwin" >&6; } 8 $as_echo "Darwin" >&6; }
10 LIB_CFLAGS='-fPIC -DPIC' 9 LIB_CFLAGS='-fPIC -DPIC'
11- LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}' 10 LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}'
12+ LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR} -install_name ${libdir}/${SHARED_LIB}' 11- LIB_LDFLAGS_INSTALL_NAME='-Wl,-install_name,${libdir}/$${out%.dylib}.${LIB_MAJOR}.dylib'
 12+ LIB_LDFLAGS_INSTALL_NAME='-Wl,-install_name,${libdir}/${SHARED_LIB}'
13 LIB_PREFIX='lib' 13 LIB_PREFIX='lib'
14 LIB_SUFFIX='.dylib' 14 LIB_SUFFIX='.dylib'
15 LDFLAGS_RPATH='-Wl,-rpath,${libdir}' 15 LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
16 PLUGIN_CFLAGS='-fPIC -DPIC' 16@@ -6978,7 +6978,7 @@ $as_echo "OpenBSD" >&6; }
17 PLUGIN_LDFLAGS='-bundle -undefined dynamic_lookup' 17 UNINSTALL_LIB='&& rm -f ${DESTDIR}${libdir}/$$i'
18 PLUGIN_SUFFIX='.bundle' 
19- INSTALL_LIB='&& ${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && install_name_tool -id ${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i' 
20+ INSTALL_LIB='&& ${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i' 
21 UNINSTALL_LIB='&& rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib' 
22 CLEAN_LIB='' 18 CLEAN_LIB=''
23 ;; 19 ;;
24- solaris*) 20- solaris*)
25+ notsolaris*) 21+ notsolaris*)
26 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5 22 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5
27 $as_echo "Solaris" >&6; } 23 $as_echo "Solaris" >&6; }
28 LIB_CFLAGS='-fPIC -DPIC' 24 LIB_CFLAGS='-fPIC -DPIC'

File Added: pkgsrc/audio/audacious/patches/patch-src_libaudcore_audio.h.in
$NetBSD: patch-src_libaudcore_audio.h.in,v 1.1 2019/07/06 13:17:01 nia Exp $

NetBSD has these in libc.

--- src/libaudcore/audio.h.in.orig	2018-12-26 06:55:16.000000000 +0000
+++ src/libaudcore/audio.h.in
@@ -42,7 +42,10 @@ struct StereoVolume {
 };
 
 #ifdef WANT_AUD_BSWAP
-
+#ifdef __NetBSD__
+#include <sys/types.h>
+#include <machine/bswap.h>
+#else
 #include <stdint.h>
 
 #undef bswap16
@@ -66,7 +69,7 @@ constexpr uint64_t bswap64 (uint64_t x)
            ((x & 0x00000000ff000000) << 8) | ((x & 0x0000000000ff0000) << 24) |
            ((x & 0x000000000000ff00) << 40) | ((x & 0x00000000000000ff) << 56);
 }
-
+#endif // __NetBSD__
 #endif // WANT_AUD_BSWAP
 
 #if @BIGENDIAN@