# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name audacious-core set real_name audacious # Please keep audacious, audacious-core and audacious-plugins synchronized. version 3.10.1 revision 1 license BSD categories multimedia platforms darwin maintainers {ionic @Ionic} homepage https://www.audacious-media-player.org/ description Audacious is an advanced audio player. long_description ${description} It is free, lightweight, based on GTK3, \ runs on Linux and many other *nix platforms. The player focuses on audio quality \ and supports a wide range of audio codecs. \ Its advanced audio playback engine is considerably more powerful than GStreamer. \ Audacious is a fork of Beep Media Player (BMP), which itself forked from XMMS. # Maintainer-only helper for testing changes quickly and easily. #fetch.type git #git.url https://github.com/Ionic/${real_name} #git.branch ${real_name}-${version}-buildfix master_sites https://distfiles.audacious-media-player.org distname ${real_name}-${version} use_bzip2 yes checksums rmd160 6fc2c88fc681a58f42f45d19de36f2f24bc7e1bf \ sha256 8366e840bb3c9448c2cf0cf9a0800155b0bd7cc212a28ba44990c3d2289c6b93 \ size 564481 universal_variant no patchfiles patch-buildsys-fix-link-order-and-make-verbose.diff depends_lib port:libiconv \ port:gettext \ path:lib/pkgconfig/dbus-1.pc:dbus \ path:lib/pkgconfig/glib-2.0.pc:glib2 compiler.cxx_standard 2011 # Note: rpath is required on macOS. configure.args --enable-nls \ --enable-rpath \ --enable-dbus \ --disable-qt \ --disable-gtk \ --disable-valgrind use_autoreconf yes autoreconf.cmd ./autogen.sh autoreconf.args depends_build port:pkgconfig \ path:bin/aclocal:automake \ path:bin/autom4te:autoconf post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${real_name} move ${destroot}${prefix}/share/${real_name}/AUTHORS \ ${destroot}${prefix}/share/${real_name}/COPYING \ ${destroot}${prefix}/share/doc/${real_name} } variant qt5 description {Add Qt5 support} { PortGroup qt5 1.0 configure.args-replace --disable-qt \ --enable-qt } variant gtk2 conflicts gtk3 description {Add GTK2 support} { depends_lib-append path:lib/pkgconfig/gtk-2.0.pc:gtk2 configure.args-replace --disable-gtk \ --enable-gtk } variant gtk3 conflicts gtk2 description {Add GTK3 support} { depends_lib-append path:lib/pkgconfig/gtk-3.0.pc:gtk3 patchfiles-append patch-gtk3.diff configure.args-replace --disable-gtk \ --enable-gtk } # Need either one of gtk2, gtk3 or Qt5 to have a GUI. Default to gtk2, which is preferred by upstream. if {![variant_isset gtk2] && ![variant_isset gtk3] && ![variant_isset qt5]} { default_variants-append +gtk2 } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"