Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2013 22:55:59 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313554 - in head/audio: . tomahawk tomahawk/files
Message-ID:  <201303062255.r26Mtxdc099852@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Wed Mar  6 22:55:59 2013
New Revision: 313554
URL: http://svnweb.freebsd.org/changeset/ports/313554

Log:
  Tomahawk is a music player that fundamentally changes the way music is
  consumed and shared.
  
  It decouples the name of the song from the source it was shared from - and
  fulfills the request using all of your available sources.
  
  This creates a universal translation layer across music repositories,
  streaming services and geographic territories.
  
  WWW: http://www.tomahawk-player.org/

Added:
  head/audio/tomahawk/
  head/audio/tomahawk/Makefile   (contents, props changed)
  head/audio/tomahawk/distinfo   (contents, props changed)
  head/audio/tomahawk/files/
  head/audio/tomahawk/files/patch-src__libtomahawk__Source.cpp   (contents, props changed)
  head/audio/tomahawk/files/patch-src__main.cpp   (contents, props changed)
  head/audio/tomahawk/pkg-descr   (contents, props changed)
  head/audio/tomahawk/pkg-plist   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Wed Mar  6 22:55:05 2013	(r313553)
+++ head/audio/Makefile	Wed Mar  6 22:55:59 2013	(r313554)
@@ -763,6 +763,7 @@
     SUBDIR += timidity++-tcltk
     SUBDIR += timidity++-xaw
     SUBDIR += timidity++-xskin
+    SUBDIR += tomahawk
     SUBDIR += toolame
     SUBDIR += tosha
     SUBDIR += tracker

Added: head/audio/tomahawk/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/tomahawk/Makefile	Wed Mar  6 22:55:59 2013	(r313554)
@@ -0,0 +1,61 @@
+# Created by: Nicola Vitale <nivit@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	tomahawk
+PORTVERSION=	0.6.0
+#PORTREVISION=	0
+CATEGORIES=	audio
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Multi-source, social, and smart music player
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	clucene>=2.3.3.4:${PORTSDIR}/textproc/clucene
+LIB_DEPENDS=	attica:${PORTSDIR}/x11-toolkits/attica \
+		boost_thread:${PORTSDIR}/devel/boost-libs \
+		echonest:${PORTSDIR}/audio/libechonest \
+		jreen:${PORTSDIR}/net-im/jreen \
+		lastfm:${PORTSDIR}/audio/liblastfm \
+		qca:${PORTSDIR}/devel/qca \
+		qjson:${PORTSDIR}/devel/qjson \
+		quazip:${PORTSDIR}/archivers/quazip \
+		tag:${PORTSDIR}/audio/taglib
+RUN_DEPENDS=	phonon-vlc>=0.6.1:${PORTSDIR}/multimedia/phonon-vlc \
+		phonon-gstreamer>=4.6.3:${PORTSDIR}/multimedia/phonon-gstreamer \
+		qca-ossl>=2.0.0.b3_4:${PORTSDIR}/security/qca-ossl
+
+CMAKE_ARGS=	-DCMAKE_BUILD_TYPE:STRING="Release" \
+		-DCMAKE_COLOR_MAKEFILE:BOOL="OFF" \
+		-DWITH_BREAKPAD:BOOL="OFF" \
+		-DWITH_BUILD:STRING="Release"
+
+GH_ACCOUNT=	tomahawk-player
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	${DISTVERSION}
+GH_COMMIT=	2b8cc4f
+
+INSTALLS_ICONS=	yes
+
+OPTIONS_DEFINE=	QTWEETLIB
+OPTIONS_DEFAULT=	QTWEETLIB
+QTWEETLIB_DESC=	Enable Twitter SIP plugin
+
+USE_CMAKE=	yes
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+USE_PKGCONFIG=	build
+
+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.options.mk>
+
+.if ${PORT_OPTIONS:MQTWEETLIB}
+LIB_DEPENDS+=	QTweetLib:${PORTSDIR}/net/qtweetlib
+.else
+CMAKE_ARGS+=	-DWITH_QTweetLib:BOOL="OFF"
+.endif
+
+.include <bsd.port.mk>

Added: head/audio/tomahawk/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/tomahawk/distinfo	Wed Mar  6 22:55:59 2013	(r313554)
@@ -0,0 +1,2 @@
+SHA256 (tomahawk-0.6.0.tar.gz) = 62a4921ba876f192a6c46e800a3e3f874da276a9815fcbcb8f24cbb020e44ae2
+SIZE (tomahawk-0.6.0.tar.gz) = 6470677

Added: head/audio/tomahawk/files/patch-src__libtomahawk__Source.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/tomahawk/files/patch-src__libtomahawk__Source.cpp	Wed Mar  6 22:55:59 2013	(r313554)
@@ -0,0 +1,11 @@
+--- ./src/libtomahawk/Source.cpp.orig	2013-02-13 21:31:17.000000000 +0100
++++ ./src/libtomahawk/Source.cpp	2013-02-13 21:32:00.000000000 +0100
+@@ -148,7 +148,7 @@
+     m_avatar = new QPixmap( avatar );
+     m_fancyAvatar = 0;
+ 
+-    TomahawkUtils::Cache::instance()->putData( "Sources", 7776000000 /* 90 days */, m_username, ba );
++    TomahawkUtils::Cache::instance()->putData( "Sources", Q_INT64_C(7776000000) /* 90 days */, m_username, ba );
+     m_avatarUpdated = true;
+ }
+ 

Added: head/audio/tomahawk/files/patch-src__main.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/tomahawk/files/patch-src__main.cpp	Wed Mar  6 22:55:59 2013	(r313554)
@@ -0,0 +1,13 @@
+--- ./src/main.cpp.orig	2013-02-13 21:57:24.000000000 +0100
++++ ./src/main.cpp	2013-02-13 21:57:46.000000000 +0100
+@@ -34,8 +34,10 @@
+ 
+ #ifndef ENABLE_HEADLESS
+     #include "TomahawkSettingsGui.h"
++#ifdef WITH_BREAKPAD
+     #include "breakpad/BreakPad.h"
+ #endif
++#endif
+ 
+ 
+ #ifdef Q_OS_WIN

Added: head/audio/tomahawk/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/tomahawk/pkg-descr	Wed Mar  6 22:55:59 2013	(r313554)
@@ -0,0 +1,10 @@
+Tomahawk is a music player that fundamentally changes the way music is
+consumed and shared.
+
+It decouples the name of the song from the source it was shared from - and
+fulfills the request using all of your available sources.
+
+This creates a universal translation layer across music repositories,
+streaming services and geographic territories.
+
+WWW: http://www.tomahawk-player.org/

Added: head/audio/tomahawk/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/tomahawk/pkg-plist	Wed Mar  6 22:55:59 2013	(r313554)
@@ -0,0 +1,33 @@
+@comment $FreeBSD$
+bin/tomahawk
+lib/libtomahawk_account_google.so
+lib/libtomahawk_account_twitter.so
+lib/libtomahawk_account_xmpp.so
+lib/libtomahawk_account_zeroconf.so
+lib/libtomahawk_infoplugin_charts.so
+lib/libtomahawk_infoplugin_discogs.so
+lib/libtomahawk_infoplugin_echonest.so
+lib/libtomahawk_infoplugin_fdonotify.so
+lib/libtomahawk_infoplugin_hypem.so
+lib/libtomahawk_infoplugin_mpris.so
+lib/libtomahawk_infoplugin_musicbrainz.so
+lib/libtomahawk_infoplugin_musixmatch.so
+lib/libtomahawk_infoplugin_newreleases.so
+lib/libtomahawk_infoplugin_rovi.so
+lib/libtomahawk_infoplugin_spotify.so
+lib/libtomahawk_portfwd.so
+lib/libtomahawklib.so
+libexec/tomahawk_crash_reporter
+share/applications/tomahawk.desktop
+share/icons/hicolor/128x128-grayscale/apps/tomahawk.png
+share/icons/hicolor/128x128/apps/tomahawk.png
+share/icons/hicolor/16x16/apps/tomahawk.png
+share/icons/hicolor/256x256/apps/tomahawk.png
+share/icons/hicolor/32x32/apps/tomahawk.png
+share/icons/hicolor/512x512/apps/tomahawk.png
+share/icons/hicolor/64x64/apps/tomahawk.png
+share/icons/hicolor/scalable/apps/tomahawk.svg
+@dirrmtry share/icons/hicolor/128x128-grayscale/apps
+@dirrmtry share/icons/hicolor/128x128-grayscale
+@dirrmtry share/icons/hicolor/512x512/apps
+@dirrmtry share/icons/hicolor/512x512



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303062255.r26Mtxdc099852>