logo

overlay

My own overlay for experimentations, use with caution, no support is provided
commit: a572e698b593a1aa150d6452b5e20d4e9fe2b715
parent: 1809a21891465fde2c8ac182e542124b0a9517c0
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  5 Apr 2020 14:41:52 +0200

Introduce sndio

Diffstat:

Aacct-user/sndiod/sndio-0.ebuild13+++++++++++++
Amedia-sound/sndio/Manifest1+
Amedia-sound/sndio/sndio-1.6.0.ebuild30++++++++++++++++++++++++++++++
3 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/acct-user/sndiod/sndio-0.ebuild b/acct-user/sndiod/sndio-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-user + +DESCRIPTION="daemon user for sndio" +ACCT_USER_ID="-1" +ACCT_USER_GROUPS=( audio ) +ACCT_USER_HOME=/var/lib/sndio + +acct-user_add_deps diff --git a/media-sound/sndio/Manifest b/media-sound/sndio/Manifest @@ -0,0 +1 @@ +DIST sndio-1.6.0.tar.gz 125898 BLAKE2B 1aaee62642a9915d1d23291b7db62844713a0c9379d5c43086ecf3f3bcbfe62c83ef2da7a0342f8416ff51045969493fdf7aa0df3d5a1793e6e682b49a9c3d27 SHA512 32d668b5d50096cc2c5c29823c066475ceb06e394163d346697ceae853650cb407a77279c30f0fe703df894f19e8c818c1b8c0b84c17480cd54b25b6fc9fe3ce diff --git a/media-sound/sndio/sndio-1.6.0.ebuild b/media-sound/sndio/sndio-1.6.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="small audio and MIDI framework part of the OpenBSD project" +HOMEPAGE="http://www.sndio.org/" +SRC_URI="http://www.sndio.org/${P}.tar.gz" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="alsa" + +DEPEND=" + dev-libs/libbsd + media-libs/alsa-lib +" +RDEPEND=" + ${DEPEND} + acct-user/sndiod +" + +src_configure() { + ./configure \ + --prefix=/usr \ + --libdir=/usr/$(get_libdir) \ + --privsep-user=${PN}d \ + --enable-alsa \ + --with-libbsd +}