blob: a0ad5ea0f542323b06397f7c91057ac205bc8fda (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-0.6.ebuild,v 1.5 2007/11/18 21:52:08 aballier Exp $
inherit kde
DESCRIPTION="A simple ID3 tag editor for QT/KDE."
HOMEPAGE="http://kid3.sourceforge.net/"
SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="flac vorbis"
DEPEND=">=media-libs/id3lib-3.8.3
vorbis? ( media-libs/libvorbis )
flac? ( media-libs/flac )"
need-kde 3
pkg_setup() {
if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi
kde_pkg_setup
}
# Support for the KDE libraries is optional,
# but the configure step that detects them
# cannot be avoided. So KDE support is forced on.
src_compile() {
local myconf="--with-kde
$(use_with vorbis)
$(use_with flac)
--without-musicbrainz"
kde_src_compile
}
|