Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 314075 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-libs/aqbanking/aqbanking-4.2.4.ebuild (-32 / +8 lines)
Lines 7-24 Link Here
7
7
8
DESCRIPTION="Generic Online Banking Interface"
8
DESCRIPTION="Generic Online Banking Interface"
9
HOMEPAGE="http://www.aquamaniac.de/aqbanking/"
9
HOMEPAGE="http://www.aquamaniac.de/aqbanking/"
10
SRC_URI="http://www.aquamaniac.de/sites/download/download.php?package=03&release=50&file=01&dummy=${P}.tar.gz -> ${P}.tar.gz"
10
SRC_URI="http://www.aquamaniac.de/sites/download/download.php?package=03&release=74&file=01&dummy=${P}.tar.gz -> ${P}.tar.gz"
11
11
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
14
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15
IUSE="chipcard debug ofx qt4"
15
IUSE="debug hbci ofx paypal"
16
16
17
RDEPEND=">=sys-libs/gwenhywfar-3.11.3
17
RDEPEND=">=sys-libs/gwenhywfar-4.0.0
18
	>=app-misc/ktoblzcheck-1.24
18
	>=app-misc/ktoblzcheck-1.24
19
	ofx? ( >=dev-libs/libofx-0.9.1 )
19
	ofx? ( >=dev-libs/libofx-0.9.1 )
20
	chipcard? ( >=sys-libs/libchipcard-4.2.9 )
20
	hbci? ( >=sys-libs/libchipcard-5.0.0 )"
21
	qt4? ( x11-libs/qt-gui:4[qt3support] )"
22
DEPEND="${RDEPEND}
21
DEPEND="${RDEPEND}
23
	dev-util/pkgconfig"
22
	dev-util/pkgconfig"
24
23
Lines 27-74 Link Here
27
RESTRICT="test"
26
RESTRICT="test"
28
27
29
src_prepare() {
28
src_prepare() {
30
	sed -i \
29
	epatch "${FILESDIR}"/${P}-ktoblzcheck.patch
31
		-e 's/$(ADD_ACLOCAL_FLAGS)//' \
32
		Makefile.am || die
33
34
	epatch "${FILESDIR}"/${P}-gcc_detection.patch
35
	eautoreconf
36
}
30
}
37
31
38
src_configure() {
32
src_configure() {
39
	local frontends=""
33
	local backends="aqnone"
40
	use qt4 && frontends="${frontends} qbanking q4banking"
41
42
	local backends="aqhbci aqnone"
43
	use ofx && backends="${backends} aqofxconnect"
34
	use ofx && backends="${backends} aqofxconnect"
35
	use hbci && backends="${backends} aqhbci"
36
	use paypal && backends="${backends} aqpaypal"
44
37
45
	local myconf qt3_libs qt3_includes
46
	if use qt4; then
47
		qt3_libs="$(pkg-config QtCore QtGui Qt3Support --libs)"
48
		qt3_includes="$(pkg-config QtCore QtGui Qt3Support --cflags-only-I)"
49
		myconf="--enable-qt3=yes --enable-qt4=yes --with-qt4-moc=/usr/bin/moc --with-qt4-uic=/usr/bin/uic"
50
	else
51
		myconf="--enable-qt3=no --enable-qt4=no"
52
	fi
53
38
54
	econf \
39
	econf \
55
		QTDIR="/usr/$(get_libdir)/qt4" \
56
		QT3TO4="/usr/bin/qt3to4" \
57
		qt3_libs="${qt3_libs}" \
58
		qt3_includes="${qt3_includes}" \
59
		--disable-dependency-tracking \
40
		--disable-dependency-tracking \
60
		$(use_enable debug) \
41
		$(use_enable debug) \
61
		--with-frontends="${frontends}" \
62
		--with-backends="${backends}" \
42
		--with-backends="${backends}" \
63
		--with-docpath=/usr/share/doc/${PF}/apidoc \
43
		--with-docpath=/usr/share/doc/${PF}/apidoc \
64
		${myconf}
44
		${myconf}
65
}
45
}
66
46
67
src_compile() {
47
src_compile() {
68
	if use qt4; then
69
		emake qt4-port || die
70
	fi
71
72
	emake || die
48
	emake || die
73
}
49
}
74
50

Return to bug 314075