openbsd-ports/audio/mscore/Makefile
2014-11-07 10:40:05 +00:00

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2014/11/07 10:40:05 ajacoutot Exp $
BROKEN-hppa = ICE on moc_qtsingleapplication.cxx
COMMENT = WYSIWYG music notation software (MuseScore)
DISTNAME = mscore-1.3
REVISION = 6
EXTRACT_SUFX = .tar.bz2
CATEGORIES = audio x11
SUBST_VARS += DISTNAME
SHARED_ONLY = Yes
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
HOMEPAGE = http://musescore.org/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += X11 c m portaudio pthread sndfile z
WANTLIB += lib/qt4/QtDesigner lib/qt4/QtGui lib/qt4/QtNetwork
WANTLIB += lib/qt4/QtScript lib/qt4/QtScriptTools lib/qt4/QtSvg
WANTLIB += lib/qt4/QtWebKit lib/qt4/QtXml lib/qt4/QtXmlPatterns
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mscore/}
MODULES = devel/cmake \
x11/qt4
# ICE building moc_qtsingleapplication.cxx with base gcc 4.2.1 on amd64.
# possible problems with ppc. unsure about other arch.
MODULES += gcc4
MODGCC4_ARCHS += *
MODGCC4_LANGS += c++
LIB_DEPENDS = audio/portaudio-svn \
audio/libsndfile>=1.0.25p0
RUN_DEPENDS = devel/desktop-file-utils
CONFIGURE_ARGS =-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DBUILD_JACK=OFF
WRKSRC = ${WRKDIST}/mscore
NO_TEST = Yes
.include <bsd.port.mk>