diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-04-30 17:14:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-04 22:17:08 +0000 |
commit | aa97c3df1c9977df01e201ea5de2e243c4d50133 (patch) | |
tree | 28835787b8b627daf46d424eb76addb9393774ad /media-sound/wav2json/wav2json-0.4.ebuild | |
parent | media-gfx/iscan-plugin-esdip: Set QA_PREBUILT (diff) | |
download | gentoo-aa97c3df1c9977df01e201ea5de2e243c4d50133.tar.gz gentoo-aa97c3df1c9977df01e201ea5de2e243c4d50133.tar.bz2 gentoo-aa97c3df1c9977df01e201ea5de2e243c4d50133.zip |
media-sound/wav2json: Respect CFLAGS/LDFLAGS/CXX
Closes: https://bugs.gentoo.org/727778
Closes: https://bugs.gentoo.org/724844
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/wav2json/wav2json-0.4.ebuild')
-rw-r--r-- | media-sound/wav2json/wav2json-0.4.ebuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/media-sound/wav2json/wav2json-0.4.ebuild b/media-sound/wav2json/wav2json-0.4.ebuild index 6907ef34757d..9929abd646df 100644 --- a/media-sound/wav2json/wav2json-0.4.ebuild +++ b/media-sound/wav2json/wav2json-0.4.ebuild @@ -1,26 +1,31 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +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 +S="${WORKDIR}/${PN}-${COMMIT_ID}/build" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" DEPEND=" dev-libs/boost:= - media-libs/libsndfile -" + media-libs/libsndfile:=" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}"/${P}-Makefile.patch ) + +src_configure() { + tc-export CXX +} + src_install() { dobin ../bin/Linux/wav2json } |