6 |
6 |
|
7 |
7 |
EAPI=8
|
8 |
8 |
|
9 |
|
inherit flag-o-matic xdg-utils desktop autotools
|
|
9 |
inherit flag-o-matic xdg-utils desktop
|
10 |
10 |
|
11 |
11 |
DESCRIPTION="highly customizable open source text editor and application development system"
|
12 |
12 |
HOMEPAGE="https://www.xemacs.org/"
|
|
13 |
SRC_URI="neXt? ( http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz )"
|
13 |
14 |
|
14 |
|
SRC_URI="http://ftp.xemacs.org/pub/xemacs/xemacs-$(ver_cut 1-2)/${P}.tar.gz
|
15 |
|
neXt? ( http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz )"
|
|
15 |
inherit mercurial
|
|
16 |
EHG_REPO_URI="https://foss.heptapod.net/xemacs/xemacs"
|
16 |
17 |
|
17 |
18 |
LICENSE="GPL-3+"
|
18 |
19 |
SLOT="0"
|
19 |
|
KEYWORDS="~alpha amd64 arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
|
20 |
20 |
IUSE="alsa debug gif gpm pop postgres ldap xface nas dnd X jpeg tiff png motif freewnn xft xim athena neXt Xaw3d gdbm berkdb +bignum"
|
21 |
21 |
|
22 |
22 |
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
|
... | ... | |
55 |
55 |
app-xemacs/mule-base"
|
56 |
56 |
|
57 |
57 |
src_unpack() {
|
58 |
|
default_src_unpack
|
|
58 |
mercurial_src_unpack
|
|
59 |
|
|
60 |
use neXt && unpack NeXT_XEmacs.tar.gz
|
59 |
61 |
}
|
60 |
62 |
|
61 |
63 |
src_prepare() {
|
62 |
64 |
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
|
63 |
65 |
find "${S}"/lisp -name '*.elc' -exec rm {} \; || die
|
64 |
|
eapply "${FILESDIR}/${P}-configure.patch"
|
65 |
|
eapply "${FILESDIR}/${P}-mule-tests.patch"
|
|
66 |
eapply "${FILESDIR}/${PN}-21.5.35-mule-tests.patch"
|
66 |
67 |
|
67 |
68 |
eapply_user
|
68 |
69 |
|
69 |
|
eautoconf
|
70 |
|
|
71 |
70 |
# Some binaries and man pages are installed under suffixed names
|
72 |
71 |
# to avoid collions with their GNU Emacs counterparts (see below).
|
73 |
72 |
# Fix internal filename references.
|
... | ... | |
130 |
129 |
if use motif ; then
|
131 |
130 |
myconf="${myconf} --with-xim=motif"
|
132 |
131 |
else
|
133 |
|
myconf="${myconf} --with-xim=xlib"
|
|
132 |
myconf="${myconf} --with-xim=xlib"
|
134 |
133 |
fi
|
135 |
134 |
else
|
136 |
|
myconf="${myconf} --with-xim=no"
|
|
135 |
myconf="${myconf} --with-xim=no"
|
137 |
136 |
fi
|
138 |
137 |
|
139 |
138 |
myconf="${myconf} $(use_with freewnn wnn )"
|