From nobody Fri Jul 08 16:29:25 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C91463E3D61; Fri, 8 Jul 2022 16:29:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lfdys5KW3z418Y; Fri, 8 Jul 2022 16:29:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657297765; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X4MWga6lQjiA/eiRbDInOgD1OcVQ9VDc3TL6yh+z7OM=; b=wlE/F7F5gtBNil/P+Dk5ctFr77cwgD+liIFwSIg9KSMo6tROr5QI8wi2jbRllz6gMJ/rg9 kh/b4GQf1YClfdJUnfAW7KtH6m/fetPROQSjqmQV4ceRFY5vOs/xCc9mUqveAFtTqOaX0n C+myrJ+tajm+mFc7PdNGZVuXbZZm1hQmh+UMsmv0tRIK4fAPO86VFsBVvjqBE81AQFMFaV UUWaT0oJzNOPJp/cq3BRH61j/EPuxEOTYBKy7LaW3J+yfEf601K0U3KoIMxyzub+1iM5+8 xz/pT8Z9WfrZEpyNYJk8zF6J9Q1258yz+yj7KqZuaRf4AcZYierRqczfnhzy+w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lfdys4P74z1Rpn; Fri, 8 Jul 2022 16:29:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 268GTP2n056162; Fri, 8 Jul 2022 16:29:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 268GTP92056161; Fri, 8 Jul 2022 16:29:25 GMT (envelope-from git) Date: Fri, 8 Jul 2022 16:29:25 GMT Message-Id: <202207081629.268GTP92056161@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: 3e8ac98a09db - main - audio/pcaudiolib: New port: Portable C audio library List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3e8ac98a09db6c18bdcb013d638b6c75ce54d422 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657297765; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X4MWga6lQjiA/eiRbDInOgD1OcVQ9VDc3TL6yh+z7OM=; b=xiVIv9Na4Q5CFcLzgKjINnbE06T+NJXQ3R2gq1Zptx/AiLQ3twUoz4UpWTF6dfb41S6HF8 DHgisCioy+lLHZ/0jQakxBPRX1haGpFPfgiVZKE4pM80jek8cEFzGoRqKyQ8zKv3hAoxLr 2GoskHZJmhfHZo0s5DUfvPsX+VSAX8CjAdWPEYbvsZ/TuGxd8rZONUjhIeq18VMjh7GAGU +XyQBv4V13r2N6lAE+t3i5a5bvHXzjcT4FQvo/ThLWJp1aUA4sxzysB1poLqZTlFHU4A62 Dt7vwhsXW45KcIEfvvMMgnxv5RMCRvGKk7jsbmOQd/C5wi2CmD/vvefjBY+c0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657297765; a=rsa-sha256; cv=none; b=GOZ5Tn6gJIDzkQKaByYlvTLjy14fILt1raqtNY0I9dNvZuCHj/IOty3eI63m8cSLWvUG6d 9qBFQ5wNA3himrA4cogNEDLKZS2y+omhM6cod/rDcg7ByLEQbLoChAwMTTodP/pql/JVql rb0R9yZ5w9HbXonLKDUZjYQ0bVkAhRiCvuhQ6pW24i+SV/7PqYVtPgiz3BcOsqzHKK0a28 Sj+fsnL8aVKdec781hxEi7gSRBkgt5evYCFRlJwAd51au4X7PRRHmio1Hi3UyD2hMnjUmL 98bFa7DQp8dFJmysnlZpZ0AYs/vZCZZFVcrgC9XN6FCkZdqVgBvbgTI9Ve0HrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e8ac98a09db6c18bdcb013d638b6c75ce54d422 commit 3e8ac98a09db6c18bdcb013d638b6c75ce54d422 Author: Stefan Eßer AuthorDate: 2022-07-08 16:26:10 +0000 Commit: Stefan Eßer CommitDate: 2022-07-08 16:26:10 +0000 audio/pcaudiolib: New port: Portable C audio library This is a simple audio library that supports multiple backends: ALSA, OSS, and PulseAudio. The default backend on FreeBSD is OSS, since it is supported by the base system and does not depend on any other port. --- audio/Makefile | 1 + audio/pcaudiolib/Makefile | 27 +++++++++++++++++++++++++++ audio/pcaudiolib/distinfo | 3 +++ audio/pcaudiolib/pkg-descr | 8 ++++++++ audio/pcaudiolib/pkg-plist | 5 +++++ 5 files changed, 44 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 1cb24473b803..8825688353be 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -593,6 +593,7 @@ SUBDIR += pavucontrol SUBDIR += pavucontrol-qt SUBDIR += pavumeter + SUBDIR += pcaudiolib SUBDIR += pc-mixer SUBDIR += pd SUBDIR += pear-Text_Spell_Audio diff --git a/audio/pcaudiolib/Makefile b/audio/pcaudiolib/Makefile new file mode 100644 index 000000000000..dee679ab30ff --- /dev/null +++ b/audio/pcaudiolib/Makefile @@ -0,0 +1,27 @@ +PORTNAME= pcaudiolib +DISTVERSION= 1.2 +CATEGORIES= audio + +MAINTAINER= se@FreeBSD.org +COMMENT= Portable C audio library + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= autoreconf libtool pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= espeak-ng +GNU_CONFIGURE= yes + +OPTIONS_DEFAULT= OSS +OPTIONS_MULTI= Backend +OPTIONS_MULTI_Backend= ALSA OSS PULSEAUDIO + +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio + +ALSA_CONFIGURE_WITH= alsa +OSS_CONFIGURE_WITH= oss +PULSEAUDIO_CONFIGURE_WITH= pulseaudio + +.include diff --git a/audio/pcaudiolib/distinfo b/audio/pcaudiolib/distinfo new file mode 100644 index 000000000000..9781e9225172 --- /dev/null +++ b/audio/pcaudiolib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657291568 +SHA256 (espeak-ng-pcaudiolib-1.2_GH0.tar.gz) = 44b9d509b9eac40a0c61585f756d76a7b555f732e8b8ae4a501c8819c59c6619 +SIZE (espeak-ng-pcaudiolib-1.2_GH0.tar.gz) = 34310 diff --git a/audio/pcaudiolib/pkg-descr b/audio/pcaudiolib/pkg-descr new file mode 100644 index 000000000000..a4e6b01ed956 --- /dev/null +++ b/audio/pcaudiolib/pkg-descr @@ -0,0 +1,8 @@ +The Portable C Audio Library (pcaudiolib) provides a C API to different +audio devices. Supported backends are ALSA, OSS, and PulseAudio. + +This Port can be built with any combination of the supported backends, +but official packages are distributed with OSS support only, in order +to not depend on the other backends being installed. + +WWW: https://github.com/espeak-ng/pcaudiolib diff --git a/audio/pcaudiolib/pkg-plist b/audio/pcaudiolib/pkg-plist new file mode 100644 index 000000000000..0b8d4650adcc --- /dev/null +++ b/audio/pcaudiolib/pkg-plist @@ -0,0 +1,5 @@ +include/pcaudiolib/audio.h +lib/libpcaudio.a +lib/libpcaudio.so +lib/libpcaudio.so.0 +lib/libpcaudio.so.0.0.1