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

Collapse All | Expand All

(-)/usr/local/portage/petr_p/app-text/djview4/djview4-4.5.ebuild.good (-3 / +9 lines)
Lines 14-30 Link Here
14
LICENSE="GPL-2"
14
LICENSE="GPL-2"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~amd64 ~ppc64 ~x86"
16
KEYWORDS="~amd64 ~ppc64 ~x86"
17
IUSE="debug"
17
IUSE="debug nsplugin"
18
RDEPEND=">=app-text/djvu-3.5.19
18
RDEPEND=">=app-text/djvu-3.5.19
19
	|| ( ( x11-libs/qt-gui x11-libs/qt-core ) >=x11-libs/qt-4.2:4 )"
19
	|| ( ( x11-libs/qt-gui x11-libs/qt-core ) >=x11-libs/qt-4.2:4 )
20
	nsplugin? ( app-text/djvu[-nsplugin] )"
20
DEPEND="${RDEPEND}
21
DEPEND="${RDEPEND}
21
	dev-util/pkgconfig"
22
	dev-util/pkgconfig"
22
23
23
S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)"
24
S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)"
24
25
26
src_prepare() {
27
	sed -i -e 's/netscape/nsbrowser/' nsdejavu/Makefile.in || \
28
		die "Adjusting nsplugin path failed"
29
}
30
25
src_configure() {
31
src_configure() {
26
	QTDIR=/usr econf $(use_enable debug) \
32
	QTDIR=/usr econf $(use_enable debug) \
27
		--disable-nsdejavu \
33
		$(use_enable nsplugin nsdejavu) \
28
		--disable-desktopfiles || die "econf failed"
34
		--disable-desktopfiles || die "econf failed"
29
}
35
}
30
36

Return to bug 271469