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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1E74C13933E for ; Thu, 1 Jul 2021 21:23:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70982E0817; Thu, 1 Jul 2021 21:23:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FD2BE0817 for ; Thu, 1 Jul 2021 21:23:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EEFD3335C52 for ; Thu, 1 Jul 2021 21:23:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6514D2B for ; Thu, 1 Jul 2021 21:23:33 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1625174586.72f9fa47d15b348dbb73c1f44dbad2107cd5062a.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeakup/, app-accessibility/espeakup/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-accessibility/espeakup/Manifest app-accessibility/espeakup/espeakup-0.90.ebuild app-accessibility/espeakup/files/espeakup.initd X-VCS-Directories: app-accessibility/espeakup/ app-accessibility/espeakup/files/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 72f9fa47d15b348dbb73c1f44dbad2107cd5062a X-VCS-Branch: master Date: Thu, 1 Jul 2021 21:23:33 +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: 2bc3530f-78f2-4994-bea2-c1c9fc4587af X-Archives-Hash: 2b64ea98a213c30595d31b8c52196114 commit: 72f9fa47d15b348dbb73c1f44dbad2107cd5062a Author: William Hubbs gentoo org> AuthorDate: Thu Jul 1 21:19:01 2021 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Jul 1 21:23:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f9fa47 app-accessibility/espeakup: 0.90 bump This version moves to espeak-ng instead of espeak. Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: William Hubbs gentoo.org> app-accessibility/espeakup/Manifest | 1 + app-accessibility/espeakup/espeakup-0.90.ebuild | 58 +++++++++++++++++++++++++ app-accessibility/espeakup/files/espeakup.initd | 18 ++++++++ 3 files changed, 77 insertions(+) diff --git a/app-accessibility/espeakup/Manifest b/app-accessibility/espeakup/Manifest index f0ff5a95917..63475c422df 100644 --- a/app-accessibility/espeakup/Manifest +++ b/app-accessibility/espeakup/Manifest @@ -1 +1,2 @@ DIST espeakup-0.80.tar.gz 39626 BLAKE2B f36d9776b954e73fd2bc33c7ba97dd323184480549b667ac2afc4dc40a8b98089b8ced16e8b1cb33e6b4c586df27a8d6f782236ef8770bc98a530665e257edcf SHA512 1b7e2bd46c3c13a5305746d2d2810ec94a8660f561e4f679ee4779be1b22178f8ac7de42d626d649710509f7b087b9a2f94608bde203d1bcd6d353229ed9ff83 +DIST espeakup-0.90.tar.gz 25170 BLAKE2B f91a70bad0d985d313852b9e5f72dea4330ab23050ca6904ae5895d513088031f34d878cd64d97dcf2cf02dddc3e9fdabd0826cac98634829019ed3267e27bd8 SHA512 0731835a04063c5eac8ed0ed37cd92cc5d2dd1c58cbd94e158b7dfbb7bc0e2f84a6484fffd9009bf2920652a36fb737044b2e1fb67fb1679ee7150855bc9a15e diff --git a/app-accessibility/espeakup/espeakup-0.90.ebuild b/app-accessibility/espeakup/espeakup-0.90.ebuild new file mode 100644 index 00000000000..fac584f9372 --- /dev/null +++ b/app-accessibility/espeakup/espeakup-0.90.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/williamh/espeakup.git" + inherit git-r3 +else + SRC_URI="https://github.com/linux-speakup/espeakup/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +inherit linux-info meson + +DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup" +HOMEPAGE="https://github.com/williamh/espeakup" + +LICENSE="GPL-3" +SLOT="0" +IUSE="man systemd" + +COMMON_DEPEND="app-accessibility/espeak-ng[sound] + media-libs/alsa-lib" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="man? ( app-text/ronn )" + +CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT" +ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!" +ERROR_SPEAKUP_SYNTH_SOFT="CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!" + +src_configure() { + local emesonargs + emesonargs=( + $(meson_feature man) + $(meson_feature systemd) + ) + meson_src_configure +} + +src_install() { + meson_src_install + einstalldocs + newconfd "${FILESDIR}"/espeakup.confd espeakup + newinitd "${FILESDIR}"/espeakup.initd espeakup +} + +pkg_postinst() { + elog "To get espeakup to start automatically, it is currently recommended" + elog "that you add it to the default run level, by giving the following" + elog "command as root." + elog + elog "rc-update add espeakup default" + elog + elog "You can also set a default voice now for espeakup." + elog "See /etc/conf.d/espeakup for how to do this." +} diff --git a/app-accessibility/espeakup/files/espeakup.initd b/app-accessibility/espeakup/files/espeakup.initd new file mode 100644 index 00000000000..6ef0a339d1c --- /dev/null +++ b/app-accessibility/espeakup/files/espeakup.initd @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/bin/espeakup +command_args="${espeakup_opts:-${ESPEAKUP_OPTS}}" +pidfile=/run/espeakup.pid + +depend() { + after modules + use alsasound pulseaudio +} + +start_pre() { + [ -f /sys/accessibility/speakup/synth ] && + echo soft > /sys/accessibility/speakup/synth + return 0 +}