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), alsadiff -r1.54 -r1.55 pkgsrc/audio/audacious/Makefile
(nia)
@@ -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 | |||
3 | DISTNAME= audacious-3.5.2 | 3 | DISTNAME= audacious-3.10.1 | |
4 | PKGREVISION= 10 | |||
5 | CATEGORIES= audio | 4 | CATEGORIES= audio | |
6 | MASTER_SITES= http://distfiles.audacious-media-player.org/ | 5 | MASTER_SITES= https://distfiles.audacious-media-player.org/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://audacious-media-player.org/ | 9 | HOMEPAGE= https://audacious-media-player.org/ | |
11 | COMMENT= Media player based on BMP and XMMS | 10 | COMMENT= Media player based on BMP and XMMS | |
12 | LICENSE= 2-clause-bsd | 11 | LICENSE= 2-clause-bsd | |
13 | 12 | |||
14 | USE_LANGUAGES= c c++ | 13 | USE_LANGUAGES= c c++ | |
15 | USE_TOOLS+= gmake intltool msgfmt pkg-config | 14 | USE_TOOLS+= gmake pkg-config | |
15 | USE_TOOLS+= intltool msgfmt msgmerge xgettext | |||
16 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
17 | # requires libguess which is not available any more | |||
18 | CONFIGURE_ARGS+= --disable-chardet | |||
19 | PKGCONFIG_OVERRIDE+= audacious.pc.in | 17 | PKGCONFIG_OVERRIDE+= audacious.pc.in | |
20 | 18 | |||
21 | TOOL_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 | |
24 | LDFLAGS.Darwin+= -flat_namespace -undefined suppress | 20 | LDFLAGS.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" |
@@ -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 $ | |
2 | bin/audacious | 2 | bin/audacious | |
3 | bin/audtool | 3 | ${PLIST.dbus}bin/audtool | |
4 | include/audacious/api-alias-begin.h | |||
5 | include/audacious/api-alias-end.h | |||
6 | include/audacious/api-define-begin.h | |||
7 | include/audacious/api-define-end.h | |||
8 | include/audacious/api.h | |||
9 | include/audacious/audtag.h | 4 | include/audacious/audtag.h | |
10 | include/audacious/debug.h | |||
11 | include/audacious/drct-api.h | |||
12 | include/audacious/drct.h | |||
13 | include/audacious/i18n.h | |||
14 | include/audacious/input-api.h | |||
15 | include/audacious/input.h | |||
16 | include/audacious/misc-api.h | |||
17 | include/audacious/misc.h | |||
18 | include/audacious/playlist-api.h | |||
19 | include/audacious/playlist.h | |||
20 | include/audacious/plugin.h | |||
21 | include/audacious/plugins-api.h | |||
22 | include/audacious/plugins.h | |||
23 | include/audacious/preferences.h | |||
24 | include/audacious/types.h | |||
25 | include/libaudcore/audio.h | 5 | include/libaudcore/audio.h | |
26 | include/libaudcore/audstrings.h | 6 | include/libaudcore/audstrings.h | |
27 | include/libaudcore/core.h | 7 | include/libaudcore/drct.h | |
8 | include/libaudcore/equalizer.h | |||
9 | include/libaudcore/export.h | |||
28 | include/libaudcore/hook.h | 10 | include/libaudcore/hook.h | |
11 | include/libaudcore/i18n.h | |||
29 | include/libaudcore/index.h | 12 | include/libaudcore/index.h | |
30 | include/libaudcore/inifile.h | 13 | include/libaudcore/inifile.h | |
14 | include/libaudcore/interface.h | |||
15 | include/libaudcore/list.h | |||
16 | include/libaudcore/mainloop.h | |||
31 | include/libaudcore/multihash.h | 17 | include/libaudcore/multihash.h | |
18 | include/libaudcore/objects.h | |||
19 | include/libaudcore/playlist.h | |||
20 | include/libaudcore/plugin.h | |||
21 | include/libaudcore/plugins.h | |||
22 | include/libaudcore/preferences.h | |||
23 | include/libaudcore/probe.h | |||
24 | include/libaudcore/ringbuf.h | |||
25 | include/libaudcore/runtime.h | |||
26 | include/libaudcore/templates.h | |||
32 | include/libaudcore/tinylock.h | 27 | include/libaudcore/tinylock.h | |
33 | include/libaudcore/tuple.h | 28 | include/libaudcore/tuple.h | |
34 | include/libaudcore/vfs.h | 29 | include/libaudcore/vfs.h | |
35 | include/libaudcore/vfs_async.h | 30 | include/libaudcore/vfs_async.h | |
36 | include/libaudgui/libaudgui-gtk.h | 31 | include/libaudcore/visualizer.h | |
37 | include/libaudgui/libaudgui.h | 32 | ${PLIST.gtk}include/libaudgui/libaudgui-gtk.h | |
38 | include/libaudgui/list.h | 33 | ${PLIST.gtk}include/libaudgui/libaudgui.h | |
39 | include/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 | |||
40 | lib/libaudcore.so | 41 | lib/libaudcore.so | |
41 | lib/libaudcore.so.2 | 42 | lib/libaudcore.so.5 | |
42 | lib/libaudcore.so.2.0.0 | 43 | lib/libaudcore.so.5.1.0 | |
43 | lib/libaudgui.so | 44 | ${PLIST.gtk}lib/libaudgui.so | |
44 | lib/libaudgui.so.2 | 45 | ${PLIST.gtk}lib/libaudgui.so.5 | |
45 | lib/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 | |||
46 | lib/libaudtag.so | 50 | lib/libaudtag.so | |
47 | lib/libaudtag.so.1 | 51 | lib/libaudtag.so.3 | |
48 | lib/libaudtag.so.1.0.0 | 52 | lib/libaudtag.so.3.0.0 | |
49 | lib/pkgconfig/audacious.pc | 53 | lib/pkgconfig/audacious.pc | |
50 | man/man1/audacious.1 | 54 | man/man1/audacious.1 | |
51 | man/man1/audtool.1 | 55 | man/man1/audtool.1 | |
52 | share/applications/audacious.desktop | 56 | share/applications/audacious.desktop | |
53 | share/audacious/AUTHORS | 57 | share/audacious/AUTHORS | |
54 | share/audacious/COPYING | 58 | share/audacious/COPYING | |
55 | share/audacious/images/about-logo.png | |||
56 | share/audacious/images/album.png | |||
57 | share/audacious/images/appearance.png | |||
58 | share/audacious/images/audio.png | |||
59 | share/audacious/images/connectivity.png | |||
60 | share/audacious/images/info.png | |||
61 | share/audacious/images/playlist.png | |||
62 | share/audacious/images/plugins.png | |||
63 | share/icons/hicolor/48x48/apps/audacious.png | 59 | share/icons/hicolor/48x48/apps/audacious.png | |
64 | share/icons/hicolor/scalable/apps/audacious.svg | 60 | share/icons/hicolor/scalable/apps/audacious.svg | |
65 | share/locale/ast/LC_MESSAGES/audacious.mo | 61 | share/locale/ar/LC_MESSAGES/audacious.mo | |
66 | share/locale/be/LC_MESSAGES/audacious.mo | 62 | share/locale/be/LC_MESSAGES/audacious.mo | |
67 | share/locale/bg/LC_MESSAGES/audacious.mo | 63 | share/locale/bg/LC_MESSAGES/audacious.mo | |
68 | share/locale/ca/LC_MESSAGES/audacious.mo | 64 | share/locale/ca/LC_MESSAGES/audacious.mo | |
69 | share/locale/cmn/LC_MESSAGES/audacious.mo | 65 | share/locale/cmn/LC_MESSAGES/audacious.mo | |
70 | share/locale/cs/LC_MESSAGES/audacious.mo | 66 | share/locale/cs/LC_MESSAGES/audacious.mo | |
71 | share/locale/da/LC_MESSAGES/audacious.mo | 67 | share/locale/da/LC_MESSAGES/audacious.mo | |
72 | share/locale/de/LC_MESSAGES/audacious.mo | 68 | share/locale/de/LC_MESSAGES/audacious.mo | |
73 | share/locale/el/LC_MESSAGES/audacious.mo | 69 | share/locale/el/LC_MESSAGES/audacious.mo | |
74 | share/locale/en_GB/LC_MESSAGES/audacious.mo | 70 | share/locale/en_GB/LC_MESSAGES/audacious.mo | |
75 | share/locale/eo/LC_MESSAGES/audacious.mo | |||
76 | share/locale/es/LC_MESSAGES/audacious.mo | 71 | share/locale/es/LC_MESSAGES/audacious.mo | |
77 | share/locale/es_AR/LC_MESSAGES/audacious.mo | 72 | share/locale/es_AR/LC_MESSAGES/audacious.mo | |
78 | share/locale/es_MX/LC_MESSAGES/audacious.mo | 73 | share/locale/es_MX/LC_MESSAGES/audacious.mo | |
79 | share/locale/et/LC_MESSAGES/audacious.mo | 74 | share/locale/et/LC_MESSAGES/audacious.mo | |
80 | share/locale/eu/LC_MESSAGES/audacious.mo | 75 | share/locale/eu/LC_MESSAGES/audacious.mo | |
81 | share/locale/fa_IR/LC_MESSAGES/audacious.mo | 76 | share/locale/fa_IR/LC_MESSAGES/audacious.mo | |
82 | share/locale/fi/LC_MESSAGES/audacious.mo | 77 | share/locale/fi/LC_MESSAGES/audacious.mo | |
83 | share/locale/fr/LC_MESSAGES/audacious.mo | 78 | share/locale/fr/LC_MESSAGES/audacious.mo | |
84 | share/locale/gl/LC_MESSAGES/audacious.mo | 79 | share/locale/gl/LC_MESSAGES/audacious.mo | |
85 | share/locale/he/LC_MESSAGES/audacious.mo | |||
86 | share/locale/hu/LC_MESSAGES/audacious.mo | 80 | share/locale/hu/LC_MESSAGES/audacious.mo | |
87 | share/locale/id_ID/LC_MESSAGES/audacious.mo | 81 | share/locale/id_ID/LC_MESSAGES/audacious.mo | |
88 | share/locale/it/LC_MESSAGES/audacious.mo | 82 | share/locale/it/LC_MESSAGES/audacious.mo | |
89 | share/locale/ja/LC_MESSAGES/audacious.mo | 83 | share/locale/ja/LC_MESSAGES/audacious.mo | |
90 | share/locale/ko/LC_MESSAGES/audacious.mo | 84 | share/locale/ko/LC_MESSAGES/audacious.mo | |
91 | share/locale/ky/LC_MESSAGES/audacious.mo | 85 | share/locale/ky/LC_MESSAGES/audacious.mo | |
92 | share/locale/lt/LC_MESSAGES/audacious.mo | 86 | share/locale/lt/LC_MESSAGES/audacious.mo | |
93 | share/locale/lv/LC_MESSAGES/audacious.mo | 87 | share/locale/lv/LC_MESSAGES/audacious.mo | |
94 | share/locale/ml_IN/LC_MESSAGES/audacious.mo | 88 | share/locale/ml_IN/LC_MESSAGES/audacious.mo | |
95 | share/locale/ms/LC_MESSAGES/audacious.mo | 89 | share/locale/ms/LC_MESSAGES/audacious.mo | |
96 | share/locale/nl/LC_MESSAGES/audacious.mo | 90 | share/locale/nl/LC_MESSAGES/audacious.mo | |
97 | share/locale/pl/LC_MESSAGES/audacious.mo | 91 | share/locale/pl/LC_MESSAGES/audacious.mo | |
98 | share/locale/pt_BR/LC_MESSAGES/audacious.mo | 92 | share/locale/pt_BR/LC_MESSAGES/audacious.mo | |
99 | share/locale/pt_PT/LC_MESSAGES/audacious.mo | 93 | share/locale/pt_PT/LC_MESSAGES/audacious.mo | |
100 | share/locale/ro/LC_MESSAGES/audacious.mo | 94 | share/locale/ro/LC_MESSAGES/audacious.mo | |
101 | share/locale/ru/LC_MESSAGES/audacious.mo | 95 | share/locale/ru/LC_MESSAGES/audacious.mo | |
102 | share/locale/si/LC_MESSAGES/audacious.mo | 96 | share/locale/si/LC_MESSAGES/audacious.mo | |
103 | share/locale/sk/LC_MESSAGES/audacious.mo | 97 | share/locale/sk/LC_MESSAGES/audacious.mo | |
104 | share/locale/sq/LC_MESSAGES/audacious.mo | |||
105 | share/locale/sr/LC_MESSAGES/audacious.mo | 98 | share/locale/sr/LC_MESSAGES/audacious.mo | |
106 | share/locale/sr@latin/LC_MESSAGES/audacious.mo | |||
107 | share/locale/sr_RS/LC_MESSAGES/audacious.mo | 99 | share/locale/sr_RS/LC_MESSAGES/audacious.mo | |
108 | share/locale/sv/LC_MESSAGES/audacious.mo | 100 | share/locale/sv/LC_MESSAGES/audacious.mo | |
109 | share/locale/ta/LC_MESSAGES/audacious.mo | 101 | share/locale/ta/LC_MESSAGES/audacious.mo | |
110 | share/locale/tr/LC_MESSAGES/audacious.mo | 102 | share/locale/tr/LC_MESSAGES/audacious.mo | |
111 | share/locale/uk/LC_MESSAGES/audacious.mo | 103 | share/locale/uk/LC_MESSAGES/audacious.mo | |
112 | share/locale/vi/LC_MESSAGES/audacious.mo | |||
113 | share/locale/zh_CN/LC_MESSAGES/audacious.mo | 104 | share/locale/zh_CN/LC_MESSAGES/audacious.mo | |
114 | share/locale/zh_TW/LC_MESSAGES/audacious.mo | 105 | share/locale/zh_TW/LC_MESSAGES/audacious.mo |
@@ -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 | |||
3 | BUILDLINK_TREE+= audacious | 3 | BUILDLINK_TREE+= audacious | |
4 | 4 | |||
5 | .if !defined(AUDACIOUS_BUILDLINK3_MK) | 5 | .if !defined(AUDACIOUS_BUILDLINK3_MK) | |
6 | AUDACIOUS_BUILDLINK3_MK:= | 6 | AUDACIOUS_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.audacious+= audacious>=3.5.1 | 8 | BUILDLINK_API_DEPENDS.audacious+= audacious>=3.10.1 | |
9 | BUILDLINK_ABI_DEPENDS.audacious+= audacious>=3.5.2nb10 | 9 | BUILDLINK_ABI_DEPENDS.audacious+= audacious>=3.10.1 | |
10 | BUILDLINK_PKGSRCDIR.audacious?= ../../audio/audacious | 10 | BUILDLINK_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 | ||||
17 | pkgbase := 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 | |||
22 | BUILDLINK_TREE+= -audacious | 31 | BUILDLINK_TREE+= -audacious |
@@ -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 | |||
3 | SHA1 (audacious-3.5.2.tar.bz2) = 1c92ddb079ec1b0109cd4bc65a1329db5eb8cb1b | 3 | SHA1 (audacious-3.10.1.tar.bz2) = 297000119e0d7b94e355bd78d484c85baeab3795 | |
4 | RMD160 (audacious-3.5.2.tar.bz2) = dd41e56544d9563b47401a670d96a34d7be920b6 | 4 | RMD160 (audacious-3.10.1.tar.bz2) = 6fc2c88fc681a58f42f45d19de36f2f24bc7e1bf | |
5 | SHA512 (audacious-3.5.2.tar.bz2) = 70fd5bf81fd86a867102917c9328e1e647e9566ecfbc773b15fe0d181f176cfb333976c817493b1e485f15a045da054f19a9d6d81106d55636fca14ac09f8008 | 5 | SHA512 (audacious-3.10.1.tar.bz2) = e88891caaa3897f9b4abf39136e20834aedf1287d0d5eefea392fda89050db8db00c6f363976a68fe250ddbae4e27590f7615916a76370a44ca9235f1fa60b43 | |
6 | Size (audacious-3.5.2.tar.bz2) = 448436 bytes | 6 | Size (audacious-3.10.1.tar.bz2) = 564481 bytes | |
7 | SHA1 (patch-configure) = b35fcc193c90401ed5b927d200022e8b05e1fee8 | 7 | SHA1 (patch-configure) = 2f310b55fdfc4147af6132dd821a9f81a1be6864 | |
8 | SHA1 (patch-src_libaudcore_audio.h.in) = 621afba8a610ab0f30d064d5d9ed581e781de7d2 |
# $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
@@ -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 | |||
3 | DISTNAME= audacious-plugins-3.5.2 | 3 | DISTNAME= audacious-plugins-3.10.1 | |
4 | PKGREVISION= 29 | |||
5 | CATEGORIES= audio | 4 | CATEGORIES= audio | |
6 | MASTER_SITES= http://distfiles.audacious-media-player.org/ | 5 | MASTER_SITES= https://distfiles.audacious-media-player.org/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://audacious-media-player.org/ | 9 | HOMEPAGE= https://audacious-media-player.org/ | |
11 | COMMENT= Plugins for Audacious media player | 10 | COMMENT= Plugins for Audacious media player | |
12 | LICENSE= 2-clause-bsd | 11 | LICENSE= 2-clause-bsd | |
13 | 12 | |||
14 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | 13 | USE_LANGUAGES= c c++ | |
15 | 14 | USE_TOOLS+= gmake intltool pkg-config | ||
16 | USE_LANGUAGES= c c++ | 15 | USE_TOOLS+= msgfmt msgmerge xgettext | |
17 | USE_TOOLS+= gmake intltool pkg-config | 16 | GNU_CONFIGURE= yes | |
18 | USE_TOOLS+= msgfmt msgmerge xgettext | 17 | ||
19 | GNU_CONFIGURE= yes | 18 | CONFIGURE_ARGS+= --disable-ampache | |
20 | #CONFIGURE_ARGS+= --disable-aac | 19 | CONFIGURE_ARGS+= --disable-bs2b | |
21 | CONFIGURE_ARGS+= --disable-amidiplug | 20 | CONFIGURE_ARGS+= --disable-cue | |
22 | #CONFIGURE_ARGS+= --disable-coreaudio | 21 | CONFIGURE_ARGS+= --disable-notify | |
23 | CONFIGURE_ARGS+= --disable-gnomeshortcuts | 22 | # use SDL instead, it has working volume control | |
24 | CONFIGURE_ARGS+= --disable-modplug | 23 | CONFIGURE_ARGS+= --disable-oss4 | |
25 | CONFIGURE_ARGS+= --with-ffmpeg=none | 24 | CONFIGURE_ARGS+= --disable-qtaudio | |
26 | 25 | CONFIGURE_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++. | |||
34 | LDFLAGS.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. | |||
42 | LDFLAGS.NetBSD+= -lstdc++ -lm | |||
43 | 26 | |||
44 | # cdaudio plugin complains about missing OSS at runtime | 27 | PLIST_VARS+= dbus gtk qt | |
45 | LDFLAGS+= ${LIBOSSAUDIO} | |||
46 | 28 | |||
47 | # do not use pkgsrc' flac if it is installed | |||
48 | CFLAGS+= -I. -I../flacng -Ilibflacng | |||
49 | ||||
50 | .include "../../mk/bsd.prefs.mk" | |||
51 | .include "options.mk" | 29 | .include "options.mk" | |
52 | ||||
53 | PLIST_VARS+= oss4 | |||
54 | ||||
55 | .if ${OPSYS} == "NetBSD" | |||
56 | RAWPART_cmd= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j | |||
57 | .elif ${OPSYS} == "SunOS" | |||
58 | CPPFLAGS.SunOS= -D__EXTENSIONS__ -D__uint32_t=uint32_t -D__uint64_t=uint64_t | |||
59 | CONFIGURE_ARGS+= --enable-oss4 | |||
60 | PLIST.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) | |||
32 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | |||
33 | PLIST.dbus= yes | |||
34 | .else | |||
35 | CONFIGURE_ARGS+= --disable-mpris2 | |||
36 | .endif | |||
37 | .if !empty(PKG_BUILD_OPTIONS.audacious:Mqt5) | |||
38 | PLIST.qt= yes | |||
39 | CONFIGURE_ARGS+= --enable-qt | |||
40 | .endif | |||
41 | .if !empty(PKG_BUILD_OPTIONS.audacious:Mgtk2) | |||
42 | PLIST.gtk= yes | |||
43 | .else | |||
44 | CONFIGURE_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" |
@@ -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 $ | |
2 | lib/audacious/Container/asx.so | 2 | lib/audacious/Container/asx.so | |
3 | lib/audacious/Container/asx3.so | 3 | lib/audacious/Container/asx3.so | |
4 | lib/audacious/Container/audpl.so | 4 | lib/audacious/Container/audpl.so | |
5 | lib/audacious/Container/m3u.so | 5 | lib/audacious/Container/m3u.so | |
6 | lib/audacious/Container/pls.so | 6 | lib/audacious/Container/pls.so | |
7 | lib/audacious/Container/xspf.so | 7 | lib/audacious/Container/xspf.so | |
8 | lib/audacious/Effect/compressor.so | 8 | lib/audacious/Effect/compressor.so | |
9 | lib/audacious/Effect/crossfade.so | 9 | lib/audacious/Effect/crossfade.so | |
10 | lib/audacious/Effect/crystalizer.so | 10 | lib/audacious/Effect/crystalizer.so | |
11 | lib/audacious/Effect/echo.so | 11 | lib/audacious/Effect/echo.so | |
12 | lib/audacious/Effect/ladspa.so | 12 | ${PLIST.gtk}lib/audacious/Effect/ladspa.so | |
13 | lib/audacious/Effect/mixer.so | 13 | lib/audacious/Effect/mixer.so | |
14 | lib/audacious/Effect/resample.so | 14 | lib/audacious/Effect/resample.so | |
15 | lib/audacious/Effect/silence-removal.so | |||
16 | lib/audacious/Effect/sox-resampler.so | |||
15 | lib/audacious/Effect/speed-pitch.so | 17 | lib/audacious/Effect/speed-pitch.so | |
16 | lib/audacious/Effect/stereo.so | 18 | lib/audacious/Effect/stereo.so | |
17 | lib/audacious/Effect/voice_removal.so | 19 | lib/audacious/Effect/voice_removal.so | |
18 | lib/audacious/General/alarm.so | 20 | ${PLIST.gtk}lib/audacious/General/alarm.so | |
19 | lib/audacious/General/albumart.so | 21 | ${PLIST.qt}lib/audacious/General/albumart-qt.so | |
20 | lib/audacious/General/aosd.so | 22 | ${PLIST.gtk}lib/audacious/General/albumart.so | |
23 | ${PLIST.gtk}lib/audacious/General/aosd.so | |||
21 | lib/audacious/General/cd-menu-items.so | 24 | lib/audacious/General/cd-menu-items.so | |
22 | lib/audacious/General/delete-files.so | 25 | lib/audacious/General/delete-files.so | |
23 | lib/audacious/General/gtkui.so | 26 | ${PLIST.gtk}lib/audacious/General/gtkui.so | |
24 | lib/audacious/General/hotkey.so | 27 | ${PLIST.gtk}lib/audacious/General/hotkey.so | |
25 | lib/audacious/General/lyricwiki.so | 28 | ${PLIST.qt}lib/audacious/General/lyricwiki-qt.so | |
26 | lib/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 | |||
27 | lib/audacious/General/scrobbler.so | 34 | lib/audacious/General/scrobbler.so | |
28 | lib/audacious/General/search-tool.so | 35 | ${PLIST.qt}lib/audacious/General/search-tool-qt.so | |
29 | lib/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 | |||
30 | lib/audacious/General/song_change.so | 40 | lib/audacious/General/song_change.so | |
31 | lib/audacious/General/statusicon.so | 41 | ${PLIST.qt}lib/audacious/General/statusicon-qt.so | |
42 | ${PLIST.gtk}lib/audacious/General/statusicon.so | |||
32 | lib/audacious/Input/aac-raw.so | 43 | lib/audacious/Input/aac-raw.so | |
33 | lib/audacious/Input/aac.so | 44 | ${PLIST.adplug}lib/audacious/Input/adplug.so | |
34 | lib/audacious/Input/adplug.so | 45 | ${PLIST.fluidsynth}lib/audacious/Input/amidi-plug.so | |
35 | lib/audacious/Input/cdaudio-ng.so | 46 | lib/audacious/Input/cdaudio-ng.so | |
36 | lib/audacious/Input/console.so | 47 | ${PLIST.libgme}lib/audacious/Input/console.so | |
48 | lib/audacious/Input/ffaudio.so | |||
37 | lib/audacious/Input/flacng.so | 49 | lib/audacious/Input/flacng.so | |
38 | lib/audacious/Input/madplug.so | 50 | lib/audacious/Input/madplug.so | |
39 | lib/audacious/Input/metronom.so | 51 | lib/audacious/Input/metronom.so | |
52 | ${PLIST.modplug}lib/audacious/Input/modplug.so | |||
40 | lib/audacious/Input/psf2.so | 53 | lib/audacious/Input/psf2.so | |
41 | lib/audacious/Input/sndfile.so | 54 | lib/audacious/Input/sndfile.so | |
42 | lib/audacious/Input/tonegen.so | 55 | lib/audacious/Input/tonegen.so | |
43 | lib/audacious/Input/vorbis.so | 56 | lib/audacious/Input/vorbis.so | |
44 | lib/audacious/Input/vtx.so | 57 | lib/audacious/Input/vtx.so | |
45 | lib/audacious/Input/wavpack.so | 58 | lib/audacious/Input/wavpack.so | |
46 | lib/audacious/Input/xsf.so | 59 | lib/audacious/Input/xsf.so | |
60 | ${PLIST.alsa}lib/audacious/Output/alsa.so | |||
47 | lib/audacious/Output/filewriter.so | 61 | lib/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 | |
51 | lib/audacious/Output/sdlout.so | 64 | lib/audacious/Output/sdlout.so | |
52 | lib/audacious/Transport/gio.so | 65 | lib/audacious/Transport/gio.so | |
53 | lib/audacious/Transport/mms.so | 66 | lib/audacious/Transport/mms.so | |
54 | lib/audacious/Transport/neon.so | 67 | lib/audacious/Transport/neon.so | |
55 | lib/audacious/Visualization/blur_scope.so | 68 | ${PLIST.gtk}lib/audacious/Visualization/blur_scope.so | |
56 | lib/audacious/Visualization/cairo-spectrum.so | 69 | ${PLIST.gtk}lib/audacious/Visualization/cairo-spectrum.so | |
57 | lib/audacious/Visualization/gl-spectrum.so | 70 | ${PLIST.qt}lib/audacious/Visualization/gl-spectrum-qt.so | |
71 | ${PLIST.gtk}lib/audacious/Visualization/gl-spectrum.so | |||
58 | share/audacious/Skins/Classic/balance.png | 72 | share/audacious/Skins/Classic/balance.png | |
59 | share/audacious/Skins/Classic/cbuttons.png | 73 | share/audacious/Skins/Classic/cbuttons.png | |
60 | share/audacious/Skins/Classic/eq_ex.png | 74 | share/audacious/Skins/Classic/eq_ex.png | |
61 | share/audacious/Skins/Classic/eqmain.png | 75 | share/audacious/Skins/Classic/eqmain.png | |
62 | share/audacious/Skins/Classic/main.png | 76 | share/audacious/Skins/Classic/main.png | |
63 | share/audacious/Skins/Classic/monoster.png | 77 | share/audacious/Skins/Classic/monoster.png | |
64 | share/audacious/Skins/Classic/nums_ex.png | 78 | share/audacious/Skins/Classic/nums_ex.png | |
65 | share/audacious/Skins/Classic/playpaus.png | 79 | share/audacious/Skins/Classic/playpaus.png | |
66 | share/audacious/Skins/Classic/pledit.png | 80 | share/audacious/Skins/Classic/pledit.png | |
67 | share/audacious/Skins/Classic/pledit.txt | 81 | share/audacious/Skins/Classic/pledit.txt | |
68 | share/audacious/Skins/Classic/posbar.png | 82 | share/audacious/Skins/Classic/posbar.png | |
69 | share/audacious/Skins/Classic/shufrep.png | 83 | share/audacious/Skins/Classic/shufrep.png | |
70 | share/audacious/Skins/Classic/skin-classic.hints | 84 | share/audacious/Skins/Classic/skin-classic.hints | |
@@ -164,26 +178,27 @@ share/audacious/Skins/TinyPlayer/eqmain. | @@ -164,26 +178,27 @@ share/audacious/Skins/TinyPlayer/eqmain. | |||
164 | share/audacious/Skins/TinyPlayer/main.png | 178 | share/audacious/Skins/TinyPlayer/main.png | |
165 | share/audacious/Skins/TinyPlayer/monoster.png | 179 | share/audacious/Skins/TinyPlayer/monoster.png | |
166 | share/audacious/Skins/TinyPlayer/nums_ex.png | 180 | share/audacious/Skins/TinyPlayer/nums_ex.png | |
167 | share/audacious/Skins/TinyPlayer/playpaus.png | 181 | share/audacious/Skins/TinyPlayer/playpaus.png | |
168 | share/audacious/Skins/TinyPlayer/pledit.png | 182 | share/audacious/Skins/TinyPlayer/pledit.png | |
169 | share/audacious/Skins/TinyPlayer/pledit.txt | 183 | share/audacious/Skins/TinyPlayer/pledit.txt | |
170 | share/audacious/Skins/TinyPlayer/posbar.png | 184 | share/audacious/Skins/TinyPlayer/posbar.png | |
171 | share/audacious/Skins/TinyPlayer/shufrep.png | 185 | share/audacious/Skins/TinyPlayer/shufrep.png | |
172 | share/audacious/Skins/TinyPlayer/skin.hints | 186 | share/audacious/Skins/TinyPlayer/skin.hints | |
173 | share/audacious/Skins/TinyPlayer/text.png | 187 | share/audacious/Skins/TinyPlayer/text.png | |
174 | share/audacious/Skins/TinyPlayer/titlebar.png | 188 | share/audacious/Skins/TinyPlayer/titlebar.png | |
175 | share/audacious/Skins/TinyPlayer/viscolor.txt | 189 | share/audacious/Skins/TinyPlayer/viscolor.txt | |
176 | share/audacious/Skins/TinyPlayer/volume.png | 190 | share/audacious/Skins/TinyPlayer/volume.png | |
191 | share/locale/ar/LC_MESSAGES/audacious-plugins.mo | |||
177 | share/locale/be/LC_MESSAGES/audacious-plugins.mo | 192 | share/locale/be/LC_MESSAGES/audacious-plugins.mo | |
178 | share/locale/bg/LC_MESSAGES/audacious-plugins.mo | 193 | share/locale/bg/LC_MESSAGES/audacious-plugins.mo | |
179 | share/locale/ca/LC_MESSAGES/audacious-plugins.mo | 194 | share/locale/ca/LC_MESSAGES/audacious-plugins.mo | |
180 | share/locale/cmn/LC_MESSAGES/audacious-plugins.mo | 195 | share/locale/cmn/LC_MESSAGES/audacious-plugins.mo | |
181 | share/locale/cs/LC_MESSAGES/audacious-plugins.mo | 196 | share/locale/cs/LC_MESSAGES/audacious-plugins.mo | |
182 | share/locale/da/LC_MESSAGES/audacious-plugins.mo | 197 | share/locale/da/LC_MESSAGES/audacious-plugins.mo | |
183 | share/locale/de/LC_MESSAGES/audacious-plugins.mo | 198 | share/locale/de/LC_MESSAGES/audacious-plugins.mo | |
184 | share/locale/el/LC_MESSAGES/audacious-plugins.mo | 199 | share/locale/el/LC_MESSAGES/audacious-plugins.mo | |
185 | share/locale/en_GB/LC_MESSAGES/audacious-plugins.mo | 200 | share/locale/en_GB/LC_MESSAGES/audacious-plugins.mo | |
186 | share/locale/es/LC_MESSAGES/audacious-plugins.mo | 201 | share/locale/es/LC_MESSAGES/audacious-plugins.mo | |
187 | share/locale/es_AR/LC_MESSAGES/audacious-plugins.mo | 202 | share/locale/es_AR/LC_MESSAGES/audacious-plugins.mo | |
188 | share/locale/es_MX/LC_MESSAGES/audacious-plugins.mo | 203 | share/locale/es_MX/LC_MESSAGES/audacious-plugins.mo | |
189 | share/locale/et/LC_MESSAGES/audacious-plugins.mo | 204 | share/locale/et/LC_MESSAGES/audacious-plugins.mo |
@@ -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 | |||
3 | SHA1 (audacious-plugins-3.5.2.tar.bz2) = 470a9c009a92627fb824118762b156eb4604099f | 3 | SHA1 (audacious-plugins-3.10.1.tar.bz2) = d2e549a402baa59b0181aabad6d7481369e8930e | |
4 | RMD160 (audacious-plugins-3.5.2.tar.bz2) = 2cf98e4fbf0e778672d509cd486274a8f7e4f10d | 4 | RMD160 (audacious-plugins-3.10.1.tar.bz2) = 96b7f2b0041508e8cea5f8188d9fb7b69b08f0a3 | |
5 | SHA512 (audacious-plugins-3.5.2.tar.bz2) = eaf46f403a77b5de63f26e096b968a6d94bbe3917df4400e5791143d846c1f3cbf83f2937210055a9b493dfa56ddb36b12d6d57b1453708b23dd41c0e2a94a72 | 5 | SHA512 (audacious-plugins-3.10.1.tar.bz2) = 454e9ce4061e92a0ecda40f562d4cc7453fc0019fd76b25dbe9e319319fa37c22f9785cb29563e8074de8a88e6130106aca1e431790297e1b4636dc974fde565 | |
6 | Size (audacious-plugins-3.5.2.tar.bz2) = 1734588 bytes | 6 | Size (audacious-plugins-3.10.1.tar.bz2) = 1715477 bytes |
# $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
@@ -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 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.audacious-plugins | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.audacious-plugins | |
4 | PKG_SUPPORTED_OPTIONS= jack pulseaudio sid | 4 | PKG_SUPPORTED_OPTIONS+= alsa jack pulseaudio lirc | |
5 | PKG_SUGGESTED_OPTIONS+= pulseaudio jack | 5 | PKG_SUPPORTED_OPTIONS+= adplug sidplay fluidsynth libgme modplug | |
6 | PKG_SUGGESTED_OPTIONS.Linux+= alsa lirc | |||
7 | PKG_OPTIONS_LEGACY_OPTS+= sid:sidplay | |||
6 | 8 | |||
7 | .include "../../mk/bsd.options.mk" | 9 | .include "../../mk/bsd.options.mk" | |
8 | 10 | |||
9 | PLIST_VARS+= sid | 11 | PLIST_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" | |
12 | PLIST.sid= yes | 14 | PLIST.alsa= yes | |
13 | .else | 15 | .else | |
14 | CONFIGURE_ARGS+= --disable-sid | 16 | CONFIGURE_ARGS+= --disable-alsa | |
15 | .endif | 17 | .endif | |
16 | 18 | |||
17 | PLIST_VARS+= jack | 19 | PLIST_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" | |
20 | PLIST.jack= yes | 22 | PLIST.jack= yes | |
21 | .else | 23 | .else | |
22 | CONFIGURE_ARGS+= --disable-jack | 24 | CONFIGURE_ARGS+= --disable-jack | |
23 | .endif | 25 | .endif | |
24 | 26 | |||
25 | PLIST_VARS+= pulse | 27 | PLIST_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" | |
28 | PLIST.pulse= yes | 30 | PLIST.pulse= yes | |
29 | .else | 31 | .else | |
30 | CONFIGURE_ARGS+= --disable-pulse | 32 | CONFIGURE_ARGS+= --disable-pulse | |
31 | .endif | 33 | .endif | |
34 | ||||
35 | PLIST_VARS+= lirc | |||
36 | .if !empty(PKG_OPTIONS:Mlirc) | |||
37 | . include "../../comms/lirc/buildlink3.mk" | |||
38 | PLIST.lirc= yes | |||
39 | .else | |||
40 | CONFIGURE_ARGS+= --disable-lirc | |||
41 | .endif | |||
42 | ||||
43 | PLIST_VARS+= adplug | |||
44 | .if !empty(PKG_OPTIONS:Madplug) | |||
45 | . include "../../audio/adplug/buildlink3.mk" | |||
46 | PLIST.adplug= yes | |||
47 | .else | |||
48 | CONFIGURE_ARGS+= --disable-adplug | |||
49 | .endif | |||
50 | ||||
51 | PLIST_VARS+= sid | |||
52 | .if !empty(PKG_OPTIONS:Msidplay) | |||
53 | . include "../../audio/libsidplay/buildlink3.mk" | |||
54 | PLIST.sid= yes | |||
55 | .else | |||
56 | CONFIGURE_ARGS+= --disable-sid | |||
57 | .endif | |||
58 | ||||
59 | PLIST_VARS+= fluidsynth | |||
60 | .if !empty(PKG_OPTIONS:Mfluidsynth) | |||
61 | . include "../../audio/fluidsynth/buildlink3.mk" | |||
62 | PLIST.fluidsynth= yes | |||
63 | .else | |||
64 | CONFIGURE_ARGS+= --disable-amidiplug | |||
65 | .endif | |||
66 | ||||
67 | PLIST_VARS+= libgme | |||
68 | .if !empty(PKG_OPTIONS:Mlibgme) | |||
69 | . include "../../audio/game-music-emu/buildlink3.mk" | |||
70 | PLIST.libgme= yes | |||
71 | .else | |||
72 | CONFIGURE_ARGS+= --disable-console | |||
73 | .endif | |||
74 | ||||
75 | PLIST_VARS+= modplug | |||
76 | .if !empty(PKG_OPTIONS:Mmodplug) | |||
77 | . include "../../audio/libmodplug/buildlink3.mk" | |||
78 | PLIST.modplug= yes | |||
79 | .else | |||
80 | CONFIGURE_ARGS+= --disable-modplug | |||
81 | .endif |
@@ -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 | |||
3 | Fix install_name on Darwin. | 3 | Fix 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' |
$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@