audio/musescore try to get portscout to report new versions

- MASTER_SITES here contains only the one release, so try to
   tell portscout to look above it (and hope it understands subdirs).
 - While here, pet portlint.
This commit is contained in:
Adriaan de Groot 2019-04-12 14:45:39 +00:00
parent dbe8dca813
commit 8420ea7b48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498720

View file

@ -6,7 +6,6 @@ DISTVERSION= 3.0.5
CATEGORIES= audio
MASTER_SITES= http://ftp.osuosl.org/pub/musescore/releases/MuseScore-${DISTVERSION}/
DISTNAME= MuseScore-${DISTVERSION}
NO_WRKSUBDIR= yes
MAINTAINER= adridg@FreeBSD.org
COMMENT= Free music composition & notation software
@ -26,15 +25,19 @@ USE_QT= core declarative gui widgets opengl concurrent designer help network \
scripttools svg sql printsupport testlib \
xml xmlpatterns \
buildtools_build linguisttools_build qmake_build uitools_build
# Each release gets a subdir containing the distfiles for that release,
# so hope that scanning the parent dir finds new ones.
PORTSCOUT= site:http://ftp.osuosl.org/pub/musescore/releases/
NO_WRKSUBDIR= yes
DATADIR= ${PREFIX}/share/mscore-${PORTVERSION:R}
ALL_TARGET= lrelease manpages all
INSTALLS_ICONS= yes
CMAKE_ARGS+= -DUSE_SYSTEM_FREETYPE="ON" \
-DBUILD_PORTMIDI=OFF \
-DBUILD_PCH=OFF \
-DDOWNLOAD_SOUNDFONT=OFF
DATADIR= ${PREFIX}/share/mscore-${PORTVERSION:R}
# WebEngine is only available on i386/amd64; defaults to ON there.
# If enabled on arches that don't have WebEngine, the build breaks.
OPTIONS_DEFINE= ALSA JACK PORTAUDIO PULSEAUDIO WEBENGINE