liblastfm is a collection of libraries to help you integrate Last.fm
services into your rich desktop software. It is officially supported software developed by Last.fm staff. This is the last prerequisite for Clementine. "import as-is, i've seen those ports too much" landry@
This commit is contained in:
parent
97f04c3710
commit
b3f9de7076
36
audio/liblastfm/Makefile
Normal file
36
audio/liblastfm/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/02/05 13:57:56 zhuk Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
COMMENT = Qt-based C++ library for the Last.fm webservices
|
||||
V = 1.0.6
|
||||
DISTNAME = $V
|
||||
PKGNAME = liblastfm-$V
|
||||
CATEGORIES = audio devel net
|
||||
|
||||
HOMEPAGE = http://github.com/lastfm/liblastfm
|
||||
MAINTAINER = Vadim Zhukov <persgray@gmail.com>
|
||||
|
||||
SHARED_LIBS = lastfm 0.0
|
||||
SHARED_LIBS += lastfm_fingerprint 0.0
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
# archives are stable but naming scheme sucks, thus DIST_SUBDIR
|
||||
MASTER_SITES = ${HOMEPAGE}/archive/
|
||||
DIST_SUBDIR = liblastfm
|
||||
WRKDIST = ${WRKDIR}/${PKGNAME}
|
||||
|
||||
WANTLIB = lib/qt4/QtDBus lib/qt4/QtNetwork lib/qt4/QtSql lib/qt4/QtXml
|
||||
WANTLIB += fftw3f c m pthread samplerate stdc++
|
||||
|
||||
LIB_DEPENDS = audio/libsamplerate \
|
||||
math/fftw3,float
|
||||
|
||||
MODULES = devel/cmake x11/qt4
|
||||
|
||||
.include <bsd.port.mk>
|
2
audio/liblastfm/distinfo
Normal file
2
audio/liblastfm/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (liblastfm/1.0.6.tar.gz) = OGN4gtup7CspriMmqAixJQi8g+H0lVXTvzDOLh90rBQ=
|
||||
SIZE (liblastfm/1.0.6.tar.gz) = 119566
|
15
audio/liblastfm/patches/patch-src_CMakeLists_txt
Normal file
15
audio/liblastfm/patches/patch-src_CMakeLists_txt
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_CMakeLists_txt,v 1.1.1.1 2013/02/05 13:57:56 zhuk Exp $
|
||||
--- src/CMakeLists.txt.orig Tue Nov 27 19:54:59 2012
|
||||
+++ src/CMakeLists.txt Tue Nov 27 19:58:55 2012
|
||||
@@ -1,7 +1,11 @@
|
||||
|
||||
+find_package(Threads REQUIRED)
|
||||
+
|
||||
add_definitions(${QT_DEFINITIONS})
|
||||
include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
|
||||
set(liblastfm_LIBRARIES
|
||||
+ c
|
||||
+ ${CMAKE_THREAD_LIBS_INIT}
|
||||
${QT_QTCORE_LIBRARY}
|
||||
${QT_QTNETWORK_LIBRARY}
|
||||
${QT_QTXML_LIBRARY}
|
3
audio/liblastfm/pkg/DESCR
Normal file
3
audio/liblastfm/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
liblastfm is a collection of libraries to help you integrate Last.fm
|
||||
services into your rich desktop software. It is officially supported
|
||||
software developed by Last.fm staff.
|
33
audio/liblastfm/pkg/PLIST
Normal file
33
audio/liblastfm/pkg/PLIST
Normal file
@ -0,0 +1,33 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/02/05 13:57:56 zhuk Exp $
|
||||
include/lastfm/
|
||||
include/lastfm/AbstractType.h
|
||||
include/lastfm/Album.h
|
||||
include/lastfm/Artist.h
|
||||
include/lastfm/Audioscrobbler.h
|
||||
include/lastfm/Auth.h
|
||||
include/lastfm/Chart.h
|
||||
include/lastfm/Fingerprint.h
|
||||
include/lastfm/FingerprintId.h
|
||||
include/lastfm/FingerprintableSource.h
|
||||
include/lastfm/InternetConnectionMonitor.h
|
||||
include/lastfm/Library.h
|
||||
include/lastfm/Mbid.h
|
||||
include/lastfm/NetworkAccessManager.h
|
||||
include/lastfm/NetworkConnectionMonitor.h
|
||||
include/lastfm/Playlist.h
|
||||
include/lastfm/RadioStation.h
|
||||
include/lastfm/RadioTuner.h
|
||||
include/lastfm/ScrobbleCache.h
|
||||
include/lastfm/ScrobblePoint.h
|
||||
include/lastfm/Tag.h
|
||||
include/lastfm/Tasteometer.h
|
||||
include/lastfm/Track.h
|
||||
include/lastfm/UrlBuilder.h
|
||||
include/lastfm/User.h
|
||||
include/lastfm/XmlQuery.h
|
||||
include/lastfm/Xspf.h
|
||||
include/lastfm/global.h
|
||||
include/lastfm/misc.h
|
||||
include/lastfm/ws.h
|
||||
@lib lib/liblastfm.so.${LIBlastfm_VERSION}
|
||||
@lib lib/liblastfm_fingerprint.so.${LIBlastfm_fingerprint_VERSION}
|
Loading…
x
Reference in New Issue
Block a user