public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/emacspeak/
Date: Sat, 11 Jan 2025 02:02:26 +0000 (UTC)	[thread overview]
Message-ID: <1736560943.4cd0251c7433aaff54debe7117f8ffdb07a896c5.xgqt@gentoo> (raw)

commit:     4cd0251c7433aaff54debe7117f8ffdb07a896c5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 01:59:35 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 02:02:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cd0251c

app-accessibility/emacspeak: bump to 60.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-accessibility/emacspeak/Manifest              |   1 +
 app-accessibility/emacspeak/emacspeak-60.0.ebuild | 103 ++++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/app-accessibility/emacspeak/Manifest b/app-accessibility/emacspeak/Manifest
index b01f904e548b..25e0a9b61d29 100644
--- a/app-accessibility/emacspeak/Manifest
+++ b/app-accessibility/emacspeak/Manifest
@@ -1 +1,2 @@
 DIST emacspeak-56.0.tar.bz2 7158646 BLAKE2B 484b98e5fac51d30bd9b2705308042ed9e0a49a4684ca777cbc60368fdadd8206ef212af514a5940509c84fee3fdcad12486a31a47cac658c912d7573a484fb7 SHA512 9b18fada991b914ddd3ed30950e685c1c164434536c3dd119b9ed52db80e7e31b7399c72a584938bfb63daa7e1aa76a1f377d664cc1118ffa7f0a4cbdddf0818
+DIST emacspeak-60.0.tar.bz2 3056708 BLAKE2B 34e2112992fb95aa58e7ab1adf02c8839ab4729ffb920df7d93917c748d6d1c2d6c4ad68d8174da89f7fd6d6ea23d5a3d3f9bf1c59df0b988f3db70a9a1eeea4 SHA512 f48040f2dfaf7cb67d779d219c59477aaddb9c8b400666e5e9d9850e75575d5276f5b596ab1e8976057e5078d914a610cd537068ccc748e6c45aef64b02eaba9

diff --git a/app-accessibility/emacspeak/emacspeak-60.0.ebuild b/app-accessibility/emacspeak/emacspeak-60.0.ebuild
new file mode 100644
index 000000000000..826442309b2e
--- /dev/null
+++ b/app-accessibility/emacspeak/emacspeak-60.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="29.1"
+FORCE_PRINT_ELOG="1"
+DISABLE_AUTOFORMATTING="1"
+
+inherit elisp toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="The emacspeak audio desktop"
+HOMEPAGE="http://emacspeak.sourceforge.net/
+	https://github.com/tvraman/emacspeak/"
+
+if [[ "${PV}" == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/tvraman/${PN}"
+
+	inherit git-r3
+else
+	SRC_URI="https://github.com/tvraman/${PN}/releases/download/${PV}/${P}.tar.bz2"
+
+	KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+IUSE="+espeak"
+
+# Usually need := dep with tcl anyway but in particular, it's needed
+# here as we do a version check in src_compile and bake in the results.
+DEPEND="
+	dev-lang/tcl:=
+	espeak? ( app-accessibility/espeak-ng )
+"
+RDEPEND="
+	${DEPEND}
+	>=dev-tcltk/tclx-8.4
+"
+
+DOC_CONTENTS='
+As of version 39.0 and later, the /usr/bin/emacspeak
+shell script has been removed downstream in Gentoo.
+You should launch emacspeak by another method, for instance by adding
+the following to your init file (~/.emacs or ~/.config/emacs/init.el):
+(load "/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak.el")
+'
+
+HTML_DOCS=( etc/ info/ )
+
+src_configure() {
+	MAKEOPTS+=" -j1 "
+	tc-export CXX
+
+	emake config
+}
+
+src_compile() {
+	emake -C lisp
+	emake README
+
+	if use espeak ; then
+		local tcl_version="$(echo 'puts $tcl_version;exit 0' |tclsh)"
+		if [[ -z ${tcl_version} ]]; then
+			die 'Unable to detect the installed version of dev-lang/tcl.'
+		fi
+
+		cd servers/native-espeak || die
+		emake TCL_VERSION="${tcl_version}"
+	fi
+}
+
+src_install() {
+	elisp-install emacspeak/lisp ./lisp/*.el{,c}
+
+	if use espeak ; then
+		pushd ./servers/native-espeak > /dev/null || die
+
+		emake DESTDIR="${D}" install
+		local orig_serverdir="/usr/share/emacs/site-lisp/emacspeak/servers/native-espeak"
+		local serverfile="${ED}${orig_serverdir}/tclespeak.so"
+
+		install -Dm755 "${serverfile}" \
+			"${ED}/usr/$(get_libdir)/emacspeak/tclespeak.so" || die
+		rm -f "${serverfile}" || die
+
+		dosym -r "/usr/$(get_libdir)/emacspeak/tclespeak.so" \
+			  "${orig_serverdir}/tclespeak.so"
+
+		popd > /dev/null || die
+
+		exeinto /usr/share/emacs/site-lisp/emacspeak/servers
+		doexe ./servers/espeak
+
+		insinto /usr/share/emacs/site-lisp/emacspeak/servers
+		doins ./servers/tts-lib.tcl
+	fi
+
+	dodoc README etc/NEWS* etc/COPYRIGHT
+	einstalldocs
+
+	readme.gentoo_create_doc
+}


             reply	other threads:[~2025-01-11  2:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-11  2:02 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-23  9:00 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/emacspeak/ Arthur Zamarin
2025-01-11 16:29 Maciej Barć
2025-01-11 16:29 Maciej Barć
2025-01-11 16:29 Maciej Barć
2022-10-20  4:03 Sam James
2022-10-15 15:02 Maciej Barć
2022-09-05 14:36 Jakov Smolić
2022-09-05 14:02 Agostino Sarubbo
2022-09-04 23:58 Sam James
2022-08-19  2:40 Sam James
2022-08-18  3:10 Sam James
2022-08-18  3:10 Sam James
2018-03-27 23:36 Aaron Bauman
2017-07-30  8:36 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736560943.4cd0251c7433aaff54debe7117f8ffdb07a896c5.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox