gentoo-ebuilds/media-sound/bpmdetect/bpmdetect-0.7.0_pre20170810-r2.ebuild
Andreas Sturmlechner 232aaf6603
media-sound/bpmdetect: Fix build w/ cmake-4
Pending: https://github.com/Tatsh/bpmdetect/pull/7

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-02 21:47:04 +02:00

43 lines
899 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT=b13aac15904c1f821b1739d00445f49432705387
inherit cmake
DESCRIPTION="Automatic BPM detection utility"
HOMEPAGE="https://github.com/Tatsh/bpmdetect"
SRC_URI="https://github.com/Tatsh/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtwidgets:5
media-libs/flac:=
media-libs/libmad
media-libs/libvorbis
media-libs/portaudio
media-libs/taglib:=
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${P}-gcc-11.patch # git master
"${FILESDIR}"/${P}-fix-build-taglib2.patch # git master
"${FILESDIR}"/${P}-cmake4.patch # pending PR
)
src_install() {
einstalldocs
dobin "${BUILD_DIR}"/src/${PN}
}