Index | Thread | Search

From:
Raphael Graf <r@undefined.ch>
Subject:
[maintainer update] audio/keyfinder-cli 1.1.2 -> 1.1.4
To:
ports@openbsd.org
Date:
Mon, 1 Sep 2025 12:34:54 +0200

Download raw body.

Thread
This updates audio/keyfinder-cli to the latest version 1.1.4.

Some bugs have been fixed and the build system has changed to cmake.
This version might fix the current build failure on spark64.

ok?



Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/keyfinder-cli/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile	17 May 2025 17:38:35 -0000	1.1.1.1
+++ Makefile	1 Sep 2025 10:32:04 -0000
@@ -2,7 +2,7 @@ COMMENT =	 	estimate the musical key of 
 
 GH_ACCOUNT =		EvanPurkhiser
 GH_PROJECT =		keyfinder-cli
-GH_TAGNAME =		v1.1.2
+GH_TAGNAME =		v1.1.4
 
 CATEGORIES =		audio
 
@@ -17,10 +17,12 @@ WANTLIB += keyfinder m swresample
 # C++11
 COMPILER =		base-clang ports-gcc
 
+MODULES =		devel/cmake
+
 LIB_DEPENDS =		audio/libkeyfinder \
 			graphics/ffmpeg
 
-MAKE_FLAGS =		MANDIR="${LOCALBASE}/man"
+CONFIGURE_ARGS =	-DCMAKE_INSTALL_MANDIR=${PREFIX}/man/man1
 
 NO_TEST =		Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/keyfinder-cli/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo	17 May 2025 17:38:35 -0000	1.1.1.1
+++ distinfo	1 Sep 2025 10:32:04 -0000
@@ -1,2 +1,2 @@
-SHA256 (keyfinder-cli-1.1.2.tar.gz) = FEU5zX/uIj3KOgUkNcGy3wq4uMMXB1Psx/nE2RXSuwc=
-SIZE (keyfinder-cli-1.1.2.tar.gz) = 18494
+SHA256 (keyfinder-cli-1.1.4.tar.gz) = eCbqsQO/klgEzWtSKo5hzcUeiZkXcORst2X41/f8OAk=
+SIZE (keyfinder-cli-1.1.4.tar.gz) = 18624
Index: patches/patch-Makefile
===================================================================
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile	17 May 2025 17:38:35 -0000	1.1.1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,28 +0,0 @@
-Upstream commit 5728bdb139fc034cbd79ecade38ac4052cd7ee5e
-
-Index: Makefile
---- Makefile.orig
-+++ Makefile
-@@ -1,13 +1,17 @@
--PREFIX=/usr/local
-+PREFIX = /usr/local
-+MANDIR = ${PREFIX}/share/man
-+CXXFLAGS != pkg-config --cflags --libs fftw3 libavcodec libavformat libavutil libswresample libkeyfinder
- 
-+all: keyfinder-cli
-+
- keyfinder-cli: keyfinder_cli.cpp key_notations.h
--	$(CXX) $< -std=c++11 -Wall -lkeyfinder -lavcodec -lavformat -lavutil -lswresample -lfftw3 -o $@
-+	${CXX} keyfinder_cli.cpp -std=c++11 -Wall ${CXXFLAGS} -o $@
- 
- install: keyfinder-cli keyfinder-cli.1
- 	install -d "${DESTDIR}${PREFIX}/bin"
- 	install -m 755 keyfinder-cli "${DESTDIR}${PREFIX}/bin/keyfinder-cli"
--	install -d "${DESTDIR}${PREFIX}/share/man/man1"
--	install -m 644 keyfinder-cli.1 "${DESTDIR}${PREFIX}/share/man/man1/keyfinder-cli.1"
-+	install -d "${DESTDIR}${MANDIR}/man1"
-+	install -m 644 keyfinder-cli.1 "${DESTDIR}${MANDIR}/man1/keyfinder-cli.1"
- 
- clean:
--	rm keyfinder-cli
-+	rm -f keyfinder-cli