blob: 7d54322284b7488f8b4eeaa1a761b8f3cd637fcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Created by: Matt Tosto <datahead4@gmail.com>
# $FreeBSD$
PORTNAME= liblastfm
PORTVERSION= 1.0.6
#PORTREVISION= 0
CATEGORIES= audio
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt C++ library for the Last.fm webservices
LICENSE= GPLv3
LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
libfftw3f.so:${PORTSDIR}/math/fftw3-float \
libsamplerate.so:${PORTSDIR}/audio/libsamplerate
GH_ACCOUNT= lastfm
GH_COMMIT= 5826fe6
GH_PROJECT= liblastfm
GH_TAGNAME= ${PORTVERSION}
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= FINGERPRINT TESTS
FINGERPRINT_DESC= Build the lastfm-fingerprint library
TESTS_DESC= Build liblastfm tests
OPTIONS_DEFAULT= FINGERPRINT
USES= cmake pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
USE_QT4= dbus moc_build rcc_build network qmake_build qtestlib sql xml
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFINGERPRINT}
CMAKE_ARGS+= -DBUILD_FINGERPRINT:BOOL=ON
PLIST_SUB+= FINGERPRINT=""
.else
CMAKE_ARGS+= -DBUILD_FINGERPRINT:BOOL=OFF
PLIST_SUB+= FINGERPRINT="@comment "
.endif
.if ${PORT_OPTIONS:MTESTS}
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=ON
.else
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=OFF
.endif
.include <bsd.port.mk>
|