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.
32 lines
699 B
32 lines
699 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
COMMIT_ID="e412923f1f792408e8ae1096ca40fb5307ddfc74"
|
|
DESCRIPTION="Generate waveformjs.org compatible json data out of wav files"
|
|
HOMEPAGE="https://github.com/beschulz/wav2json"
|
|
SRC_URI="https://github.com/beschulz/wav2json/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}-${COMMIT_ID}/build"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="
|
|
dev-libs/boost:=
|
|
media-libs/libsndfile:="
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )
|
|
|
|
src_configure() {
|
|
tc-export CXX
|
|
}
|
|
|
|
src_install() {
|
|
dobin ../bin/Linux/wav2json
|
|
}
|