From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F63615813A for ; Sat, 11 Jan 2025 02:02:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E840BE0809; Sat, 11 Jan 2025 02:02:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D8A7E0806 for ; Sat, 11 Jan 2025 02:02:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD658342FAD for ; Sat, 11 Jan 2025 02:02:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 079F31FC0 for ; Sat, 11 Jan 2025 02:02:26 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1736560943.4cd0251c7433aaff54debe7117f8ffdb07a896c5.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/emacspeak/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-accessibility/emacspeak/Manifest app-accessibility/emacspeak/emacspeak-60.0.ebuild X-VCS-Directories: app-accessibility/emacspeak/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 4cd0251c7433aaff54debe7117f8ffdb07a896c5 X-VCS-Branch: master Date: Sat, 11 Jan 2025 02:02:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eb718743-00bf-4141-850e-52c3924591ec X-Archives-Hash: 0a6dff4753785a7834107e47e268eb2c commit: 4cd0251c7433aaff54debe7117f8ffdb07a896c5 Author: Maciej Barć gentoo org> AuthorDate: Sat Jan 11 01:59:35 2025 +0000 Commit: Maciej Barć gentoo 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ć 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 +}