summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libkeyfinder/Manifest1
-rw-r--r--media-libs/libkeyfinder/libkeyfinder-2.2.7.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/libkeyfinder/Manifest b/media-libs/libkeyfinder/Manifest
index 7857618bbfd0..260feac4c665 100644
--- a/media-libs/libkeyfinder/Manifest
+++ b/media-libs/libkeyfinder/Manifest
@@ -1 +1,2 @@
DIST libkeyfinder-2.2.6.tar.gz 79371 BLAKE2B dbc1b531098686169cf358a631ce2dfd8d053df93cbcc31b4fd1320ee01f84e60f0b4e290d57b31f0ba09b7d81430574b98dbc4a181953119a732f019c437f48 SHA512 c1b771cebfb925db521a344e28fd1d3bc6e6e921e45dcc81f90926e5b2020fea201a4bc05a65177d3559208a45746fd7784eb6f37352bb10ab7d7b820b40c0b6
+DIST libkeyfinder-2.2.7.tar.gz 79462 BLAKE2B 48b788eb871a133d755a892cdf73a677c31979380f0c03d914bf310727dd49f0e4184b2d5020829e7f78f2ad843273b5f983509ff785adc70c425a4260111315 SHA512 b98672cb0cc00326e526b79e96a0e0a8805bcd87f3711247031ea5a4fcb6447627d5b9210197e1cf23fa7c27093649e9fc702f53ee17df00e90a7caf074681e8
diff --git a/media-libs/libkeyfinder/libkeyfinder-2.2.7.ebuild b/media-libs/libkeyfinder/libkeyfinder-2.2.7.ebuild
new file mode 100644
index 000000000000..a1080a7f5d67
--- /dev/null
+++ b/media-libs/libkeyfinder/libkeyfinder-2.2.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2019-2022 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
+}