[87910b]: kwave.ebuild Maximize Restore History

Download this file

kwave.ebuild    62 lines (52 with data), 1.6 kB

 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
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/kwave-0.8.7.ebuild,v 1.2 2012/01/05 12:38:06 johu Exp $
EAPI=4
KDE_HANDBOOK="optional"
KDE_LINGUAS="cs de en_GB fr"
inherit kde4-base
DESCRIPTION="Kwave is a sound editor for KDE"
HOMEPAGE="http://kwave.sourceforge.net/"
SRC_URI="mirror://sourceforge/kwave/${P}-1.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2
handbook? ( FDL-1.2 )"
SLOT="4"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="alsa debug flac handbook mp3 mmx oss phonon pulseaudio vorbis"
RDEPEND="
media-libs/audiofile
>=sci-libs/fftw-3
media-libs/libsamplerate
alsa? ( media-libs/alsa-lib )
flac? ( media-libs/flac )
mp3? (
media-libs/id3lib
media-libs/libmad
( media-sound/lame | mesia-sound/twolame | media-sound/toolame )
)
pulseaudio? ( media-sound/pulseaudio )
vorbis? (
media-libs/libogg
media-libs/libvorbis
)
"
DEPEND="${RDEPEND}
$(add_kdebase_dep kdesdk-misc extras)
|| ( media-gfx/imagemagick[png,svg] media-gfx/graphicsmagick[imagemagick,png,svg] )
"
DOCS=( AUTHORS LICENSES CHANGES README TODO )
src_configure() {
use mmx && append-flags -mmmx
local mycmakeargs=(
$(cmake-utils_use_with alsa ALSA)
$(cmake-utils_use_with handbook DOC)
$(cmake-utils_use_with flac FLAC)
$(cmake-utils_use_with mp3 MP3)
$(cmake-utils_use_with vorbis OGG)
$(cmake-utils_use_with oss OSS)
$(cmake-utils_use_with phonon PHONON)
$(cmake-utils_use_with pulseaudio PULSEAUDIO)
$(cmake-utils_use debug DEBUG)
)
kde4-base_src_configure
}