summaryrefslogtreecommitdiff
blob: 8d1e5fd6695acf83e72aef9f7a79dfd6b8ff19e4 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit qt3

DESCRIPTION="D-BUS Qt3 bindings compatible with old application API and new dbus"
HOMEPAGE="http://freedesktop.org/wiki/Software/dbus"
SRC_URI="http://people.freedesktop.org/~krake/dbus-1-qt3/dbus-1-qt3-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0.9"
KEYWORDS="~x86"
IUSE="debug"

RDEPEND=">=sys-apps/dbus-0.91"
DEPEND="${RDEPEND}
	=dev-qt/qt-meta-3*"

S=${WORKDIR}/dbus-1-qt3-${PV}

src_compile() {
	econf --enable-qt3 --with-qt3-moc=${QTDIR}/bin/moc \
		  $(use_enable debug qt-debug) \
		|| die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
}