blob: 70a75ffe68b5b6ea94cb030024c43d9b2106eeb7 (
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
40
41
|
# $FreeBSD$
PORTNAME= minitube
PORTVERSION= 2.5.2
CATEGORIES= multimedia www
MAINTAINER= ports@FreeBSD.org
COMMENT= TV-like client for YouTube
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= flaviotordini
USES= qmake
USE_GL= gl
USE_QT5= core dbus gui network phonon4 script sql widgets \
buildtools_build imageformats_run sql-sqlite3_run
QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} \
DEFINES+=APP_GOOGLE_API_KEY="${MINITUBE_GOOGLE_API_KEY}"
INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USE= QT5=linguisttools_build
pre-everything::
@${CAT} ${PKGMESSAGE}
post-patch:
# Remove BOM
@${REINPLACE_CMD} -e '1 s|^.*/|/|g' \
${WRKSRC}/src/aggregatevideosource.cpp
@${REINPLACE_CMD} -e 's|/usr/include|/usr/local/include|g' \
${WRKSRC}/minitube.pro
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro
.include <bsd.port.mk>
|