55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.31 2017/07/30 16:06:20 espie Exp $
|
|
|
|
BROKEN-hppa = ICE on moc_qtsingleapplication.cxx
|
|
BROKEN-powerpc = libmscore/pitchspelling.h:56:42: error: enumerator value -1 is too large for underlying type 'char'
|
|
|
|
V = 2.1
|
|
REVISION = 1
|
|
COMMENT = WYSIWYG music notation software (MuseScore)
|
|
DISTNAME = MuseScore-${V}
|
|
PKGNAME = musescore-${V}
|
|
EXTRACT_SUFX = .zip
|
|
CATEGORIES = audio x11
|
|
|
|
HOMEPAGE = http://musescore.org/
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# GPLv2 only
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += Qt5Concurrent Qt5Core Qt5Designer Qt5Gui Qt5Help Qt5Network
|
|
WANTLIB += Qt5OpenGL Qt5PrintSupport Qt5Qml Qt5Quick Qt5QuickWidgets
|
|
WANTLIB += Qt5Sql Qt5Svg Qt5Test Qt5WebKit Qt5WebKitWidgets Qt5Widgets
|
|
WANTLIB += Qt5Xml Qt5XmlPatterns c freetype m ogg portaudio pthread
|
|
WANTLIB += sndfile vorbis vorbisfile z
|
|
WANTLIB += ${COMPILER_LIBCXX}
|
|
|
|
MASTER_SITES = http://ftp.osuosl.org/pub/musescore/releases/MuseScore-${V}/
|
|
|
|
MODULES = devel/cmake \
|
|
x11/qt5
|
|
|
|
BUILD_DEPENDS = audio/lame \
|
|
misc/findutils
|
|
|
|
LIB_DEPENDS = audio/portaudio-svn \
|
|
audio/libsndfile>=1.0.25p0 \
|
|
x11/qt5/qtdeclarative \
|
|
x11/qt5/qtsvg \
|
|
x11/qt5/qttools \
|
|
x11/qt5/qtwebkit \
|
|
x11/qt5/qtxmlpatterns
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
x11/gtk+3,-guic
|
|
|
|
CONFIGURE_ARGS =-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
|
|
-DBUILD_ALSA=OFF \
|
|
-DBUILD_JACK=OFF \
|
|
-DBUILD_PULSEAUDIO=OFF \
|
|
-DUSE_SYSTEM_FREETYPE=ON
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|