commit:     2faad3d3ec28a013fa61a1faabdc8cab25a23c6c
Author:     Seth M. Price <sprice623 <AT> aol <DOT> com>
AuthorDate: Sun Jan  7 19:04:13 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Jan  7 19:04:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2faad3d3

net-dialup/minimodem: new package, add 0.24

Signed-off-by: Seth M. Price <sprice623 <AT> aol.com>

 net-dialup/minimodem/Manifest              |  1 +
 net-dialup/minimodem/metadata.xml          | 22 ++++++++++++++++++++
 net-dialup/minimodem/minimodem-0.24.ebuild | 32 ++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/net-dialup/minimodem/Manifest b/net-dialup/minimodem/Manifest
new file mode 100644
index 0000000000..6ae8aa9bf6
--- /dev/null
+++ b/net-dialup/minimodem/Manifest
@@ -0,0 +1 @@
+DIST minimodem-0.24.tar.gz 159508 BLAKE2B 
a08c2ef87ed6d50d5bae390d97a384591da9612e4b60b10fc373fa00bceb60a3f67389179c92303a9d3008184f141d37753043355fe9de04429e5e9f8c9b8167
 SHA512 
5c3a5e6f185d4b09c5f24d776393f2e2d5d787c097c44490905119513b9b39db53b7f2f7e624a4b527e8e8e827a5b99af6b0df5ca525046f60b49fe9ba2b0ceb

diff --git a/net-dialup/minimodem/metadata.xml 
b/net-dialup/minimodem/metadata.xml
new file mode 100644
index 0000000000..addcf89791
--- /dev/null
+++ b/net-dialup/minimodem/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <name>Seth M. Price</name>
+               <email>sprice...@aol.com</email>
+       </maintainer>
+       <longdescription lang="en">
+               Minimodem is a command-line program which decodes (or generates)
+               audio modem tones at any specified baud rate, using various
+               framing protocols. It acts a general-purpose software FSK modem,
+               and includes support for various standard FSK protocols such as
+               Bell103, Bell202, RTTY, TTY/TDD, NOAA SAME, and Caller-ID. 
+       </longdescription>
+       <use>
+               <flag name="sndio">Enable support for the 
<pkg>media-sound/sndio</pkg> backend</flag>
+       </use>
+       <upstream>
+               
<bugs-to>https://github.com/kamalmostafa/minimodem/issues</bugs-to>
+               <remote-id type="github">kamalmostafa/minimodem</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/net-dialup/minimodem/minimodem-0.24.ebuild 
b/net-dialup/minimodem/minimodem-0.24.ebuild
new file mode 100644
index 0000000000..2ca21b2552
--- /dev/null
+++ b/net-dialup/minimodem/minimodem-0.24.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="General-purpose software audio FSK modem"
+HOMEPAGE="http://www.whence.com/minimodem/";
+SRC_URI="http://www.whence.com/minimodem/minimodem-${PV}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="alsa pulseaudio sndfile sndio"
+
+DEPEND="sndfile? ( media-libs/libsndfile )
+       sci-libs/fftw:3.0
+       alsa? ( media-libs/alsa-lib )
+       pulseaudio? ( media-libs/libpulse )
+       sndio? ( media-sound/sndio )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       eautoreconf
+       eapply_user
+}
+
+src_configure() {
+       my_args="$(use_with alsa) $(use_with pulseaudio) $(use_with sndfile)"
+       econf $my_args
+}

Reply via email to