aboutsummaryrefslogtreecommitdiffstats
path: root/audio/clementine-player/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/clementine-player/Makefile')
-rw-r--r--audio/clementine-player/Makefile168
1 files changed, 127 insertions, 41 deletions
diff --git a/audio/clementine-player/Makefile b/audio/clementine-player/Makefile
index dba3cb8382eb..ebcfb7d3cc49 100644
--- a/audio/clementine-player/Makefile
+++ b/audio/clementine-player/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= clementine
-PORTVERSION= 1.2.3
-PORTREVISION= 9
+PORTVERSION= 1.3.1
CATEGORIES= audio
PKGNAMESUFFIX= -player
@@ -13,72 +12,142 @@ COMMENT= Cross-platform music player based on Amarok 1.4
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
+
LIB_DEPENDS= libtag.so:audio/taglib \
libchromaprint.so:audio/chromaprint \
libprotobuf.so:devel/protobuf \
libqca.so:devel/qca \
libqjson.so:devel/qjson \
libfftw3.so:math/fftw3 \
- libechonest.so:audio/libechonest
-
-BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
+ libechonest.so:audio/libechonest \
+ libcryptopp.so:security/cryptopp
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}${PKGNAMESUFFIX}
GH_PROJECT= Clementine
-USES= compiler:c++11-lib cmake desktop-file-utils execinfo \
- gettext-tools pkgconfig
+USES= cmake \
+ compiler:c++11-lib \
+ desktop-file-utils \
+ execinfo \
+ gettext-tools \
+ pkgconfig \
+ sqlite
+
USE_GL= glew
-USE_QT4= dbus gui xml qmake_build uic_build moc_build rcc_build \
- linguist_build network sql opengl qtestlib corelib webkit \
- imageformats
-INSTALLS_ICONS= yes
-USE_GSTREAMER= gio ogg mp3 flac soup vorbis
CONFLICTS_BUILD= qt-3.*
+USE_QT4= corelib \
+ dbus \
+ gui \
+ imageformats \
+ qmake_build \
+ linguist_build \
+ moc_build \
+ network \
+ opengl \
+ qtestlib \
+ rcc_build \
+ sql \
+ uic_build \
+ webkit \
+ xml
+
+USE_GSTREAMER1= cdparanoia \
+ chromaprint \
+ faac \
+ faad \
+ flac \
+ lame \
+ mad \
+ neon \
+ shout2 \
+ soup \
+ taglib \
+ twolame \
+ vorbis
+
+INSTALLS_ICONS= yes
-CFLAGS+= -Wno-deprecated-register
+CFLAGS+= -Wno-inconsistent-missing-override \
+ -Wno-unused-variable \
+ -Wno-unused-function
CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" \
- -DENABLE_DBUS=ON -DENABLE_SPARKLE=OFF \
- -DENABLE_SOUNDMENU=OFF -DENABLE_SPOTIFY_BLOB=OFF \
- -DENABLE_UBUNTU_ONE=OFF -DENABLE_SKYDRIVE=OFF
-
-OPTIONS_DEFINE= AUDIOCD BREAKPAD DEVICEKIT DROPBOX BOX GIO GOOGLE_DRIVE \
- GPOD LASTFM MTP VISUALISATION WIIMOTEDEV MOODBAR
+ -DENABLE_DBUS=ON \
+ -DENABLE_SPOTIFY_BLOB=OFF \
+ -DCRYPTOPP_LIBS=${LOCALBASE}/lib/libcryptopp.so \
+ -DCRYPTOPP_INCLUDEDIR=${LOCALBASE}/include/cryptopp \
+ -DCRYPTOPP_LIBDIR=${LOCALBASE}/lib \
+ -DCRYPTOPP_LDFLAGS=-lcryptopp \
+ -DCRYPTOPP_LIBRARIES=cryptopp \
+ -DCRYPTOPP_LIBRARY_DIRS=${LOCALBASE}/lib \
+ -DCRYPTOPP_cryptopp_INCLUDEDIR=${LOCALBASE}/include/cryptopp \
+ -DCRYPTOPP_cryptopp_LIBDIR=${LOCALBASE}/lib \
+ -DCRYPTOPP_FOUND=1
+
+OPTIONS_DEFINE= AMAZON \
+ AUDIOCD \
+ BOX \
+ BREAKPAD \
+ DEVICEKIT \
+ DROPBOX \
+ GIO \
+ GOOGLE_DRIVE \
+ GPOD \
+ LASTFM \
+ MOODBAR \
+ MTP \
+ PULSEAUDIO \
+ SKYDRIVE \
+ VISUALISATION \
+ WIIMOTEDEV
OPTIONS_SUB= VISUALISATION
+AMAZON_DESC= Amazon Drive support
AUDIOCD_DESC= Devices: Audio CD support
-BREAKPAD_DESC= Crash reporting
BOX_DESC= Box Drive support
+BREAKPAD_DESC= Crash reporting
DEVICEKIT_DESC= Devices: DeviceKit backend
DROPBOX_DESC= Dropbox Support
GIO_DESC= Devices: GIO device backend
GOOGLE_DRIVE_DESC= Google Drive support
GPOD_DESC= iPod support
LASTFM_DESC= Support Last.fm service (requires ruby)
+MOODBAR_DESC= Moodbar Support
MTP_DESC= MTP device support
+PULSEAUDIO_DESC= Enable Pulseaudio Support
+SKYDRIVE_DESC= Microsoft SkyDrive Support
VISUALISATION_DESC= Visualisations from projectM
WIIMOTEDEV_DESC= Wiimote support
-MOODBAR_DESC= Moodbar Support
-OPTIONS_DEFAULT= AUDIOCD BOX DEVICEKIT DROPBOX GIO GOOGLE_DRIVE GPOD \
- LASTFM MTP VISUALISATION WIIMOTEDEV MOODBAR
-
-DROPBOX_CMAKE_ON= -DENABLE_DROPBOX=ON
-DROPBOX_CMAKE_OFF= -DENABLE_DROPBOX=OFF
-
-MOODBAR_CMAKE_ON= -DENABLE_MOODBAR=ON
-MOODBAR_CMAKE_OFF= -DENABLE_MOODBAR=OFF
+OPTIONS_DEFAULT= AMAZON \
+ AUDIOCD \
+ BOX \
+ DEVICEKIT \
+ DROPBOX \
+ GIO \
+ GOOGLE_DRIVE \
+ GPOD \
+ LASTFM \
+ MOODBAR \
+ MTP \
+ SKYDRIVE \
+ VISUALISATION \
+ WIIMOTEDEV
+
+AMAZON_CMAKE_ON= -DENABLE_AMAZON_CLOUD_DRIVE=ON
+AMAZON_CMAKE_OFF= -DENABLE_AMAZON_CLOUD_DRIVE=OFF
AUDIOCD_LIB_DEPENDS= libcdio.so:sysutils/libcdio
AUDIOCD_CMAKE_ON= -DENABLE_AUDIOCD=ON
AUDIOCD_CMAKE_OFF= -DENABLE_AUDIOCD=OFF
-BOX_CMAKE_ON= -DENABLE_BOX=ON
-BOX_CMAKE_OFF= -DENABLE_BOX=OFF
+BOX_BUILD_DEPENDS= google-sparsehash>=2.0.2:devel/google-sparsehash
+BOX_CMAKE_ON= -DENABLE_BOX=ON
+BOX_CMAKE_OFF= -DENABLE_BOX=OFF
BREAKPAD_CMAKE_ON= -DENABLE_BREAKPAD=ON
BREAKPAD_CMAKE_OFF= -DENABLE_BREAKPAD=OFF
@@ -86,28 +155,45 @@ BREAKPAD_CMAKE_OFF= -DENABLE_BREAKPAD=OFF
DEVICEKIT_CMAKE_ON= -DENABLE_DEVICEKIT=ON
DEVICEKIT_CMAKE_OFF= -DENABLE_DEVICEKIT=OFF
-GIO_USE= GNOME=glib20
-GIO_CMAKE_ON= -DENABLE_GIO=ON
-GIO_CMAKE_OFF= -DENABLE_GIO=OFF
+DROPBOX_BUILD_DEPENDS= google-sparsehash>=2.0.2:devel/google-sparsehash
+DROPBOX_CMAKE_ON= -DENABLE_DROPBOX=ON
+DROPBOX_CMAKE_OFF= -DENABLE_DROPBOX=OFF
+
+GIO_USE= GNOME=glib20
+GIO_CMAKE_ON= -DENABLE_GIO=ON
+GIO_CMAKE_OFF= -DENABLE_GIO=OFF
GOOGLE_DRIVE_BUILD_DEPENDS= google-sparsehash>=2.0.2:devel/google-sparsehash
GOOGLE_DRIVE_CMAKE_ON= -DENABLE_GOOGLE_DRIVE=ON
GOOGLE_DRIVE_CMAKE_OFF= -DENABLE_GOOGLE_DRIVE=OFF
-GPOD_LIB_DEPENDS= libgpod.so:audio/libgpod
-GPOD_CMAKE_ON= -DENABLE_LIBGPOD=ON
-GPOD_CMAKE_OFF= -DENABLE_LIBGPOD=OFF
+GPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \
+ libplist.so:devel/libplist \
+ libusbmuxd.so:comms/libusbmuxd
+GPOD_CMAKE_ON= -DENABLE_LIBGPOD=ON
+GPOD_CMAKE_OFF= -DENABLE_LIBGPOD=OFF
LASTFM_LIB_DEPENDS= liblastfm.so:audio/liblastfm
LASTFM_CMAKE_ON= -DENABLE_LIBLASTFM=ON
LASTFM_CMAKE_OFF= -DENABLE_LIBLASTFM=OFF
-MPT_LIB_DEPENDS= libmtp.so:multimedia/libmtp
-MTP_CMAKE_ON= -DENABLE_LIBMTP=ON
-MTP_CMAKE_OFF= -DENABLE_LIBMTP=OFF
+MOODBAR_CMAKE_ON= -DENABLE_MOODBAR=ON
+MOODBAR_CMAKE_OFF= -DENABLE_MOODBAR=OFF
+
+MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp
+MTP_CMAKE_ON= -DENABLE_LIBMTP=ON
+MTP_CMAKE_OFF= -DENABLE_LIBMTP=OFF
+
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+PULSEAUDIO_CMAKE_ON= -DENABLE_LIBPULSE=ON
+PULSEAUDIO_CMAKE_OFF= -DENABLE_LIBPULSE=OFF
+
+SKYDRIVE_BUILD_DEPENDS= google-sparsehash>=2.0.2:devel/google-sparsehash
+SKYDRIVE_CMAKE_ON= -DENABLE_SKYDRIVE=ON
+SKYDRIVE_CMAKE_OFF= -DENABLE_SKYDRIVE=OFF
VISUALISATION_CMAKE_ON= -DENABLE_VISUALISATIONS=ON
-VISUALISATION_CMAKE_OFF= -DENABLE_VISUALISATIONS=OFF
+VISUALISATION_CMAKE_OFF=-DENABLE_VISUALISATIONS=OFF
WIIMOTEDEV_CMAKE_ON= -DENABLE_WIIMOTEDEV=ON
WIIMOTEDEV_CMAKE_OFF= -DENABLE_WIIMOTEDEV=OFF