aboutsummaryrefslogtreecommitdiffstats
path: root/audio/liblastfm/Makefile
blob: dcdf4f416a706aabcb0d77f602f381101d71f6ed (plain) (blame)
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
# Created by: Matt Tosto <datahead4@gmail.com>
# $FreeBSD$

PORTNAME=   liblastfm
PORTVERSION=    1.0.9
CATEGORIES= audio

MAINTAINER= jhale@FreeBSD.org
COMMENT=    Qt C++ library for the Last.fm webservices

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libfftw3.so:${PORTSDIR}/math/fftw3 \
        libfftw3f.so:${PORTSDIR}/math/fftw3-float \
        libsamplerate.so:${PORTSDIR}/audio/libsamplerate

GH_ACCOUNT= lastfm

USES=       cmake pkgconfig
USE_GITHUB= yes
USE_LDCONFIG=   yes
USE_QT4=    dbus network qtestlib sql xml \
        moc_build qmake_build rcc_build

CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=ON

OPTIONS_DEFINE=     FINGERPRINT TEST
OPTIONS_DEFAULT=    FINGERPRINT
OPTIONS_SUB=        yes
FINGERPRINT_DESC=   Build the lastfm-fingerprint library
FINGERPRINT_CMAKE_ON=   -DBUILD_FINGERPRINT:BOOL=ON
FINGERPRINT_CMAKE_OFF=  -DBUILD_FINGERPRINT:BOOL=OFF
TEST_CMAKE_ON=      -DBUILD_TESTS:BOOL=ON
TEST_CMAKE_OFF=     -DBUILD_TESTS:BOOL=OFF

.include <bsd.port.mk>