summaryrefslogtreecommitdiff
blob: 5adf9bf798289c1c301e59e2e4df2cecaccb1900 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/phonon-xine/phonon-xine-4.1.4.ebuild,v 1.1 2009/01/13 23:29:16 alexxy Exp $

EAPI="2"

KMNAME=kdebase-runtime
KMMODULE=phonon
inherit kde4-meta

DESCRIPTION="KDE Phonon Xine backend"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="debug +xcb"

# There's currently only a xine backend for phonon available,
# a gstreamer backend from TrollTech is in the works.
DEPEND="!kde-base/phonon:${SLOT}
	>=media-sound/phonon-4.2.0
	>=media-libs/xine-lib-1.1.15-r1
	xcb? ( x11-libs/libxcb )"
RDEPEND="${DEPEND}"

src_configure() {
	mycmakeargs="${mycmakeargs}
		$(cmake-utils_use_with xcb XCB)
		-DWITH_Xine=ON"

	kde4-meta_src_configure
}