You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild

51 lines
953 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils scons-utils toolchain-funcs
DESCRIPTION="Automatic BPM detection utility"
HOMEPAGE="https://sourceforge.net/projects/bpmdetect"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND="media-libs/taglib
media-libs/id3lib
>=media-libs/fmod-4.25.07-r1:1
dev-qt/qtgui:4"
DEPEND="${RDEPEND}
sys-apps/sed
dev-util/scons
virtual/pkgconfig"
S=${WORKDIR}/${PN}
PATCHES=(
"${FILESDIR}/${P}-gcc44_and_fmodex_path.patch"
"${FILESDIR}/${P}-fix-buildsystem.patch"
"${FILESDIR}/${P}-fix-printf-format.patch"
)
src_configure() {
myscons=(
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
QTDIR="/usr/$(get_libdir)"
prefix="${D}/usr"
)
}
src_compile() {
escons "${myscons[@]}"
}
src_install() {
escons "${myscons[@]}" install
dodoc authors readme todo
}