summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libkeyfinder/Manifest1
-rw-r--r--media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/libkeyfinder/Manifest b/media-libs/libkeyfinder/Manifest
index b28734f8163f..201375747f76 100644
--- a/media-libs/libkeyfinder/Manifest
+++ b/media-libs/libkeyfinder/Manifest
@@ -1 +1,2 @@
DIST libkeyfinder-2.2.7.tar.gz 79462 BLAKE2B 48b788eb871a133d755a892cdf73a677c31979380f0c03d914bf310727dd49f0e4184b2d5020829e7f78f2ad843273b5f983509ff785adc70c425a4260111315 SHA512 b98672cb0cc00326e526b79e96a0e0a8805bcd87f3711247031ea5a4fcb6447627d5b9210197e1cf23fa7c27093649e9fc702f53ee17df00e90a7caf074681e8
+DIST libkeyfinder-2.2.8.tar.gz 79473 BLAKE2B 9341a6d93742516ba213503414c359123b2313134a603ed621a6c7e99e77dbd6f38ad986758d9736c7083fec505c6a1495541a38d825c0d0015e86fa9baa3b3c SHA512 31d86715172b62dd72b122a8d480db4598731b87ca58522ad797116acfcbc53b8ecf8fe7eb2b129857b5044b27d32dda9e03927e0a27f8edcdc5d6ce607a76eb
diff --git a/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild b/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild
new file mode 100644
index 000000000000..7b2991afb273
--- /dev/null
+++ b/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Musical key detection library for digital audio"
+HOMEPAGE="https://github.com/mixxxdj/libkeyfinder"
+SRC_URI="https://github.com/mixxxdj/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+ sci-libs/fftw:3.0
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e "s/NAMES fftw /NAMES /" \
+ cmake/FindFFTW3.cmake || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=OFF
+ )
+
+ cmake_src_configure
+}