app-emacs/ecb: New snapshot.
authorUlrich Müller <ulm@gentoo.org>
Sat, 13 Oct 2018 09:46:45 +0000 (11:46 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sat, 13 Oct 2018 09:47:29 +0000 (11:47 +0200)
Thanks to Joakim Tjernlund in https://bugs.gentoo.org/667672#c4
for pointing out the changed location of the upstream repository.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

app-emacs/ecb/Manifest
app-emacs/ecb/ecb-2.50_pre20170728.ebuild [new file with mode: 0644]

index 2220bd521f51d9a175f40e548c0a713e1d4fbd8e..fcd9bc9727190c95c8d53939b10fbdcd1299985d 100644 (file)
@@ -1 +1,2 @@
 DIST ecb-2.41_pre20140215.tar.xz 565404 BLAKE2B 135aa4a71bb41e78933604c5e549d8a163715061c7946e90a115cf802499f9a78884e554cbf4fd4edc9b5856b1f32b3189eb3e1e2537b16e5dd57cfe3ccd1ee3 SHA512 bf87bdd38e7ddaeec044fc56d56f7c456ef0a1922f50b962f932bf739895f046387bab7a934439e749fd7e838d9f742938408f4f9cb47079440abd8c1ba181b6
+DIST ecb-2.50_pre20170728.tar.xz 562144 BLAKE2B 922a1f101d01717c5d078fbb055903c43e91360061b792e96e9aa9421d19df2cd47f7e69aae6dba4f188e26682d2a758ff8aa57ff500e5b6fdeaea6920b21a25 SHA512 074738cc323b595caf3d34d6eaa08d6a1a8d3a53762c9bf48b751ab25a16a26a8c71984996b7e7616f4999a0876c6d03751e1e45b68aad712020778da387a59d
diff --git a/app-emacs/ecb/ecb-2.50_pre20170728.ebuild b/app-emacs/ecb/ecb-2.50_pre20170728.ebuild
new file mode 100644 (file)
index 0000000..15d6ed4
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="Source code browser for Emacs"
+HOMEPAGE="http://ecb.sourceforge.net/"
+# snapshot of https://github.com/ecb-home/ecb.git, created with "make distrib"
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="java"
+
+RDEPEND="java? ( app-emacs/jde )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+SITEFILE="70${PN}-gentoo.el"
+DOC_CONTENTS="ECB is autoloaded in site-gentoo.el. Add the line
+       \n\t(require 'ecb)
+       \nto your ~/.emacs file to enable all features on Emacs startup."
+
+src_prepare() {
+       eapply "${FILESDIR}"/${PN}-2.32-gentoo.patch
+       sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed"
+       eapply_user
+}
+
+src_compile() {
+       local loadpath
+       use java && loadpath="${EPREFIX}${SITELISP}"/{elib,jde,jde/lisp}
+       emake LOADPATH="${loadpath}"
+}
+
+src_install() {
+       elisp_src_install
+
+       insinto "${SITEETC}/${PN}"
+       doins -r ecb-images
+
+       doinfo info-help/ecb.info*
+       dodoc NEWS README RELEASE_NOTES
+       docinto html
+       dodoc html-help/*.html
+}