diff options
Diffstat (limited to 'multimedia/mpc-qt/Makefile')
-rw-r--r-- | multimedia/mpc-qt/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/multimedia/mpc-qt/Makefile b/multimedia/mpc-qt/Makefile index 94c7687..66ad30b 100644 --- a/multimedia/mpc-qt/Makefile +++ b/multimedia/mpc-qt/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= mpc-qt -DISTVERSION= 0.0.0.s20170422 +DISTVERSION= 0.0.0.s20170616 CATEGORIES= multimedia audio MASTER_SITES= https://aur.archlinux.org/cgit/aur.git/plain/${PORTNAME}.desktop?h=${PORTNAME}-git&id=b1a6b91&dummy=/:desktop DISTFILES= ${PORTNAME}.desktop:desktop @@ -16,23 +16,28 @@ LIB_DEPENDS= libmpv.so:multimedia/mpv USE_GITHUB= yes GH_ACCOUNT= cmdrkotori -GH_TAGNAME= 508ddd0 +GH_TAGNAME= 999d18f USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake -USE_QT5= qmake_build buildtools_build core dbus gui network widgets x11extras +USE_QT5= qmake_build buildtools_build linguisttools_build \ + core dbus gui network widgets x11extras USE_GL= gl CXXFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \ -D_DECLARE_C99_LDBL_MATH # XXX ports/193528 PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ - share/pixmaps/${PORTNAME}.png + share/pixmaps/${PORTNAME}.svg + +post-patch: + @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \ + ${WRKSRC}/platform/resources_paths.h do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/images/bitmaps/icon.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + ${INSTALL_DATA} ${WRKSRC}/images/icon/logo.svg \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.svg .include <bsd.port.mk> |