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

Collapse All | Expand All

(-)gle-4.1.2b.ebuild (-3 / +15 lines)
Lines 18-24 Link Here
18
	vim-syntax? ( http://glx.sourceforge.net/downloads/vim_gle.zip )"
18
	vim-syntax? ( http://glx.sourceforge.net/downloads/vim_gle.zip )"
19
19
20
SLOT="0"
20
SLOT="0"
21
LICENSE="BSD"
21
LICENSE="BSD emacs? ( GPL-2 )"
22
KEYWORDS="~amd64 ~x86"
22
KEYWORDS="~amd64 ~x86"
23
23
24
IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
24
IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
Lines 41-46 Link Here
41
41
42
S="${WORKDIR}"/gle4
42
S="${WORKDIR}"/gle4
43
43
44
src_unpack() {
45
	unpack ${A}
46
	if use emacs; then
47
		cp "${DISTDIR}"/gle-emacs.el gle-mode.el || die "cp gle-mode.el failed"
48
		epatch "${FILESDIR}"/${P}-gle-emacs.patch
49
	fi
50
}
51
44
src_compile() {
52
src_compile() {
45
	local qtconf="--without-qt"
53
	local qtconf="--without-qt"
46
	use qt4 && qtconf="--with-qt=/usr"
54
	use qt4 && qtconf="--with-qt=/usr"
Lines 53-58 Link Here
53
61
54
	# emake failed in src/gui (probably qmake stuff)
62
	# emake failed in src/gui (probably qmake stuff)
55
	emake -j1 || die "emake failed"
63
	emake -j1 || die "emake failed"
64
65
	if use emacs; then
66
		elisp-compile "${WORKDIR}"/gle-mode.el || die
67
	fi
56
}
68
}
57
69
58
src_install() {
70
src_install() {
Lines 73-80 Link Here
73
	fi
85
	fi
74
86
75
	if use emacs ; then
87
	if use emacs ; then
76
		elisp-site-file-install "${DISTDIR}"/gle-emacs.el gle-mode.el
88
		elisp-install ${PN} "${WORKDIR}"/gle-mode.{el,elc} || die
77
		elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el
89
		elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el || die
78
	fi
90
	fi
79
91
80
	if use vim-syntax ; then
92
	if use vim-syntax ; then

Return to bug 241582