blob: 696798fc4e49edf02b990d8c9091c54dbe870ad5 (
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
|
# $FreeBSD$
PORTNAME= minitube
PORTVERSION= 2.4
CATEGORIES= multimedia www
MAINTAINER= ports@FreeBSD.org
COMMENT= TV-like client for YouTube
USE_QT4= dbus gui network phonon script sql xml \
moc_build rcc_build imageformats_run
USES= qmake
USE_GITHUB= yes
GH_ACCOUNT= flaviotordini
QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} \
DEFINES+=APP_GOOGLE_API_KEY="${MINITUBE_GOOGLE_API_KEY}"
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USE= QT4=linguisttools_build
pre-everything::
@${CAT} ${PKGMESSAGE}
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>
|