freebsd-ports/multimedia/minitube/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

45 lines
1.2 KiB
Makefile

PORTNAME= minitube
DISTVERSION= 3.9.3
CATEGORIES= multimedia www
MAINTAINER= yuri@FreeBSD.org
COMMENT= TV-like client for YouTube
WWW= https://flavio.tordini.org/minitube
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:http:68b9cf0:flaviotordini_http/lib/http \
flaviotordini:idle:6aa092d:flaviotordini_idle/lib/idle \
flaviotordini:js:c026465:flaviotordini_js/lib/js \
flaviotordini:media:b2f5678:flaviotordini_media/lib/media \
flaviotordini:promises:e6e5653:flaviotordini_promises/lib/promises \
flaviotordini:updater:17b8f7b:flaviotordini_updater/lib/updater
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>