9f0d3229d3
- Add LICENSE_FILE - Mark BROKEN on 11.x+
59 lines
1.8 KiB
Makefile
59 lines
1.8 KiB
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lastfm-desktop
|
|
PORTVERSION= 2.1.36
|
|
PORTREVISION= 4
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= vg@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 tar:bzip2 gmake
|
|
USE_QT4= corelib 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=dbus,phonon-gst_run GNOME=gdkpixbuf2,glib20
|
|
VLC_DESC= Multimedia via Phonon-VLC
|
|
VLC_RUN_DEPENDS= phonon-vlc>=0.6.1:multimedia/phonon-vlc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 1100000
|
|
BROKEN= does not buld: Application.cpp:433:25: error: ordered comparison between pointer and zero ('void *' and 'int')
|
|
.endif
|
|
|
|
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 <bsd.port.post.mk>
|