aboutsummaryrefslogtreecommitdiffstats
path: root/audio/clementine-player/Makefile
blob: d05c8cc606d0f2564460423aed93d4f04780299d (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
38
39
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:    clementine-player
# Date created:     2010-03-23
# Whom:         Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#

PORTNAME=   clementine
PORTVERSION=    0.7.1
CATEGORIES= audio
MASTER_SITES=   GOOGLE_CODE
PKGNAMESUFFIX=  -player

MAINTAINER= g.veniamin@googlemail.com
COMMENT=    A cross-platform music player based on Amarok 1.4

LIB_DEPENDS=    lastfm.0:${PORTSDIR}/audio/liblastfm \
        tag.1:${PORTSDIR}/audio/taglib \
        notify.1:${PORTSDIR}/devel/libnotify \
        xine.1:${PORTSDIR}/multimedia/libxine \
        mtp:${PORTSDIR}/audio/libmtp
BUILD_DEPENDS=  ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs

LICENSE=    GPLv3

PROJECTHOST=    ${PORTNAME}${PKGNAMESUFFIX}

USE_CMAKE=  yes
USE_ICONV=  yes
USE_GL=     glew
USE_QT_VER= 4
QT_COMPONENTS=  gui xml qmake_build uic_build moc_build rcc_build \
        linguist_build network sql opengl dbus qtestlib corelib
USE_GCC=    4.2+
INSTALLS_ICONS= yes
USE_GSTREAMER=  gio ogg mp3 flac soup
MAKE_JOBS_UNSAFE=   yes

OPTIONS=    VISUALISATION "Visualisations from projectM" off

.include <bsd.port.pre.mk>

.if defined(WITH_VISUALISATION)
PLIST_SUB+= VSL=""
.else
CMAKE_ARGS+=    -DENABLE_VISUALISATIONS=OFF
PLIST_SUB+= VSL="@comment "
.endif

.include <bsd.port.post.mk>