1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/audio/tomahawk/Makefile
Tobias C. Berner 0f583d8700 Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks and
Plasma5 ports

At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.

The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].

Changes to the KDE Ports needed by this:

Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
    handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
    Ports -- I chose to leave this out for now, as the diff is already large
    enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
    want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5

PR:             210667
Approved by:    portmgr, mat (mentor), rakuco (mentor)
Reviewed by:    mat, rakuco
Differential Revision:   https://reviews.freebsd.org/D6961
2016-08-24 08:20:31 +00:00

57 lines
1.5 KiB
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= tomahawk
PORTVERSION= 0.8.4
PORTREVISION= 2
CATEGORIES= audio
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-source, social, and smart music player
LICENSE= GPLv3
BUILD_DEPENDS= google-sparsehash>=2.0.2:devel/google-sparsehash \
websocketpp>=0.4.0:devel/websocketpp
RUN_DEPENDS= phonon-vlc>=0.6.1:multimedia/phonon-vlc
LIB_DEPENDS= libattica.so:x11-toolkits/attica \
liblucene++.so:textproc/luceneplusplus \
libboost_thread.so:devel/boost-libs \
libechonest.so:audio/libechonest \
libgnutls.so:security/gnutls \
libjreen.so:net-im/libjreen \
liblastfm.so:audio/liblastfm \
libqca.so:devel/qca \
libqjson.so:devel/qjson \
libqtkeychain.so:security/qtkeychain-qt4 \
libquazip.so:archivers/quazip \
libtag.so:audio/taglib
CMAKE_ARGS= -DBUILD_RELEASE="ON"
CXXFLAGS+= -Wno-cast-align -I${LOCALBASE}/include
GH_ACCOUNT= tomahawk-player
TELEPATHY_LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4
TELEPATHY_DESC= Configure Telepathy Settings
TELEPATHY_USES= kde:4
TELEPATHY_USE= KDE=kdelibs,automoc4
INSTALLS_ICONS= yes
OPTIONS_DEFAULT=
OPTIONS_DEFINE= TELEPATHY
OPTIONS_SUB= yes
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,} \
PORTVERSION=${PORTVERSION}
USES= cmake compiler:c++11-lib desktop-file-utils pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
USE_QT4= dbus designer gui linguist_build moc_build \
network phonon qmake_build qtestlib rcc_build \
sql-sqlite2 svg uic_build xml
.include <bsd.port.mk>