# Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= lastfm-desktop PORTVERSION= 2.1.36 PORTREVISION= 5 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org COMMENT= Official Last.fm desktop application suite LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblastfm.so:audio/liblastfm \ libavcodec.so:multimedia/ffmpeg \ libgpod.so:audio/libgpod \ libimobiledevice.so:comms/libimobiledevice \ libplist.so:devel/libplist USE_GITHUB= yes GH_ACCOUNT= lastfm USES= gettext pkgconfig qmake gmake USE_QT4= corelib dbus gui linguist_build moc_build network phonon \ rcc_build sql uic_build webkit xml SUB_FILES= lastfm-desktop.sh DESKTOP_ENTRIES="Last.fm Scrobbler" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/audioscrobbler.ico" \ "lastfm-desktop" \ "AudioVideo;Audio;Qt;" \ true OPTIONS_SINGLE= PHONON OPTIONS_SINGLE_PHONON= GSTREAMER VLC OPTIONS_DEFAULT= VLC GSTREAMER_DESC= Multimedia via Phonon-GStreamer GSTREAMER_USE= QT4=phonon-gst_run VLC_DESC= Multimedia via Phonon-VLC VLC_RUN_DEPENDS= phonon-vlc>=0.6.1:multimedia/phonon-vlc do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/lastfm-desktop.sh ${STAGEDIR}${PREFIX}/bin/lastfm-desktop ${INSTALL_PROGRAM} ${WRKSRC}/_bin/fingerprinter ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/_bin/lastfm-scrobbler ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/app/client/Last.fm\ Scrobbler.css ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/app/client/audioscrobbler.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ (cd ${WRKSRC}/app/client && ${COPYTREE_SHARE} qrc ${STAGEDIR}${DATADIR}) .include