mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
6b60b57cbd
Note: This release uses Qt5 now instead of Qt4
42 lines
923 B
Makefile
42 lines
923 B
Makefile
# $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>
|