1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup qt5 1.0 |
---|
5 | |
---|
6 | name qjackctl |
---|
7 | version 0.4.5 |
---|
8 | license GPL-2 |
---|
9 | categories audio |
---|
10 | maintainers nomaintainer |
---|
11 | platforms darwin |
---|
12 | homepage http://qjackctl.sourceforge.net/ |
---|
13 | master_sites http://downloads.sourceforge.net/qjackctl |
---|
14 | # master_sites sourceforge:projects/qjackctl/files/qjackctl/${version} |
---|
15 | |
---|
16 | description \ |
---|
17 | QjackCtl is a simple Qt application to control the JACK sound server daemon. |
---|
18 | |
---|
19 | long_description \ |
---|
20 | ${description} |
---|
21 | |
---|
22 | universal_variant no |
---|
23 | |
---|
24 | checksums rmd160 d8746505931b81658b4a8ec05b28857634b7f8a9 \ |
---|
25 | sha256 c50da569ec8466ac6cc72c65e2d8212eb9c40149daed0a10fb7795ff9ddc4ab7 |
---|
26 | |
---|
27 | depends_lib-append port:jack |
---|
28 | depends_lib-append port:qt5 |
---|
29 | |
---|
30 | configure.cxxflags-append --std=c++11 |
---|
31 | |
---|
32 | configure.args-append --with-jack=${prefix} \ |
---|
33 | --with-qt5=${qt_dir} \ |
---|
34 | --disable-alsa-seq |
---|
35 | configure.args-delete --disable-dependency-tracking |
---|
36 | |
---|
37 | post-destroot { |
---|
38 | # move the created .app to MacPorts' applications directory ... |
---|
39 | move ${destroot}${prefix}/bin/qjackctl.app ${destroot}${applications_dir} |
---|
40 | # ... and link the actual executable back to the bindir |
---|
41 | ln -s ${applications_dir}/qjackctl.app/Contents/MacOS/qjackctl ${destroot}${prefix}/bin/qjackctl |
---|
42 | } |
---|
43 | |
---|
44 | variant debug description "Enable debugging" {} |
---|
45 | |
---|
46 | if {[variant_isset debug]} { |
---|
47 | configure.args-append --enable-debug |
---|
48 | } else { |
---|
49 | configure.args-append --disable-debug |
---|
50 | } |
---|
51 | |
---|
52 | variant portaudio description "enable PortAudio interface" {} |
---|
53 | default_variants +portaudio |
---|
54 | |
---|
55 | if {[variant_isset portaudio]} { |
---|
56 | configure.args-append --enable-portaudio |
---|
57 | depends_lib-append port:portaudio |
---|
58 | } else { |
---|
59 | configure.args-append --disable-portaudio |
---|
60 | } |
---|
61 | |
---|
62 | variant stacktrace description "enable debugger stack-trace" {} |
---|
63 | |
---|
64 | if {[variant_isset stacktrace]} { |
---|
65 | configure.args-append --enable-stacktrace |
---|
66 | } else { |
---|
67 | configure.args-append --disable-stacktrace |
---|
68 | } |
---|
69 | |
---|
70 | variant dbus description "enable D-Bus interface" {} |
---|
71 | default_variants +dbus |
---|
72 | |
---|
73 | if {[variant_isset dbus]} { |
---|
74 | configure.args-append --enable-dbus |
---|
75 | } else { |
---|
76 | configure.args-append --disable-dbus |
---|
77 | } |
---|
78 | |
---|
79 | livecheck.url http://sourceforge.net/projects/${name}/files/ |
---|
80 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|