- Update to 2.2.4

- Use python3 scons
This commit is contained in:
Jose Alonso Cardenas Marquez 2020-07-02 16:45:34 +00:00
parent 03d3d2923f
commit c36e69703f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541045
4 changed files with 9 additions and 10 deletions

View File

@ -3,8 +3,7 @@
PORTNAME= mixxx
DISTVERSIONPREFIX= release-
DISTVERSION= 2.2.3
PORTREVISION= 2
DISTVERSION= 2.2.4
CATEGORIES= audio
MAINTAINER= acm@FreeBSD.org
@ -33,7 +32,7 @@ LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libprotobuf.so:devel/protobuf \
liblilv-0.so:audio/lilv
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons:python2 xorg
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1576007042
SHA256 (mixxxdj-mixxx-release-2.2.3_GH0.tar.gz) = 69230dca511ba08a284a22a979ff05b62130e97156d39a044bb4045f5f43cd2e
SIZE (mixxxdj-mixxx-release-2.2.3_GH0.tar.gz) = 35060366
TIMESTAMP = 1593383731
SHA256 (mixxxdj-mixxx-release-2.2.4_GH0.tar.gz) = 9372b43d5ec882845b4fe2350ef50dabb3f1e0cc029f182b0ed8aa4f4f3b2afa
SIZE (mixxxdj-mixxx-release-2.2.4_GH0.tar.gz) = 35480450

View File

@ -73,7 +73,7 @@
qtdir = build.env['QTDIR']
framework_path = Qt.find_framework_libdir(qtdir, qt5)
- if os.path.isdir(framework_path):
+ if framework_path and os.path.isdir(framework_path):
+ if framework_path and os.path.isdir(framework_path):
build.env.Append(LINKFLAGS="-L" + framework_path)
# Mixxx requires C++11 support. Windows enables C++11 features by
@ -91,7 +91,7 @@
# it, though might cause issues. This is safe to remove once we
# deprecate Karmic support. rryan 2/2011
- build.env.Append(CPPPATH='/usr/include/taglib/')
+ build.env.Append(CPPPATH='%%LOCALBASE%%/include/taglib/')
+ build.env.Append(CPPPATH='%%LOCALBASE%%/include/taglib/')
if build.platform_is_windows and build.static_dependencies:
build.env.Append(CPPDEFINES='TAGLIB_STATIC')

View File

@ -4,8 +4,8 @@
# -pthread tells GCC to do the right thing regardless of system
build.env.Append(CCFLAGS='-pthread')
build.env.Append(LINKFLAGS='-pthread')
+ elif build.platform_is_bsd:
+ build.env.ParseConfig('pkg-config hidapi --silence-errors --cflags --libs')
+ elif build.platform_is_bsd:
+ build.env.ParseConfig('pkg-config hidapi --silence-errors --cflags --libs')
+ conf.CheckLib(['pthread', 'libpthread'])
+ conf.CheckLib(['rt', 'librt'])