public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/beep/
Date: Wed, 25 Mar 2020 17:31:24 +0000 (UTC)	[thread overview]
Message-ID: <1585157459.57f54cc39bb49a0f898b74644607658d950f514d.whissi@gentoo> (raw)

commit:     57f54cc39bb49a0f898b74644607658d950f514d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 25 17:30:47 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Mar 25 17:30:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f54cc3

app-misc/beep: bump to v1.4.9

Bug: https://bugs.gentoo.org/659338
Closes: https://bugs.gentoo.org/684600
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 app-misc/beep/Manifest          |  1 +
 app-misc/beep/beep-1.4.9.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-misc/beep/Manifest b/app-misc/beep/Manifest
index 39eda21e98a..72bbfc63254 100644
--- a/app-misc/beep/Manifest
+++ b/app-misc/beep/Manifest
@@ -1 +1,2 @@
 DIST beep-1.3.tar.gz 19344 BLAKE2B 4f9cf12f6983eeb53502fd85e5e1d428e1c1af481f8f424f6ae18cbe104462e8fdcc96670a72daa8a8a0d1430d00824d8795b4db53437e7bb7320cddfd84cfd3 SHA512 3f71146202208fa0c0cda360d125dd972ea003cf8cd62da21d67eb544c92f7b82640e7ce7c3835cbc65c75909a882edfa54dbd8d8b748d6f243711ea331477fd
+DIST beep-1.4.9.tar.gz 83154 BLAKE2B 073169ccb4919c17c0291951834fea682c87021f18562629013293432292750f6d6b3235e8882fa9cf26c9e055e1283cfa629c2e88e0f87a301b238c38380498 SHA512 46e6066cb4d9ad4a0c55a03bf5a2163426648ce3831fe1f7bafa2f02d0e407b50c52e58cc2b123c346df96e92b73d2458b473c3fb001d9a0d1470b7cf38cc35b

diff --git a/app-misc/beep/beep-1.4.9.ebuild b/app-misc/beep/beep-1.4.9.ebuild
new file mode 100644
index 00000000000..ff9de152957
--- /dev/null
+++ b/app-misc/beep/beep-1.4.9.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Advanced PC speaker beeper"
+HOMEPAGE="https://github.com/spkr-beep"
+SRC_URI="https://github.com/spkr-beep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+IUSE="suid"
+
+# Tests require a speaker
+RESTRICT="test"
+
+src_prepare() {
+	default
+
+	sed -i -e "s#-D_FORTIFY_SOURCE=2##g;" GNUmakefile || die
+}
+
+src_compile() {
+	emake \
+		COMPILERS=gcc \
+		COMPILER_gcc="$(tc-getCC)" \
+		LINKER_gcc="$(tc-getCC)" \
+		CFLAGS_gcc="${CFLAGS}" \
+		LDFLAGS="${LDFLAGS}" \
+		CPPFLAGS_gcc="" \
+		all
+}
+
+src_test() {
+	emake \
+		COMPILERS=gcc \
+		COMPILER_gcc="$(tc-getCC)" \
+		LINKER_gcc="$(tc-getCC)" \
+		CFLAGS_gcc="${CFLAGS}" \
+		LDFLAGS="${LDFLAGS}" \
+		check
+}
+
+src_install() {
+	dobin beep
+	doman "${PN}.1"
+
+	if use suid ; then
+		fowners :audio /usr/bin/beep
+		fperms 4710 /usr/bin/beep
+	else
+		fperms 0711 /usr/bin/beep
+	fi
+
+	einstalldocs
+}


             reply	other threads:[~2020-03-25 17:31 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 17:31 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-26 16:17 [gentoo-commits] repo/gentoo:master commit in: app-misc/beep/ Arthur Zamarin
2023-10-20 20:18 Arthur Zamarin
2023-10-19 15:41 Sam James
2023-10-19 15:41 Sam James
2023-10-19 15:41 Sam James
2023-10-19 15:03 Sam James
2023-09-18  9:01 Sam James
2023-09-18  9:01 Sam James
2022-12-23  1:34 Sam James
2022-12-23  1:34 Sam James
2021-12-06 15:23 Sam James
2021-12-06 11:31 Agostino Sarubbo
2021-12-05 20:36 Arthur Zamarin
2021-12-05 18:39 Sam James
2021-12-05  5:18 Sam James
2021-09-23  8:20 Michał Górny
2020-06-23  7:28 Patrice Clement
2020-06-22 18:23 Sergei Trofimovich
2020-03-30 13:36 Agostino Sarubbo
2020-03-26 12:04 Agostino Sarubbo
2020-03-26 12:03 Agostino Sarubbo
2020-03-26 10:20 Agostino Sarubbo
2020-03-26 10:17 Agostino Sarubbo
2019-04-29 21:06 Aaron Bauman
2019-04-27 23:03 Aaron Bauman
2018-05-30 14:10 Aaron Bauman
2018-05-25  4:18 Matt Turner
2018-05-25  4:18 Matt Turner
2018-04-14 11:40 Markus Meier
2018-04-05 21:07 Sergei Trofimovich
2018-04-05 16:10 Tobias Klausmann
2018-04-05 13:43 Thomas Deutschmann
2018-04-05  3:29 Aaron Bauman
2017-08-03 22:41 Patrice Clement
2017-08-03 22:41 Patrice Clement
2016-05-20 20:31 Patrice Clement
2016-04-18 21:23 Patrice Clement
2016-02-01  9:36 Tobias Klausmann
2015-11-26 19:14 Markus Meier
2015-09-25 14:29 Agostino Sarubbo
2015-09-24 22:56 Patrice Clement
2015-08-28 21:37 Patrice Clement
2015-08-28 21:37 Patrice Clement
2015-08-28 21:37 Patrice Clement
2015-08-28 13:08 Patrice Clement

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=1585157459.57f54cc39bb49a0f898b74644607658d950f514d.whissi@gentoo \
    --to=whissi@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