openbsd-ports/www/minitube/Makefile
dcoppa 9b6c2dd22d Update to minitube-2.4
Minitube now uses the YouTube Data API v3: follow the README on how
to get an API key.

Help and OK sthen@
2015-05-21 05:52:10 +00:00

48 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.39 2015/05/21 05:52:10 dcoppa Exp $
COMMENT = standalone YouTube.com video browser/player
GH_ACCOUNT = flaviotordini
GH_PROJECT = minitube
GH_TAGNAME = 2.4
DISTNAME = ${GH_PROJECT}-${GH_TAGNAME}
CATEGORIES = www multimedia
HOMEPAGE = http://flavio.tordini.org/minitube
MAINTAINER = Paul Irofti <pirofti@openbsd.org>
# GPL v3
PERMIT_PACKAGE_CDROM = Yes
MODULES = x11/qt4
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c fontconfig
WANTLIB += freetype lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork
WANTLIB += lib/qt4/QtScript lib/qt4/QtSql lib/qt4/QtXml m
WANTLIB += phonon pthread stdc++
RUN_DEPENDS = multimedia/gstreamer-0.10/plugins-good \
multimedia/gstreamer-0.10/plugins-ffmpeg \
devel/desktop-file-utils \
x11/gtk+3,-guic
MAKE_FLAGS = CXX=${CXX} \
LINK=${CXX}
FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
NO_TEST = Yes
# Zap bogus non-ASCII characters that break the build
pre-configure:
perl -pi -e "s/[^[:ascii:]]//g" \
${WRKSRC}/src/aggregatevideosource.cpp
do-configure:
cd ${WRKDIST} && env -i ${CONFIGURE_ENV} \
${LOCALBASE}/bin/qmake4 PREFIX=${PREFIX}
.include <bsd.port.mk>