mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
a750fa11b8
In file included from /wrkdirs/usr/ports/audio/liblastfm-qt5/work/liblastfm-1.0.9-5-g4433165/src/fingerprint/Fingerprint.cpp:21: /wrkdirs/usr/ports/audio/liblastfm-qt5/work/liblastfm-1.0.9-5-g4433165/src/fingerprint/Fingerprint.h:74:49: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] void generate( FingerprintableSource* ) throw( Error ); While here, pet portlint (1). Reported by: pkg-fallout
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
PORTNAME= liblastfm
|
|
DISTVERSION= 1.0.9-5
|
|
DISTVERSIONSUFFIX= -g4433165
|
|
PORTREVISION= 3
|
|
CATEGORIES= audio
|
|
PKGNAMESUFFIX= -qt5
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
|
|
PATCHFILES+= d51ad3e759331d7d79c6675c5d22541280bf9a70.patch:-p1 #Remove dynamic exception specs
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
COMMENT= Qt C++ library for the Last.fm webservices
|
|
WWW= https://github.com/lastfm/liblastfm
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cmake compiler:c++11-lang pkgconfig qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= lastfm
|
|
USE_LDCONFIG= yes
|
|
USE_QT= core dbus network sql xml \
|
|
buildtools:build qmake:build
|
|
CMAKE_OFF= BUILD_WITH_QT4
|
|
QTVER_SUFFIX= 5
|
|
|
|
PLIST_SUB= QTVER_SUFFIX="${QTVER_SUFFIX}"
|
|
|
|
OPTIONS_DEFINE= FINGERPRINT TEST
|
|
OPTIONS_DEFAULT= FINGERPRINT
|
|
OPTIONS_SUB= yes
|
|
|
|
FINGERPRINT_DESC= Build the lastfm-fingerprint library
|
|
FINGERPRINT_LIB_DEPENDS=libsamplerate.so:audio/libsamplerate \
|
|
libfftw3f.so:math/fftw3-float
|
|
FINGERPRINT_CMAKE_BOOL= BUILD_FINGERPRINT
|
|
# We only need fftw3.h from math/fftw3; no need to install
|
|
FINGERPRINT_BUILD_DEPENDS= ${NONEXISTENT}:math/fftw3:patch
|
|
FINGERPRINT_CMAKE_ON= -DLIBFFTW3_INCLUDE_DIR:PATH=`${MAKE} -C ${PORTSDIR}/math/fftw3 -VWRKSRC`/api
|
|
|
|
TEST_USE= QT=testlib:build
|
|
TEST_CMAKE_BOOL= BUILD_TESTS
|
|
TEST_TEST_TARGET= test
|
|
|
|
.include <bsd.port.mk>
|