diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-05-25 23:08:23 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-21 23:29:34 +0100 |
commit | cf1e97177ce42e07e73be3cfbb93efa7d28c31a1 (patch) | |
tree | 50aee17dc2ca09e6a541daa8c2d15abe16023b9c /media-sound | |
parent | net-mail/automx2: Remove obsolete ebuilds (diff) | |
download | gentoo-cf1e97177ce42e07e73be3cfbb93efa7d28c31a1.tar.gz gentoo-cf1e97177ce42e07e73be3cfbb93efa7d28c31a1.tar.bz2 gentoo-cf1e97177ce42e07e73be3cfbb93efa7d28c31a1.zip |
media-sound/sndio: Version bump, 1.8.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/21219
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/sndio/Manifest | 1 | ||||
-rw-r--r-- | media-sound/sndio/sndio-1.8.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-sound/sndio/Manifest b/media-sound/sndio/Manifest index f7209fc90808..a26a8429f5f8 100644 --- a/media-sound/sndio/Manifest +++ b/media-sound/sndio/Manifest @@ -1 +1,2 @@ DIST sndio-1.7.0.tar.gz 147989 BLAKE2B 20f5969cfd6d6a62d9c04e493eda7648f686ad394db18e43ae574db235f31a025705f40f9c6ea821e04449bc1cdbc35c23dbeff9575b71fccc92c24140341d7e SHA512 f9db7bad5f30e8790488c4d20198c8a5a51f04f94e4b1067eadd7fe0fcc6f6ced3250173a627439d661dcf6faabc7bc4786b30af013788a5c88d972f1c9dc1f8 +DIST sndio-1.8.0.tar.gz 156249 BLAKE2B 46d279c0a9ab40253d9f4abf5892d6c2cbbbeeeeb5ff72f45287b16adce122550025ee2d50b45de5e6952dfac1f25041e520692b0afc31ce9cfa5e122d8799fa SHA512 c3225e59e50c3dee41df7df1d87d32ed616117ea6883d9c643a57091b2239b03988c00230882c32f68331952852781dccb8bdc5a6c92780d97a294a1bd9d8ef8 diff --git a/media-sound/sndio/sndio-1.8.0.ebuild b/media-sound/sndio/sndio-1.8.0.ebuild new file mode 100644 index 000000000000..16b9e5b69d36 --- /dev/null +++ b/media-sound/sndio/sndio-1.8.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~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 +" + +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" +} |