commit: 84826ed0e9ad83f5de0cbeeef366fa21b75867bc Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Thu Apr 23 00:30:23 2020 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Thu Apr 23 03:19:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84826ed0
media-plugins/alsa-sndio: New Package Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> media-plugins/alsa-sndio/Manifest | 1 + media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild | 29 ++++++++++++++++++++++++++ media-plugins/alsa-sndio/metadata.xml | 8 +++++++ 3 files changed, 38 insertions(+) diff --git a/media-plugins/alsa-sndio/Manifest b/media-plugins/alsa-sndio/Manifest new file mode 100644 index 0000000..023ec14 --- /dev/null +++ b/media-plugins/alsa-sndio/Manifest @@ -0,0 +1 @@ +DIST alsa-sndio-0.2.tar.gz 4119 BLAKE2B 6b4e2f120fe825052bf6902c95db3f535f456d2ea4befa88f52f632e05ba45c06a1795e3ec8281491e4179f15476bcf752d143c6a514909f1313338c5c02e7f1 SHA512 50371881eaceb224703632df1078ea6d39eb51d9cc652029cc75a41f4b66f4a1d73f8f9b07cfbba27c11db5c6bcf5c4c9c80e26d0d7b8a305bc6a48f9f63e8c7 diff --git a/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild b/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild new file mode 100644 index 0000000..23a00cd --- /dev/null +++ b/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Sndio audio sink and source for GStreamer" +HOMEPAGE="https://github.com/Duncaen/alsa-sndio" +SRC_URI="https://github.com/Duncaen/alsa-sndio/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + media-libs/alsa-lib + media-sound/sndio:= +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i "s;/lib/alsa-lib/;/$(get_libdir)/alsa-lib/;" Makefile || die "Failed changing libdir" +} + +src_install() { + export PREFIX="/usr" + + default +} diff --git a/media-plugins/alsa-sndio/metadata.xml b/media-plugins/alsa-sndio/metadata.xml new file mode 100644 index 0000000..c698af2 --- /dev/null +++ b/media-plugins/alsa-sndio/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cont...@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> +</pkgmetadata>