forked from macports/macports-ports
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qjackctl: update to 0.6.3, fix for old systems
- Loading branch information
1 parent
c0f14aa
commit 80c870b
Showing
5 changed files
with
749 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# -*- 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 | ||
|
||
PortSystem 1.0 | ||
|
||
name qjackctl | ||
version 0.6.3 | ||
license GPL-2+ | ||
categories audio | ||
maintainers nomaintainer | ||
homepage http://qjackctl.sourceforge.net/ | ||
|
||
description \ | ||
QjackCtl is a simple Qt application to control the JACK sound server daemon. | ||
long_description \ | ||
Provides a simple GUI dialog for setting several JACK daemon parameters, \ | ||
which are properly saved between sessions, and a way control of the status \ | ||
of the audio server daemon. With time, this primordial interface has become \ | ||
richer by including a enhanced patchbay and connection control features. | ||
|
||
master_sites http://downloads.sourceforge.net/qjackctl | ||
|
||
checksums rmd160 8ad5bd27fff8b615df194b415ff385019f88ace9 \ | ||
sha256 9db46376cfacb2e2ee051312245f5f7c383c9f5a958c0e3d661b9bd2a9246b7d \ | ||
size 1033664 | ||
|
||
use_autoreconf yes | ||
|
||
depends_lib-append port:jack | ||
|
||
compiler.cxx_standard 2011 | ||
|
||
configure.cxxflags-append --std=c++11 | ||
configure.args-append --with-jack=${prefix} \ | ||
--disable-alsa-seq | ||
configure.args-delete --disable-dependency-tracking | ||
|
||
patchfiles-append 0001-Restore-Qt4-support.patch \ | ||
0002-fix-compiler-choice.patch | ||
|
||
platform darwin { | ||
default_variants-append +qt4 | ||
} | ||
|
||
universal_variant no | ||
|
||
variant qt4 description "Enable qt4 instead of qt5 interface" {} | ||
|
||
if {[variant_isset qt4]} { | ||
PortGroup qt4 1.0 | ||
depends_lib-append port:qt4-mac | ||
configure.args-append --enable-qt4 | ||
configure.args-append --with-qt4=${qt_dir} | ||
} else { | ||
PortGroup qt5 1.0 | ||
depends_lib-append port:qt5 | ||
configure.args-append --with-qt5=${qt_dir} | ||
} | ||
|
||
variant debug description "Enable debugging" {} | ||
|
||
if {[variant_isset debug]} { | ||
configure.args-append --enable-debug | ||
} else { | ||
configure.args-append --disable-debug | ||
} | ||
|
||
variant portaudio description "enable PortAudio interface" {} | ||
|
||
if {[variant_isset portaudio]} { | ||
configure.args-append --enable-portaudio | ||
depends_lib-append port:portaudio | ||
} else { | ||
configure.args-append --disable-portaudio | ||
} | ||
|
||
variant stacktrace description "enable debugger stack-trace" {} | ||
|
||
if {[variant_isset stacktrace]} { | ||
configure.args-append --enable-stacktrace | ||
} else { | ||
configure.args-append --disable-stacktrace | ||
} | ||
|
||
variant dbus description "enable D-Bus interface" {} | ||
|
||
if {[variant_isset dbus]} { | ||
configure.args-append --enable-dbus | ||
} else { | ||
configure.args-append --disable-dbus | ||
} | ||
|
||
post-destroot { | ||
# move the created .app to MacPorts' applications directory ... | ||
move ${destroot}${prefix}/bin/qjackctl.app ${destroot}${applications_dir} | ||
# ... and link the actual executable back to the bindir | ||
ln -s ${applications_dir}/qjackctl.app/Contents/MacOS/qjackctl ${destroot}${prefix}/bin/qjackctl | ||
} | ||
|
||
livecheck.url http://sourceforge.net/projects/${name}/files/ | ||
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- src/src.pri.in 2020-07-31 15:41:14.000000000 +0800 | ||
+++ src/src.pri.in 2024-12-03 13:50:30.000000000 +0800 | ||
@@ -12,8 +12,12 @@ | ||
INCLUDEPATH += @ac_incpath@ | ||
LIBS += @ac_libs@ | ||
|
||
+QMAKE_CXX = __CXX__ | ||
+QMAKE_LINK = __CXX__ | ||
+ | ||
# Extra optimization flags | ||
QMAKE_CXXFLAGS += @ac_cflags@ | ||
+QMAKE_CXXFLAGS += __CXXFLAGS__ | ||
QMAKE_LFLAGS += @ac_ldflags@ | ||
|
||
# D-BUS support |
Oops, something went wrong.