logo

overlay

My own overlay for experimentations, use with caution, no support is provided
commit: d0b35a77e2b950ca368f47559272153018a086d3
parent e417a55f60b60020248fc82635282683b42f3154
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  8 Oct 2020 07:12:53 +0200

media-sound/oss: Add live ebuild

Diffstat:

Amedia-sound/oss/oss-4.2.9999.ebuild40++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+), 0 deletions(-)

diff --git a/media-sound/oss/oss-4.2.9999.ebuild b/media-sound/oss/oss-4.2.9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="Open Sound System (OSS)" +HOMEPAGE="http://www.opensound.com/" +EGIT_REPO_URI="https://git.code.sf.net/p/opensound/git" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" + +DEPENDS="x11-libs/gtk+:2" +RDEPENDS="${DEPENDS}" + +src_prepare() { + default + + mkdir "${S}_build" || die "Failed creating empty build directory" +} + +src_configure() { + cd "${S}_build" || die "Failed changing to build directory" + + "${S}/configure" --enable-libsalsa=NO || die "Failed running ./configure" +} + +src_compile() { + cd "${S}_build" || die "Failed changing to build directory" + + emake build +} + +src_install() { + cd "${S}_build" || die "Failed changing to build directory" + + emake DESTDIR="${D}/" copy +}