blob: 30cb84acf880291767138ffb16824e3d8eeb78ba (
plain)
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
40
41
42
43
|
# $FreeBSD$
PORTNAME= mpc-qt
DISTVERSION= 0.0.0.s20170618
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= 55cfb22
USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake
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}.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>
|