Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 353592
Collapse All | Expand All

(-)/usr/local/portage/x11-libs/libfm/libfm-0.1.15_pre20110202.ebuild (-5 / +13 lines)
Lines 8-15 if [[ ${PV} == 9999 ]]; then Link Here
8
	EGIT_REPO_URI="git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/${PN}"
8
	EGIT_REPO_URI="git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/${PN}"
9
	inherit autotools git
9
	inherit autotools git
10
	SRC_URI=""
10
	SRC_URI=""
11
	EXTRA_DEPEND="dev-util/gtk-doc
12
		dev-util/gtk-doc-am"
13
else
11
else
14
	inherit autotools
12
	inherit autotools
15
	SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
13
	SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
Lines 23-29 HOMEPAGE="http://pcmanfm.sourceforge.net Link Here
23
21
24
LICENSE="GPL-2"
22
LICENSE="GPL-2"
25
SLOT="0"
23
SLOT="0"
26
IUSE="debug examples udev"
24
IUSE="debug doc examples udev"
27
25
28
COMMON_DEPEND=">=dev-libs/glib-2.18:2
26
COMMON_DEPEND=">=dev-libs/glib-2.18:2
29
	>=x11-libs/gtk+-2.16:2
27
	>=x11-libs/gtk+-2.16:2
Lines 36-45 DEPEND="${COMMON_DEPEND} Link Here
36
	>=dev-util/intltool-0.40
34
	>=dev-util/intltool-0.40
37
	dev-util/pkgconfig
35
	dev-util/pkgconfig
38
	sys-devel/gettext
36
	sys-devel/gettext
39
	${EXTRA_DEPEND}"
37
	doc? (
38
		dev-util/gtk-doc
39
		dev-util/gtk-doc-am
40
	)"
40
41
41
src_prepare() {
42
src_prepare() {
42
	gtkdocize --copy || die
43
	if use doc
44
	then
45
		gtkdocize --copy || die
46
	else
47
		sed -ie '/SUBDIRS=/s#docs##' ${WORKDIR}/Makefile.am
48
		sed -ie '/^[[:space:]]*docs/d' configure.ac
49
	fi
43
	intltoolize --force --copy --automake || die
50
	intltoolize --force --copy --automake || die
44
	eautoreconf
51
	eautoreconf
45
}
52
}
Lines 52-57 src_configure() { Link Here
52
		$(use_enable udev udisks) \
59
		$(use_enable udev udisks) \
53
		$(use_enable examples demo) \
60
		$(use_enable examples demo) \
54
		$(use_enable debug) \
61
		$(use_enable debug) \
62
		$(use_enable doc gtk_doc ) \
55
		--with-html-dir=/usr/share/doc/${PF}/html
63
		--with-html-dir=/usr/share/doc/${PF}/html
56
}
64
}
57
65

Return to bug 353592