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 D5FF7138350 for ; Wed, 25 Mar 2020 17:31:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25E41E0B37; Wed, 25 Mar 2020 17:31:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E9E73E0B37 for ; Wed, 25 Mar 2020 17:31:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3A62134FA43 for ; Wed, 25 Mar 2020 17:31:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAE97186 for ; Wed, 25 Mar 2020 17:31:24 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1585157459.57f54cc39bb49a0f898b74644607658d950f514d.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/beep/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/beep/Manifest app-misc/beep/beep-1.4.9.ebuild X-VCS-Directories: app-misc/beep/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 57f54cc39bb49a0f898b74644607658d950f514d X-VCS-Branch: master Date: Wed, 25 Mar 2020 17:31:24 +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: a022f389-347f-45d1-835f-67e2b23275e7 X-Archives-Hash: c1a2d66450ba9f0ea7e675e65619e939 commit: 57f54cc39bb49a0f898b74644607658d950f514d Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Mar 25 17:30:47 2020 +0000 Commit: Thomas Deutschmann gentoo 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 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 +}