summaryrefslogtreecommitdiff
path: root/audio/solfege
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2020-08-09 09:04:54 +0000
committerschmonz <schmonz@pkgsrc.org>2020-08-09 09:04:54 +0000
commit5c0c8a3977d1a09406a6df945b200de101d9677b (patch)
tree78f0edf6e8e130c064740ffc5b7a25eef310f39e /audio/solfege
parent19f6c79e674bc30892bffdfadc767c13af88e1de (diff)
downloadpkgsrc-5c0c8a3977d1a09406a6df945b200de101d9677b.tar.gz
Add missing dependency on py-sqlite3. On macOS, add dependency on
timidity for MIDI, and remove the one on vorbis-tools (I've never needed to try playing an .ogg in GNU Solfege). Basic functionality once again works nearly by default on macOS, modulo needing to install patches for timidity. Bump PKGREVISION.
Diffstat (limited to 'audio/solfege')
-rw-r--r--audio/solfege/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/solfege/Makefile b/audio/solfege/Makefile
index 7d4a0d1f5e2..53508c70f40 100644
--- a/audio/solfege/Makefile
+++ b/audio/solfege/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.76 2020/07/08 13:57:42 schmonz Exp $
+# $NetBSD: Makefile,v 1.77 2020/08/09 09:04:54 schmonz Exp $
DISTNAME= solfege-3.22.2
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GNU:=solfege/}
EXTRACT_SUFX= .tar.xz
@@ -11,6 +11,8 @@ HOMEPAGE= https://www.gnu.org/software/solfege/
COMMENT= Practice several musical ear training exercises
LICENSE= gnu-gpl-v3
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
BUILD_DEPENDS+= txt2man-[0-9]*:../../converters/txt2man
@@ -37,7 +39,7 @@ SUBST_VARS.sound= WAVPLAYER
SUBST_VARS.sound+= MIDIPLAYER
SUBST_VARS.sound+= MP3PLAYER
SUBST_VARS.sound+= OGGPLAYER
-SUBST_MESSAGE.sound= Setting default audio player.
+SUBST_MESSAGE.sound= Setting default audio players.
EGDIR= ${PREFIX}/share/examples/solfege
CONF_FILES+= ${EGDIR}/solfege ${PKG_SYSCONFDIR}/solfege
@@ -54,10 +56,10 @@ MP3PLAYER= ${PREFIX}/bin/mpg123
OGGPLAYER= ${PREFIX}/bin/ogg123
.elif ${OPSYS} == "Darwin"
WAVPLAYER= /usr/bin/afplay
-MIDIPLAYER= /usr/bin/afplay
+DEPENDS+= timidity-[0-9]*:../../audio/timidity
+MIDIPLAYER= ${PREFIX}/bin/timidity
MP3PLAYER= /usr/bin/afplay
OGGPLAYER= ${PREFIX}/bin/ogg123
-DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools
.endif
post-install: