diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /media-sound/jack_capture/jack_capture-9999.ebuild | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'media-sound/jack_capture/jack_capture-9999.ebuild')
-rw-r--r-- | media-sound/jack_capture/jack_capture-9999.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-sound/jack_capture/jack_capture-9999.ebuild b/media-sound/jack_capture/jack_capture-9999.ebuild new file mode 100644 index 000000000000..d6cc0bd70915 --- /dev/null +++ b/media-sound/jack_capture/jack_capture-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils toolchain-funcs git-r3 + +DESCRIPTION="JACK Recording utility" +HOMEPAGE="https://github.com/kmatheussen/jack_capture" +EGIT_REPO_URI="https://github.com/kmatheussen/jack_capture.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="mp3 ogg osc" + +CDEPEND=" + media-libs/libsndfile + virtual/jack + mp3? ( media-sound/lame ) + ogg? ( media-libs/libogg ) + osc? ( media-libs/liblo ) +" +RDEPEND="${CDEPEND}" +DEPEND="${CDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-0.9.73-Makefile.patch" +) + +DOCS=( README config ) + +src_prepare() { + default + + use ogg || sed -i -e 's/HAVE_OGG 1/HAVE_OGG 0/' gen_das_config_h.sh + use mp3 || sed -i -e 's/HAVE_LAME 1/HAVE_LAME 0/' -e '/COMPILEFLAGS -lmp3lame/d' gen_das_config_h.sh + use osc || sed -i -e 's/HAVE_LIBLO 1/HAVE_LIBLO 0/' -e '/COMPILEFLAGS .* liblo/d' gen_das_config_h.sh +} + +src_compile() +{ + tc-export CC CXX + + emake PREFIX="${EPREFIX}/usr" jack_capture +} + +src_install() +{ + dobin jack_capture + + dodoc "${DOCS[@]}" +} |