# -*- 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 PortGroup meson 1.0 name audacious-core set real_name audacious # Please keep audacious, audacious-core and audacious-plugins synchronized. version 4.3.1 revision 0 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 44780e4610cc390effed8b0052156725b9ddc652 \ sha256 85e9e26841505b51e342ee72a2d05f19bef894f567a029ebb3f3e0c1adb42042 \ size 630820 universal_variant no # https://github.com/audacious-media-player/audacious/pull/64 patchfiles patch-vfsseektype.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 configure.args -Ddbus=true \ -Dqt=false \ -Dgtk=false \ -Dvalgrind=false depends_build port:pkgconfig 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 -Dqt=false \ -Dqt=true } variant gtk2 conflicts gtk3 description {Add GTK2 support} { depends_lib-append path:lib/pkgconfig/gtk+-2.0.pc:gtk2 configure.args-replace -Dgtk=false \ -Dgtk=true } variant gtk3 conflicts gtk2 description {Add GTK3 support} { depends_lib-append path:lib/pkgconfig/gtk+-3.0.pc:gtk3 configure.args-replace -Dgtk=false \ -Dgtk=true configure.args-append -Dgtk3=true } # Need either one of gtk2, gtk3 or Qt5 to have a GUI. Default to qt5, which is preferred by upstream. if {![variant_isset gtk2] && ![variant_isset gtk3] && ![variant_isset qt5]} { default_variants-append +qt5 } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"