freebsd-ports/audio/clementine-player/Makefile

73 lines
1.7 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: clementine-player
# Date created: 2010-03-23
# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#
PORTNAME= clementine
PORTVERSION= 1.0.0
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= -player
MAINTAINER= g.veniamin@googlemail.com
COMMENT= A cross-platform music player based on Amarok 1.4
LICENSE= GPLv3
LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib \
notify.4:${PORTSDIR}/devel/libnotify \
- Update multimedia/libxine to 1.2.1 with a commit merged from hg to fix DVB support. (which still is broken for tuners using hardware pid filtering, like when running webcamd with "-m dvb-usb-init.force_pid_filter_usage=1".) - Add patches to fix build of ports depending on libxine to: audio/amarok, graphics/gimageview [1], graphics/pornview [1], graphics/osg [2], graphics/osg-devel [2], multimedia/emotion, x11/kdelibs4 [3], multimedia/kmplayer, multimedia/konverter, multimedia/qdvdauthor [4], multimedia/vdr-plugin-xineliboutput, multimedia/xfce4-media [5], multimedia/xine_artsplugin, multimedia/k9copy-kde4 [6] - Fix RUN_DEPENDS= xine... which should be LIB_DEPENDS for audio/atunes . [7] - Mark multimedia/phonon-xine BROKEN which refuses to build with libxine 1.2.x and is deprecated upstream. [3] - Disable XINE knob for x11/eaglemode for which I don't have a fix. [2] - Note: multimedia/kaffeine runs after rakuco's x11/kdelibs4 fix, but it only shows a green window at least with mp4 or ts files. (avi files and audio still work.) It seems the kaffeine developers have found this too and are now switching away from libxine in their git repo - so I guess we'll have a broken kaffeine at least until they release a new version. - Bump PORTREVISIONs for ports depending on libxine by default. - Add optional libbluray support to multimedia/libxine and multimedia/vdr-plugin-xineliboutput. PR: ports/165057 [6] Submitted by: nox (self) [6], rakuco [3] Approved by: dinoex (maintainer, via irc) [1], amdmi3 (maintainer, via private email) [2], kde@ (rakuco, via irc) [3], Phil Oleson <oz@nixil.net> (maintainer, via private email) [4], xfce@ (rene, via irc) [5], Eduardo Gielamo Oliveira <egoliveira@gmail.com> (maintainer) [6], lme (maintainer, via irc) [7] Thanx to: Darren Salt (upstream libxine maintainer) for a few hints on irc to help with patching ports depending on deprecated libxine features
2012-02-26 16:22:37 +01:00
xine.2:${PORTSDIR}/multimedia/libxine \
qjson.0:${PORTSDIR}/devel/qjson
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
PROJECTHOST= ${PORTNAME}${PKGNAMESUFFIX}
USE_CMAKE= yes
USE_ICONV= yes
USE_GL= glew
USE_QT4= 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 vorbis
MAKE_JOBS_UNSAFE= yes
CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib"
OPTIONS= VISUALISATION "Visualisations from projectM" off \
LASTFM "Support Last.fm service (requires ruby)" on \
GPOD "iPod support" on \
MTP "MTP device support" on
.include <bsd.port.pre.mk>
.if defined(WITH_VISUALISATION)
PLIST_SUB+= VSL=""
.else
CMAKE_ARGS+= -DENABLE_VISUALISATIONS=OFF
PLIST_SUB+= VSL="@comment "
.endif
.if defined(WITH_LASTFM)
LIB_DEPENDS+= lastfm.0:${PORTSDIR}/audio/liblastfm
.else
CMAKE_ARGS+= -DENABLE_LIBLASTFM=Off
.endif
.if defined(WITH_GPOD)
LIB_DEPENDS+= gpod.7:${PORTSDIR}/audio/libgpod
.else
CMAKE_ARGS+= -DENABLE_LIBGPOD=Off
.endif
.if defined(WITH_MTP)
2012-05-25 17:14:39 +02:00
LIB_DEPENDS+= mtp.9:${PORTSDIR}/audio/libmtp
.else
CMAKE_ARGS+= -DENABLE_LIBMTP=Off
.endif
.include <bsd.port.post.mk>