blob: 79c45f11f9df6cc9c65d67969643626b5a96d4ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $FreeBSD$
PORTNAME= mpc-qt
DISTVERSION= 0.0.0.s20170412
PORTREVISION= 1
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
LICENSE= GPLv2
LIB_DEPENDS= libmpv.so:multimedia/mpv
USE_GITHUB= yes
GH_ACCOUNT= cmdrkotori
GH_TAGNAME= 76fd545
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
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>
|