blob: 9c3881e20bc1c234b82859eaf9525b6023bf1463 (
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
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/kwave-0.7.9.ebuild,v 1.5 2008/01/21 15:03:53 zlin Exp $
ARTS_REQUIRED=yes
inherit kde flag-o-matic
DESCRIPTION="Kwave is a sound editor for KDE."
HOMEPAGE="http://kwave.sourceforge.net/"
SRC_URI="mirror://sourceforge/kwave/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc mmx"
RDEPEND="media-libs/alsa-lib
media-libs/audiofile
media-libs/id3lib
media-libs/libmad
media-libs/libogg
media-libs/libvorbis
media-libs/flac
sci-libs/gsl"
DEPEND="${RDEPEND}
|| ( kde-base/kdemultimedia-arts =kde-base/kdemultimedia-3.5* )
|| ( =kde-base/kdesdk-misc-3.5* =kde-base/kdesdk-3.5* )
app-text/recode
media-gfx/imagemagick"
need-kde 3.4
pkg_setup() {
kde_pkg_setup
if ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}_flac-v1.1.3_and_v1.1.4-support.diff"
epatch "${FILESDIR}/${P}-debian-431199.diff"
}
src_compile() {
eautoreconf
local myconf="--without-builtin-libaudiofile"
myconf="$(use_enable doc)"
use mmx && append-flags "-mmmx"
kde_src_compile
}
|