diff options
author | tim <no> | 2023-01-25 23:30:28 -0500 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-02-11 13:14:56 +0200 |
commit | 07a5aaa58f1f69f7742d3e9a4ff191b6466932fa (patch) | |
tree | a5e7f094bac6db37b627dbd57b6f80ff9260ef8b /media-sound/sndio | |
parent | dev-ml/camlp4: RDEP changed (diff) | |
download | gentoo-07a5aaa58f1f69f7742d3e9a4ff191b6466932fa.tar.gz gentoo-07a5aaa58f1f69f7742d3e9a4ff191b6466932fa.tar.bz2 gentoo-07a5aaa58f1f69f7742d3e9a4ff191b6466932fa.zip |
media-sound/sndio: Add 1.9.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/29280
Diffstat (limited to 'media-sound/sndio')
-rw-r--r-- | media-sound/sndio/Manifest | 1 | ||||
-rw-r--r-- | media-sound/sndio/sndio-1.9.0.ebuild | 55 | ||||
-rw-r--r-- | media-sound/sndio/sndio-9999.ebuild | 4 |
3 files changed, 58 insertions, 2 deletions
diff --git a/media-sound/sndio/Manifest b/media-sound/sndio/Manifest index c039233d8e43..09c5535dae7e 100644 --- a/media-sound/sndio/Manifest +++ b/media-sound/sndio/Manifest @@ -1 +1,2 @@ DIST sndio-1.8.0.tar.gz 156249 BLAKE2B 46d279c0a9ab40253d9f4abf5892d6c2cbbbeeeeb5ff72f45287b16adce122550025ee2d50b45de5e6952dfac1f25041e520692b0afc31ce9cfa5e122d8799fa SHA512 c3225e59e50c3dee41df7df1d87d32ed616117ea6883d9c643a57091b2239b03988c00230882c32f68331952852781dccb8bdc5a6c92780d97a294a1bd9d8ef8 +DIST sndio-1.9.0.tar.gz 157354 BLAKE2B d7e5f8137f87096a0260679afba84e4952bb060e28df6cb9a184fb4436b627a0fc8260cc29e459f3cca4d10372f96424f18e19ddf5805d281cbb8c538fbfffa2 SHA512 f322886e428a4b5bf6867f9faaeaea26d377babbf4176960a0287ebcb0b678bf3cbac134c6c08838c9bd2094a68286be2f2df71ca0f55b7b0e816fdea9cd41cf diff --git a/media-sound/sndio/sndio-1.9.0.ebuild b/media-sound/sndio/sndio-1.9.0.ebuild new file mode 100644 index 000000000000..be68ea5c4d6e --- /dev/null +++ b/media-sound/sndio/sndio-1.9.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal toolchain-funcs + +DESCRIPTION="small audio and MIDI framework part of the OpenBSD project" +HOMEPAGE="http://www.sndio.org/" +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://caoua.org/git/sndio" + EGIT_MIN_CLONE_TYPE="single+tags" +else + SRC_URI="http://www.sndio.org/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="ISC" +SLOT="0/7.1" +IUSE="alsa" + +DEPEND=" + dev-libs/libbsd[${MULTILIB_USEDEP}] + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${DEPEND} + acct-user/sndiod +" + +PATCHES=( "${FILESDIR}"/sndio-1.8.0-fix-hardcoded-pkgconfdir.patch ) + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + tc-export CC + + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --privsep-user=sndiod \ + --with-libbsd \ + $(use_enable alsa) \ + || die "Configure failed" +} + +src_install() { + multilib-minimal_src_install + + doinitd "${FILESDIR}/sndiod" +} diff --git a/media-sound/sndio/sndio-9999.ebuild b/media-sound/sndio/sndio-9999.ebuild index b6b73835da2b..14c0d5548130 100644 --- a/media-sound/sndio/sndio-9999.ebuild +++ b/media-sound/sndio/sndio-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit multilib-minimal toolchain-funcs |