aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpc-qt
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-08-20 13:41:45 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-08-20 13:41:45 +0000
commit969203ee46f25bed6d6d804d3c92851984ce4058 (patch)
treebacb2c8a7c7627b574738460ce4a38849a2a149f /multimedia/mpc-qt
parentf481bad3d4374e914990b3fd76dd7fc2c9ab9058 (diff)
downloadports-969203ee46f25bed6d6d804d3c92851984ce4058.tar.gz
ports-969203ee46f25bed6d6d804d3c92851984ce4058.zip
Notes
Diffstat (limited to 'multimedia/mpc-qt')
-rw-r--r--multimedia/mpc-qt/Makefile22
-rw-r--r--multimedia/mpc-qt/distinfo10
-rw-r--r--multimedia/mpc-qt/pkg-plist6
3 files changed, 14 insertions, 24 deletions
diff --git a/multimedia/mpc-qt/Makefile b/multimedia/mpc-qt/Makefile
index c9f2f7dbe415..33c3ef29fe4b 100644
--- a/multimedia/mpc-qt/Makefile
+++ b/multimedia/mpc-qt/Makefile
@@ -2,11 +2,9 @@
PORTNAME= mpc-qt
DISTVERSIONPREFIX= v
-DISTVERSION= 17.08
+DISTVERSION= 17.08-13
+DISTVERSIONSUFFIX= -gaf00b5b
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
-EXTRACT_ONLY= ${DISTFILES:N*\:desktop:C/:.*//}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Qt 5 clone of Media Player Classic based on libmpv
@@ -17,6 +15,7 @@ LIB_DEPENDS= libmpv.so:multimedia/mpv
USE_GITHUB= yes
GH_ACCOUNT= cmdrkotori
+GH_TUPLE= Argon-:mpv-stats:1.1-24-g6a37a6d:mpv_stats/external/mpv-stats
USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake
USE_QT5= qmake_build buildtools_build linguisttools_build \
@@ -24,20 +23,5 @@ USE_QT5= qmake_build buildtools_build linguisttools_build \
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}.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/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 83fc605c28c9..92db71418c61 100644
--- a/multimedia/mpc-qt/distinfo
+++ b/multimedia/mpc-qt/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1502557964
-SHA256 (mpc-qt.desktop) = 7694745aac0e52c050a6bc069a0686b025e509136919d985d3c4495eec0f1c9d
-SIZE (mpc-qt.desktop) = 1270
-SHA256 (cmdrkotori-mpc-qt-v17.08_GH0.tar.gz) = 16a81194baaf10884764423a2bfc2f39860515dfb62e29cefcbe0d8f2d9dc27d
-SIZE (cmdrkotori-mpc-qt-v17.08_GH0.tar.gz) = 162691
+TIMESTAMP = 1503233282
+SHA256 (cmdrkotori-mpc-qt-v17.08-13-gaf00b5b_GH0.tar.gz) = 81c31c571ac2ec0bdafb303175fc509969e985e5ed28cf4d7ae2a42c1510a752
+SIZE (cmdrkotori-mpc-qt-v17.08-13-gaf00b5b_GH0.tar.gz) = 163383
+SHA256 (Argon--mpv-stats-1.1-24-g6a37a6d_GH0.tar.gz) = 4b180ea8f4f45bb8d822745b32d22d61b09204a2d192543429a562801f3af650
+SIZE (Argon--mpv-stats-1.1-24-g6a37a6d_GH0.tar.gz) = 15179
diff --git a/multimedia/mpc-qt/pkg-plist b/multimedia/mpc-qt/pkg-plist
new file mode 100644
index 000000000000..1afdb317d7ea
--- /dev/null
+++ b/multimedia/mpc-qt/pkg-plist
@@ -0,0 +1,6 @@
+bin/mpc-qt
+share/applications/mpc-qt.desktop
+%%PORTDOCS%%%%DOCSDIR%%/ipc.md
+share/icons/hicolor/scalable/apps/mpc-qt.svg
+%%DATADIR%%/scripts/stats.lua
+%%DATADIR%%/translations/mpc-qt_it.qm