blob: fcd734ca749ef508aef03ecf5a9330054835da02 (
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
44
|
PORTNAME= minitube
DISTVERSION= 3.8
CATEGORIES= multimedia www
MAINTAINER= yuri@FreeBSD.org
COMMENT= TV-like client for YouTube
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpv.so:multimedia/mpv
USES= compiler:c++11-lang gl qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= flaviotordini
GH_TUPLE= \
flaviotordini:idle:6aa092da64a011e445bf31cf31c0cd8dda4c64ff:flaviotordini_idle/lib/idle \
flaviotordini:media:edfcc8cb7104e95b060b955dcf0eb871df7ecbbf:flaviotordini_media/lib/media \
flaviotordini:http:b85c56407733f6f562f6cb25df137611f843f114:flaviotordini_http/lib/http \
flaviotordini:updater:18ce1d09fda792d9f4bb8fe91409a79cdae84fe1:flaviotordini_updater/lib/updater \
flaviotordini:js:312d5969f856cbbb1bbd86f2f14471a51999cd9c:flaviotordini_js/lib/js
USE_GL= gl
USE_QT= core dbus declarative gui network script sql widgets \
buildtools_build imageformats_run sql-sqlite3_run \
x11extras
QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} \
DEFINES+=APP_GOOGLE_API_KEY="${MINITUBE_GOOGLE_API_KEY}"
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USE= QT=linguisttools_build
post-patch:
# Remove BOM
@${REINPLACE_CMD} -e '1 s|^.*/|/|g' \
${WRKSRC}/src/aggregatevideosource.cpp
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro
.include <bsd.port.mk>
|