# -*- 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 # $Id$ PortSystem 1.0 PortGroup conflicts_build 1.0 PortGroup cxx11 1.0 name audacious-core set real_name audacious # Please keep audacious, audacious-core and audacious-plugins synchronized. version 3.8 revision 0 license BSD categories multimedia platforms darwin maintainers ionic homepage http://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 git://github.com/Ionic/${real_name} #git.branch ${real_name}-${version}-buildfix master_sites http://distfiles.audacious-media-player.org distname ${real_name}-${version} use_bzip2 yes checksums rmd160 63abcb3536a1bc88a8c3b9674d9d46b7519ec48c \ sha256 ffe8c0661dcb999598887e8ee05cd24faa7939086f5a8183fdba6210a95c4a71 universal_variant no conflicts_build ${name} patchfiles patch-update-buildsys-and-make-verbose.diff \ patch-drop-libc++.diff depends_build path:bin/pkg-config:pkgconfig \ path:bin/aclocal:automake \ path:bin/autom4te:autoconf depends_lib port:libiconv \ port:gettext \ path:lib/pkgconfig/dbus-1.pc:dbus \ path:lib/pkgconfig/glib-2.0.pc:glib2 # Note: rpath is required on OS X. configure.args --enable-nls \ --enable-rpath \ --enable-dbus \ --disable-qt \ --disable-gtk \ --disable-valgrind use_autoreconf yes autoreconf.cmd ./autogen.sh autoreconf.args 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 notes-append { The Qt5 interface is known to crash upon exit, \ but should otherwise be functional.\ } } 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}"