aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/liblastfm/Makefile35
-rw-r--r--audio/liblastfm/distinfo3
-rw-r--r--audio/liblastfm/files/patch-configure17
-rw-r--r--audio/liblastfm/pkg-descr4
-rw-r--r--audio/liblastfm/pkg-plist31
6 files changed, 91 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 66dbf497fe3e..f1e82e3b7064 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -369,6 +369,7 @@
SUBDIR += libmp3splt
SUBDIR += libmpcdec
SUBDIR += libmpd
+ SUBDIR += liblastfm
SUBDIR += libmtp
SUBDIR += libmusicbrainz
SUBDIR += libmusicbrainz3
diff --git a/audio/liblastfm/Makefile b/audio/liblastfm/Makefile
new file mode 100644
index 000000000000..2441c7ed1d3a
--- /dev/null
+++ b/audio/liblastfm/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: liblastfm
+# Date created: Wed Jan 1 00:48:58 EST 2006
+# Whom: Matt Tosto <datahead4@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= liblastfm
+PORTVERSION= 0.2.1
+CATEGORIES= audio
+MASTER_SITES= http://cdn.last.fm/src/
+
+MAINTAINER= datahead4@gmail.com
+COMMENT= Collection of libraries to help integrate Last.fm services
+
+LIB_DEPENDS= samplerate.1:${PORTSDIR}/audio/libsamplerate \
+ fftw3f.5:${PORTSDIR}/math/fftw3-float \
+ mad.2:${PORTSDIR}/audio/libmad
+
+USE_BZIP2= yes
+USE_RUBY= yes
+USE_GMAKE= yes
+USE_QT_VER= 4
+QT_COMPONENTS= corelib xml network sql gui qtestlib \
+ qmake_build moc_build rcc_build uic_build
+HAS_CONFIGURE= yes
+MAKE_JOBS_UNSAFE= yes
+
+USE_LDCONFIG= yes
+
+post-extract:
+ ${FIND} ${WRKSRC}/admin -type f | ${XARGS} \
+ ${REINPLACE_CMD} -e 's|\#\!\/usr\/bin\/ruby|\#\!\/usr\/local\/bin\/ruby|'
+
+.include <bsd.port.mk>
diff --git a/audio/liblastfm/distinfo b/audio/liblastfm/distinfo
new file mode 100644
index 000000000000..3c6a0997ac2e
--- /dev/null
+++ b/audio/liblastfm/distinfo
@@ -0,0 +1,3 @@
+MD5 (liblastfm-0.2.1.tar.bz2) = c849a5122f833090184c1a496350dcbc
+SHA256 (liblastfm-0.2.1.tar.bz2) = a8f816c5b1c624052912afd06351bbb29f876339ee216f5f2fec81740f09fdf9
+SIZE (liblastfm-0.2.1.tar.bz2) = 86083
diff --git a/audio/liblastfm/files/patch-configure b/audio/liblastfm/files/patch-configure
new file mode 100644
index 000000000000..fe11f333f4cd
--- /dev/null
+++ b/audio/liblastfm/files/patch-configure
@@ -0,0 +1,17 @@
+--- configure.orig 2009-04-20 20:20:03.000000000 -0500
++++ configure 2009-04-20 21:12:07.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+
+ source admin/utils.bash
+
+@@ -97,7 +97,7 @@
+ case `uname` in
+ Darwin)
+ [ $STATIC_LINK_3RDPARTIES_ON_MAC ] || other_args="CONFIG -= app_bundle";;
+- Linux)
++ Linux | FreeBSD)
+ other_args="CONFIG += warn_off";;
+ *)
+ #Windows, hopefullly
diff --git a/audio/liblastfm/pkg-descr b/audio/liblastfm/pkg-descr
new file mode 100644
index 000000000000..53db1bffd840
--- /dev/null
+++ b/audio/liblastfm/pkg-descr
@@ -0,0 +1,4 @@
+liblastfm is a collection of libraries to help you integrate Last.fm services
+into your rich desktop software. It depends on Qt 4.4.
+
+WWW: http://github.com/mxcl/liblastfm/tree/master
diff --git a/audio/liblastfm/pkg-plist b/audio/liblastfm/pkg-plist
new file mode 100644
index 000000000000..90e2c70e75fc
--- /dev/null
+++ b/audio/liblastfm/pkg-plist
@@ -0,0 +1,31 @@
+include/lastfm/UrlBuilder
+include/lastfm/Fingerprint
+include/lastfm/CompleteFingerprint
+include/lastfm/RadioStation
+include/lastfm/RadioTuner
+include/lastfm/Audioscrobbler
+include/lastfm/Scrobble
+include/lastfm/ScrobblePoint
+include/lastfm/Track
+include/lastfm/MutableTrack
+include/lastfm/Mbid
+include/lastfm/Artist
+include/lastfm/Album
+include/lastfm/FingerprintId
+include/lastfm/Playlist
+include/lastfm/Tag
+include/lastfm/User
+include/lastfm/AuthenticatedUser
+include/lastfm/Xspf
+include/lastfm/WsAccessManager
+include/lastfm/WsError
+include/lastfm/WsKeys
+include/lastfm/WsRequestBuilder
+include/lastfm/WsReply
+include/lastfm/WsDomElement
+include/lastfm/global.h
+lib/liblastfm.so
+lib/liblastfm.so.0
+lib/liblastfm.so.0.2
+lib/liblastfm.so.0.2.1
+@dirrm include/lastfm