summaryrefslogtreecommitdiff
path: root/misc/orion/Makefile
blob: 068b4bfb668a3e653f279bd2c1c21068197d199b (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

PORTNAME=	orion
DISTVERSION=	1.6.7-12
DISTVERSIONSUFFIX=	-gec8400c
CATEGORIES=	misc

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	QML/C++-written desktop client for Twitch.tv

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

LIB_DEPENDS=	libmpv.so:multimedia/mpv

USES=		compiler:c++14-lang gl qmake qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	drac69
USE_QT=		core declarative graphicaleffects gui network quickcontrols2 svg widgets buildtools_build
USE_GL=		gl

PLIST_FILES=	bin/${PORTNAME} \
		share/applications/Orion.desktop \
		share/icons/hicolor/scalable/apps/${PORTNAME}.svgz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_DATA} ${WRKSRC}/distfiles/Orion.desktop ${STAGEDIR}${PREFIX}/share/applications/
	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
	${GZIP_CMD} ${GZIP} < ${WRKSRC}/distfiles/${PORTNAME}.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svgz

.include <bsd.port.mk>