summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-09-14 19:02:22 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-09-14 19:02:22 +0000
commitff5a99d439fd002489128594f16e3f462a889139 (patch)
tree093c89a9cf522a1522201a12feeebb1144aad3c1 /audio
parent- Add CELLSHADING and MP3 options (patches from official site). (diff)
Update to 1.3.2.11
Notes
Notes: svn path=/head/; revision=199497
Diffstat (limited to 'audio')
-rw-r--r--audio/last.fm/Makefile7
-rw-r--r--audio/last.fm/distinfo6
-rw-r--r--audio/last.fm/files/patch-src_rtaudioplayback-rtaudioplayback.cpp17
-rw-r--r--audio/last.fm/pkg-plist1
4 files changed, 22 insertions, 9 deletions
diff --git a/audio/last.fm/Makefile b/audio/last.fm/Makefile
index f1b503a46326..f35aeecbbe0b 100644
--- a/audio/last.fm/Makefile
+++ b/audio/last.fm/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= last.fm
-PORTVERSION= 1.3.1.0
+PORTVERSION= 1.3.2.11
CATEGORIES= audio net
-MASTER_SITES= http://static.last.fm/client/Linux/
+MASTER_SITES= http://cdn.last.fm/client/src/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= lofi@FreeBSD.org
@@ -36,7 +36,10 @@ USE_GCC=4.2+
post-patch:
${REINPLACE_CMD} -e 's|bash|sh|g' -e 's|qmake|${QMAKE}|g' \
-E -e 's|(.*"CONFIG-=debug")|\1 ${QMAKEFLAGS}|g' \
+ -e 's|function header|header()|g' \
+ -e 's|function middle|middle()|g' \
${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|linux\*|unix|g' ${WRKSRC}/src/src.pro
post-build:
cd ${WRKSRC}/src/output/RtAudio && \
diff --git a/audio/last.fm/distinfo b/audio/last.fm/distinfo
index 2af881739655..ce64447dec84 100644
--- a/audio/last.fm/distinfo
+++ b/audio/last.fm/distinfo
@@ -1,3 +1,3 @@
-MD5 (last.fm-1.3.1.0.src.tar.bz2) = 78d97b69a9ffe6133b94502e81a776a7
-SHA256 (last.fm-1.3.1.0.src.tar.bz2) = e33f575112b58050beb4c82d008c90c11e99308b6f9429a354a1980bd854436c
-SIZE (last.fm-1.3.1.0.src.tar.bz2) = 1348815
+MD5 (last.fm-1.3.2.11.src.tar.bz2) = fbbaec5cbc7417de342027935cf8d822
+SHA256 (last.fm-1.3.2.11.src.tar.bz2) = 6b8799853411ac1fe33e3594a9a0d47954416892ca61fcdbeffe921f5ff15419
+SIZE (last.fm-1.3.2.11.src.tar.bz2) = 1598181
diff --git a/audio/last.fm/files/patch-src_rtaudioplayback-rtaudioplayback.cpp b/audio/last.fm/files/patch-src_rtaudioplayback-rtaudioplayback.cpp
index 3e57ec73e6f3..3244cdb4caeb 100644
--- a/audio/last.fm/files/patch-src_rtaudioplayback-rtaudioplayback.cpp
+++ b/audio/last.fm/files/patch-src_rtaudioplayback-rtaudioplayback.cpp
@@ -1,7 +1,16 @@
---- src/output/RtAudio/rtaudioplayback.cpp.orig Tue Feb 6 00:09:15 2007
-+++ src/output/RtAudio/rtaudioplayback.cpp Tue Feb 6 00:09:41 2007
-@@ -204,7 +204,7 @@
- LOGL( 3, "Card ID " << settingsService()->soundCard() << " - translated to internal ID " << card );
+--- src/output/RtAudio/rtaudioplayback.cpp.orig 2007-09-13 13:46:07.000000000 +0200
++++ src/output/RtAudio/rtaudioplayback.cpp 2007-09-14 20:54:41.000000000 +0200
+@@ -157,7 +157,7 @@
+ #endif
+
+ #ifdef Q_WS_X11
+- l << "Alsa";
++ l << "OSS";
+ #endif
+
+ #ifdef Q_WS_MAC
+@@ -280,7 +280,7 @@
+ int card = internalSoundCardID( The::settings().soundCard() );
#ifdef Q_WS_X11
- api = RtAudio::LINUX_ALSA;
diff --git a/audio/last.fm/pkg-plist b/audio/last.fm/pkg-plist
index 4cd7479874c3..0c51436bd15b 100644
--- a/audio/last.fm/pkg-plist
+++ b/audio/last.fm/pkg-plist
@@ -13,6 +13,7 @@ bin/last.fm
%%DATADIR%%/data/buttons/action_upload.png
%%DATADIR%%/data/buttons/action_upload_down.png
%%DATADIR%%/data/buttons/action_upload_hover.png
+%%DATADIR%%/data/buttons/addToMyPlaylist.png
%%DATADIR%%/data/buttons/ban.png
%%DATADIR%%/data/buttons/closebutton.png
%%DATADIR%%/data/buttons/love.png