summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/mpc-qt/Makefile17
-rw-r--r--multimedia/mpc-qt/distinfo6
2 files changed, 14 insertions, 9 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>
diff --git a/multimedia/mpc-qt/distinfo b/multimedia/mpc-qt/distinfo
index 0040b58..871ed13 100644
--- a/multimedia/mpc-qt/distinfo
+++ b/multimedia/mpc-qt/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1492827621
+TIMESTAMP = 1497597838
SHA256 (mpc-qt.desktop) = 7694745aac0e52c050a6bc069a0686b025e509136919d985d3c4495eec0f1c9d
SIZE (mpc-qt.desktop) = 1270
-SHA256 (cmdrkotori-mpc-qt-0.0.0.s20170422-508ddd0_GH0.tar.gz) = e188e2738d9ec7f996cb15ecfdc4ca3fa51d9d19da4ae97b9d257493d8aab12f
-SIZE (cmdrkotori-mpc-qt-0.0.0.s20170422-508ddd0_GH0.tar.gz) = 240228
+SHA256 (cmdrkotori-mpc-qt-0.0.0.s20170616-999d18f_GH0.tar.gz) = 7fd9c37de32475804761e5d1eb683c3b47d96df1077f55dbe45880389f674d27
+SIZE (cmdrkotori-mpc-qt-0.0.0.s20170616-999d18f_GH0.tar.gz) = 156036
OpenPOWER on IntegriCloud