blob: fd5ac59754e0747fee4f3413f1f37d277f407498 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Created by: Cezary Morga <cm@therek.net>
# $FreeBSD$
PORTNAME= quimup
PORTVERSION= 1.4.4
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}
DISTNAME= Quimup_${PORTVERSION}_source
MAINTAINER= cmangin@arobas.net
COMMENT= Qt5 client for MPD (the Music Player Daemon)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \
libtag.so:audio/taglib
USES= compiler:c++11-lang gl pkgconfig qmake qt:5
USE_QT= core gui network widgets buildtools_build
USE_GL= gl
WRKSRC= ${WRKDIR}/Quimup_${PORTVERSION}_source
CXXFLAGS+= -std=c++11
PLIST_FILES= bin/quimup \
share/pixmaps/quimup.png
DESKTOP_ENTRIES="Quimup" "MPD client" "quimup" "quimup" \
"Audio;AudioVideo;Qt;" true
post-patch:
@${REINPLACE_CMD} -e \
'/^#define get_time/d' ${WRKSRC}/src/qm_playlistview.h
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/qm_mpdcom.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/quimup ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/src/resources/mn_icon.png \
${STAGEDIR}${PREFIX}/share/pixmaps/quimup.png
.include <bsd.port.mk>
|