diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2016-09-28 23:55:44 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-09-28 23:55:44 +0000 |
commit | 0d887205305346bec58bd372917abfe4b38bbb22 (patch) | |
tree | 2638637f0beeac2e2b3de2c6dac04046a15c496a /multimedia/mpc-qt/Makefile | |
parent | e83cbd7b9f0214753785072f6e32d0ff24d26155 (diff) | |
download | ports-0d887205305346bec58bd372917abfe4b38bbb22.tar.gz ports-0d887205305346bec58bd372917abfe4b38bbb22.zip |
Notes
Diffstat (limited to 'multimedia/mpc-qt/Makefile')
-rw-r--r-- | multimedia/mpc-qt/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/multimedia/mpc-qt/Makefile b/multimedia/mpc-qt/Makefile new file mode 100644 index 000000000000..a811a87e8966 --- /dev/null +++ b/multimedia/mpc-qt/Makefile @@ -0,0 +1,42 @@ +# $FreeBSD$ + +PORTNAME= mpc-qt +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.0.s20160921 +CATEGORIES= multimedia audio +MASTER_SITES= https://aur.archlinux.org/cgit/aur.git/plain/mpc-qt.desktop?h=mpc-qt-git&id=b1a6b91&dummy=/:desktop +DISTFILES= mpc-qt.desktop:desktop +EXTRACT_ONLY= ${DISTFILES:N*\:desktop:C/:.*//} + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Qt 5 clone of Media Player Classic based on libmpv + +LICENSE= GPLv2 + +LIB_DEPENDS= libmpv.so:multimedia/mpv + +USE_GITHUB= yes +GH_ACCOUNT= cmdrkotori +GH_TAGNAME= e4c46f6 + +USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake +USE_QT5= qmake_build buildtools_build core 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 + +post-patch: + @${REINPLACE_CMD} '/-Werror/d' ${WRKSRC}/${PORTNAME}.pro + +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 + +.include <bsd.port.mk> |