public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeakup/
Date: Sat,  3 Jul 2021 20:00:20 +0000 (UTC)	[thread overview]
Message-ID: <1625342398.ae2b76c08dfb897f93b6124bfcaa8cd6b090920d.williamh@gentoo> (raw)

commit:     ae2b76c08dfb897f93b6124bfcaa8cd6b090920d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  3 19:59:00 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Jul  3 19:59:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae2b76c0

app-accessibility/espeakup: sync live

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-accessibility/espeakup/espeakup-9999.ebuild | 44 +++++++++++--------------
 1 file changed, 19 insertions(+), 25 deletions(-)

diff --git a/app-accessibility/espeakup/espeakup-9999.ebuild b/app-accessibility/espeakup/espeakup-9999.ebuild
index 95a1e0ea06b..a54813ed5d9 100644
--- a/app-accessibility/espeakup/espeakup-9999.ebuild
+++ b/app-accessibility/espeakup/espeakup-9999.ebuild
@@ -1,53 +1,47 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://github.com/williamh/espeakup.git"
 	inherit git-r3
 else
-	EGIT_COMMIT=v${PV}
-	SRC_URI="https://github.com/williamh/espeakup/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-	inherit vcs-snapshot
+	SRC_URI="https://github.com/linux-speakup/espeakup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
 fi
 
-inherit linux-info
+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=""
+IUSE="man systemd"
 
-COMMON_DEPEND="|| (
-	app-accessibility/espeak[portaudio]
-	app-accessibility/espeak[pulseaudio] )"
+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!"
-
-pkg_setup() {
-	if kernel_is -ge 2 6 37; then
-		check_extra_config
-	elif ! has_version app-accessibility/speakup; then
-		ewarn "Cannot find speakup on your system."
-		ewarn "Please upgrade your kernel to 2.6.37 or later and enable the"
-		ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options"
-		ewarn "or install app-accessibility/speakup."
-	fi
+
+src_configure() {
+	local emesonargs
+	emesonargs=(
+		$(meson_feature man)
+		$(meson_feature systemd)
+		)
+	meson_src_configure
 }
 
 src_install() {
-	emake DESTDIR="${D}" PREFIX=/usr install
+	meson_src_install
 	einstalldocs
 	newconfd "${FILESDIR}"/espeakup.confd espeakup
-	newinitd "${FILESDIR}"/espeakup.rc espeakup
+	newinitd "${FILESDIR}"/espeakup.initd espeakup
 }
 
 pkg_postinst() {


             reply	other threads:[~2021-07-03 20:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03 20:00 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-24 10:33 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeakup/ Sam James
2024-04-24 10:33 Sam James
2023-06-12 14:06 Sam James
2022-07-18 13:32 Hans de Graaff
2022-05-26  5:30 WANG Xuerui
2022-03-08 12:59 Sam James
2022-03-08 12:59 Sam James
2021-09-08  1:41 Sam James
2021-09-07 18:59 Sam James
2021-09-07 18:56 Sam James
2021-07-04 21:54 William Hubbs
2021-05-01 21:24 Andreas Sturmlechner
2021-04-26 10:34 Sam James
2021-04-25 19:23 Sam James
2017-07-30  8:36 Michał Górny
2016-07-26 13:52 William Hubbs
2016-07-25 16:43 William Hubbs
2016-05-07  2:39 William Hubbs

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=1625342398.ae2b76c08dfb897f93b6124bfcaa8cd6b090920d.williamh@gentoo \
    --to=williamh@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