ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# 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>
|