You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
xmms2: prevent opportunistic linking to jack and pulse
This commit is contained in:
committed by
Renee Otten
parent
5bd054e6dc
commit
2ed29b4593
+11
-4
@@ -58,8 +58,7 @@ waf.python_branch 3.12
|
||||
|
||||
configure.pkg_config_path \
|
||||
${prefix}/libexec/ffmpeg${ffmpeg_ver}/lib/pkgconfig
|
||||
configure.args --conf-prefix=${prefix} \
|
||||
--with-optionals=
|
||||
configure.args-append --conf-prefix=${prefix}
|
||||
|
||||
# error: incompatible function pointer types passing
|
||||
# 'void (DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType,
|
||||
@@ -77,15 +76,22 @@ compiler.blacklist-append *gcc-4.0 *gcc-4.2
|
||||
|
||||
options optionals
|
||||
|
||||
options disabled_plugins
|
||||
default disabled_plugins {jack pulse}
|
||||
|
||||
# not supported
|
||||
configure.post_args-delete --nocache
|
||||
|
||||
variant pulse description {Pulseaudio support} {
|
||||
depends_lib-append port:pulseaudio
|
||||
|
||||
disabled_plugins-delete pulse
|
||||
}
|
||||
|
||||
variant jack description {Jack audio support} {
|
||||
depends_lib-append port:jack
|
||||
|
||||
disabled_plugins-delete jack
|
||||
}
|
||||
|
||||
variant cpp description {C++ development support} {
|
||||
@@ -123,8 +129,9 @@ variant python description {Support for Python 3.12} {
|
||||
}
|
||||
|
||||
pre-configure {
|
||||
configure.args-replace --with-optionals= \
|
||||
--with-optionals=[join ${optionals} ,]
|
||||
configure.args-append \
|
||||
--with-optionals=[join ${optionals} ,] \
|
||||
--without-plugins=[join ${disabled_plugins} ,]
|
||||
}
|
||||
|
||||
default_variants +python
|
||||
|
||||
Reference in New Issue
Block a user