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 96FD713933E for ; Tue, 13 Jul 2021 20:57:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD8B8E0DD8; Tue, 13 Jul 2021 20:57:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 952FEE0DD8 for ; Tue, 13 Jul 2021 20:57: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 3B9C7342D09 for ; Tue, 13 Jul 2021 20:57:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FFE37DF for ; Tue, 13 Jul 2021 20:57:30 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1626209709.53e8ed66412695fd96bc0838b8d0a4488e11f1f7.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/rplay/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/rplay/rplay-3.3.2-r4.ebuild X-VCS-Directories: media-sound/rplay/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 53e8ed66412695fd96bc0838b8d0a4488e11f1f7 X-VCS-Branch: master Date: Tue, 13 Jul 2021 20:57:30 +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: acfbc5ac-b4e3-41ab-9bfd-1bef831aa19b X-Archives-Hash: bf2f17d32042ef52ef683b7b087c057d commit: 53e8ed66412695fd96bc0838b8d0a4488e11f1f7 Author: Conrad Kostecki gentoo org> AuthorDate: Tue Jul 13 19:29:31 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Jul 13 20:55:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53e8ed66 media-sound/rplay: migrate to GLEP 81 Bug: https://bugs.gentoo.org/781335 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> media-sound/rplay/rplay-3.3.2-r4.ebuild | 57 +++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/media-sound/rplay/rplay-3.3.2-r4.ebuild b/media-sound/rplay/rplay-3.3.2-r4.ebuild new file mode 100644 index 00000000000..0cbf1cbc4a6 --- /dev/null +++ b/media-sound/rplay/rplay-3.3.2-r4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Play sounds on remote Unix systems without data transfer" +HOMEPAGE="http://rplay.doit.org/" +SRC_URI=" + http://rplay.doit.org/dist/${P}.tar.gz + mirror://debian/pool/main/r/${PN}/${PN}_${PV}-16.debian.tar.xz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" + +RDEPEND=" + acct-group/rplayd + acct-user/rplayd + media-sound/gsm +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${WORKDIR}/debian/patches" + "${FILESDIR}/${P}-built-in_function_exit-r1.patch" +) + +src_prepare() { + default + mv configure.{in,ac} || die + mv rx/configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + --enable-rplayd-user=rplayd \ + --enable-rplayd-group=rplayd +} + +src_install() { + # This is borrowed from the old einstall helper, and is necessary + # (at least some of variables). + emake prefix="${ED}/usr" \ + libdir="${ED}/usr/$(get_libdir)" \ + datadir="${ED}/usr/share" \ + infodir="${ED}/usr/share/info" \ + localstatedir="${ED}/var/lib" \ + mandir="${ED}/usr/share/man" \ + sysconfdir="${ED}/etc" \ + install + + find "${ED}" -name '*.la' -delete || die +}