From 9fea00efb8de47eadf17c710196d8a619bce7f85 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Wed, 1 Dec 2021 16:00:58 -0500 Subject: [PATCH] rdio-scanner: not working yet this starts the build but clearly needs a bunch of go stuff which I don't even begin to understand --- .../rdio-scanner/rdio-scanner-9999.ebuild | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 media-radio/rdio-scanner/rdio-scanner-9999.ebuild diff --git a/media-radio/rdio-scanner/rdio-scanner-9999.ebuild b/media-radio/rdio-scanner/rdio-scanner-9999.ebuild new file mode 100644 index 000000000..f57ebeaee --- /dev/null +++ b/media-radio/rdio-scanner/rdio-scanner-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +DESCRIPTION="" +HOMEPAGE="" +EGIT_REPO_URI="https://github.com/chuot/rdio-scanner.git" +EGIT_BRANCH="v6-beta" +SRC_URI="" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +DEPEND="doc? ( app-text/pandoc )" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + addpredict /etc/npm + if ! use doc; then + sed -i '/pandoc/d' Makefile + fi + use amd64 && emake linux-amd64 + use x86 && emake linux-386 + use arm64 && emake linux-arm64 + use arm && emake linux-arm +}