audio/solfege: Revive port. Update to 3.23.5pre2

Since removing the port related to the python 2.7 EOL upstream
development picked up speed again adding support for python 3 as well
as other minor improvements.

- resurrect port and update to version 3.23.5pre2
- set maintainer to submitter

PR:		261915

Revert "audio/solfege: USES-= display"

This reverts commit 2b7586353b.
This commit is contained in:
Nuno Teixeira 2022-10-07 12:56:49 +01:00
parent 0d5ccc261d
commit 8fb47782c8
6 changed files with 1648 additions and 1 deletions

1
MOVED
View File

@ -13668,7 +13668,6 @@ audio/py-id3||2020-01-27|Has expired: Unmaintained, uses EOLed python27
audio/py-shout||2020-01-27|Has expired: Unmaintained, uses EOLed python27
audio/py-speex||2020-01-27|Has expired: Unmaintained, uses EOLed python27
audio/pytone||2020-01-27|Has expired: Unmaintained, uses EOLed python27
audio/solfege||2020-01-27|Has expired: Unmaintained, uses EOLed python27
audio/trommler||2020-01-27|Has expired: Unmaintained, uses EOLed python27
benchmarks/pybench||2020-01-27|Has expired: Unmaintained, uses EOLed python27
biology/pycogent||2020-01-27|Has expired: Unmaintained, uses EOLed python27

View File

@ -729,6 +729,7 @@
SUBDIR += snd
SUBDIR += sndio
SUBDIR += so-synth-lv2
SUBDIR += solfege
SUBDIR += somafm-cli
SUBDIR += sonata
SUBDIR += sonic-visualiser

53
audio/solfege/Makefile Normal file
View File

@ -0,0 +1,53 @@
PORTNAME= solfege
DISTVERSION= 3.23.5pre2
CATEGORIES= audio
MASTER_SITES= https://git.savannah.gnu.org/cgit/${PORTNAME}.git/snapshot/
PKGNAMESUFFIX= -nosound
MAINTAINER= m.ne@gmx.net
COMMENT= Free ear training software
WWW= https://www.gnu.org/software/solfege/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \
git>0:devel/git \
txt2man:textproc/txt2man
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
USES= autoreconf gettext gmake gnome makeinfo pathfix pkgconfig \
python:3.7+ shebangfix
USE_GNOME= pygobject3
SHEBANG_FILES= exercises/standard/lesson-files/bin/csound-play-harmonic-interval.sh
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-oss-sound \
--enable-docbook-stylesheet=${STYLESHEET}
CONFIGURE_ENV= ac_cv_path_XML2PO=""
MAKE_ARGS= nopycompile=YES \
skipmanual=yes
NO_ARCH= yes
# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT= limitw:1,even
STYLESHEET= ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl
post-patch:
@${REINPLACE_CMD} -e \
's|cp --parents|${PAX} -rw|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|type=sequencer-device|type=fake-synth| ; \
s|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/default.config
# @${FIND} ${WRKSRC} -name "*.py" | ${XARGS} ${REINPLACE_CMD} -e \
# 's|.*\(#!\).*|\1${PYTHON_CMD}|'
post-install:
@(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \
-d ${PREFIX} -f ${DATADIR_REL})
.include <bsd.port.mk>

3
audio/solfege/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1644611210
SHA256 (solfege-3.23.5pre2.tar.gz) = 023dd09ed1113b3459d71aad1dbc111450ff543f6cd357ebd4282d07c0e086cb
SIZE (solfege-3.23.5pre2.tar.gz) = 5211093

16
audio/solfege/pkg-descr Normal file
View File

@ -0,0 +1,16 @@
When you study music on high school, college or music conservatory, you
usually have to do ear training. Some of the exercises, like sight singing
is easy to do alone. But often you have to be at least two people, one
making questions, the other answering.
GNU Solfege tries to help out with this. Solfege is a computer program written
to help you practise the more simple and mechanical exercises on your own.
These are the exercises written so far:
* Recognise melodic and harmonic intervals
* Compare interval sizes
* Sing the intervals the computer asks for
* Identify chords
* Sing chords
* Scales
* Dictation
* Remembering rhythmic patterns

1575
audio/solfege/pkg-plist Normal file

File diff suppressed because it is too large Load Diff