openbsd-ports/www/minitube/Makefile
dcoppa 3e146c0eaf Update to minitube-1.2.
While here, fix the problem with missing icons.

"go ahead" jasper@
2010-10-23 09:23:09 +00:00

44 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2010/10/23 09:23:09 dcoppa Exp $
COMMENT = standalone YouTube.com video browser/player
DISTNAME = minitube-1.2
CATEGORIES = www multimedia
HOMEPAGE = http://flavio.tordini.org/minitube
MAINTAINER = Paul Irofti <pirofti@openbsd.org>, \
Jacob Meuser <jakemsr@openbsd.org>
# GPL v3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://flavio.tordini.org/files/minitube/
MODULES = x11/qt4
WANTLIB += QtDBus QtGui QtNetwork QtXml phonon
WANTLIB += c m pthread stdc++
RUN_DEPENDS = ::multimedia/gstreamer-0.10/plugins-base \
::multimedia/gstreamer-0.10/plugins-good \
::multimedia/gstreamer-0.10/plugins-bad \
::multimedia/gstreamer-0.10/plugins-ffmpeg \
:gnome-icon-theme-*:x11/gnome/icon-theme \
:desktop-file-utils-*:devel/desktop-file-utils
WRKDIST = ${WRKDIR}/minitube
FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
do-configure:
cd ${WRKDIST} && env -i ${CONFIGURE_ENV} qmake4 PREFIX=${PREFIX}
post-configure:
${SUBST_CMD} ${WRKSRC}/src/iconloader/qticonloader.cpp
.include <bsd.port.mk>