blob: dd823bfd76a1ea8be714d37a98b6cd65a8bbe588 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg
DESCRIPTION="GTK+ Sound file editor (wav, and a few others.)"
HOMEPAGE="https://github.com/magnush/mhwaveedit/"
SRC_URI="https://github.com/magnush/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="alsa jack ladspa libsamplerate nls oss pulseaudio sdl sndfile sox"
RDEPEND="
x11-libs/gtk+:2
x11-libs/pango
alsa? ( media-libs/alsa-lib:= )
jack? ( virtual/jack )
ladspa? ( media-libs/ladspa-sdk )
libsamplerate? ( media-libs/libsamplerate:= )
pulseaudio? ( media-sound/pulseaudio )
sdl? ( media-libs/libsdl:= )
sndfile? ( media-libs/libsndfile:= )
sox? ( media-sound/sox:= )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/${PN}-1.4.23-missing-include.patch )
src_configure() {
local myeconfargs=(
--without-arts
--without-esound
--without-portaudio
$(use_with alsa alsalib)
$(use_with jack)
$(use_with libsamplerate)
$(use_enable nls)
$(use_with oss)
$(use_with pulseaudio pulse)
$(use_with sdl)
$(use_with sndfile libsndfile)
)
econf "${myeconfargs[@]}"
}
|