aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-06-16 08:39:47 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-06-16 08:39:47 +0000
commit152d9bcc1a403ef4fce3cf4bd30d3b807d057426 (patch)
tree6a324df9601cf30a2b65f52d01f492446c9735e1 /multimedia
parent6581f7a9809a60c65e9df97fab24fb22fec62541 (diff)
downloadports-152d9bcc1a403ef4fce3cf4bd30d3b807d057426.tar.gz
ports-152d9bcc1a403ef4fce3cf4bd30d3b807d057426.zip
multimedia/mpc-qt: update to 0.0.0.s20170616
Notes
Notes: svn path=/head/; revision=443673
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpc-qt/Makefile18
-rw-r--r--multimedia/mpc-qt/distinfo6
2 files changed, 14 insertions, 10 deletions
diff --git a/multimedia/mpc-qt/Makefile b/multimedia/mpc-qt/Makefile
index 9d4eefaf51da..66ad30b1916c 100644
--- a/multimedia/mpc-qt/Makefile
+++ b/multimedia/mpc-qt/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= mpc-qt
-DISTVERSION= 0.0.0.s20170422
-PORTREVISION= 1
+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
@@ -17,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 0040b58692d2..871ed13c0bc2 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