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

Collapse All | Expand All

(-)/usr/portage/app-text/mupdf/mupdf-9999.ebuild (-6 / +6 lines)
Lines 4-10 Link Here
4
4
5
EAPI=2
5
EAPI=2
6
6
7
EGIT_REPO_URI="http://mupdf.com/repos/mupdf.git"
7
EGIT_REPO_URI="git://git.ghostscript.com/mupdf.git"
8
8
9
inherit eutils flag-o-matic git-2 multilib toolchain-funcs
9
inherit eutils flag-o-matic git-2 multilib toolchain-funcs
10
10
Lines 29-35 Link Here
29
src_prepare() {
29
src_prepare() {
30
	epatch "${FILESDIR}"/${PN}-0.8.165-buildsystem.patch
30
	epatch "${FILESDIR}"/${PN}-0.8.165-buildsystem.patch
31
31
32
	use vanilla || epatch "${FILESDIR}"/${PN}-0.8.165-zoom.patch
32
       if ! use vanilla ; then
33
               epatch "${FILESDIR}"/${PN}-0.8.165-zoom.patch
34
               epatch "${FILESDIR}"/${PN}-0.9-scroll_hack.patch
35
       fi
33
}
36
}
34
37
35
src_compile() {
38
src_compile() {
Lines 52-62 Link Here
52
		doicon debian/mupdf.xpm || die
55
		doicon debian/mupdf.xpm || die
53
		doman apps/man/mupdf.1 || die
56
		doman apps/man/mupdf.1 || die
54
	fi
57
	fi
55
	doman apps/man/pdf{clean,draw,show}.1 || die
58
	doman apps/man/mupdf{clean,draw,show}.1 || die
56
	dodoc README || die
59
	dodoc README || die
57
58
	# avoid collision with app-text/poppler-utils
59
	mv "${D}"usr/bin/pdfinfo "${D}"usr/bin/mupdf_pdfinfo || die
60
}
60
}
61
61
62
pkg_postinst() {
62
pkg_postinst() {

Return to bug 401205