logo

overlay

My (experimental) gentoo overlay
commit: 8476cd2e8a144a0cd79b86b9f1c1879d3f938f71
parent: 8c9508bff1a0db4ef8285da1e4a5613d3face1ff
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  8 Mar 2018 01:17:06 +0100

dev-dotnet/nuget: Fix `nuget` path

Diffstat:

Mdev-dotnet/nuget/nuget-4.5.1.ebuild1+
Agames-arcade/osu-lazer/metadata.xml8++++++++
Agames-arcade/osu-lazer/osu-lazer-9999.999.9.ebuild53+++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/dev-dotnet/nuget/nuget-4.5.1.ebuild b/dev-dotnet/nuget/nuget-4.5.1.ebuild @@ -17,6 +17,7 @@ S="${WORKDIR}" src_compile() { :; } src_install() { + insinto "/usr/bin" doexe "${FILESDIR}/nuget" insinto "/usr/lib/${PN}" doins "${DISTDIR}/nuget.exe" diff --git a/games-arcade/osu-lazer/metadata.xml b/games-arcade/osu-lazer/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>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> +</maintainer> +</pkgmetadata> diff --git a/games-arcade/osu-lazer/osu-lazer-9999.999.9.ebuild b/games-arcade/osu-lazer/osu-lazer-9999.999.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Scavenged parts from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=osu-lazer-git + +EAPI=6 + +inherit git-r3 + +DESCRIPTION="rhythm is just a *click* away!" +HOMEPAGE="https://github.com/ppy/osu" +SRC_URI="" + +LICENSE="MIT CC-BY-NC-4.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +EGIT_REPO_URI="https://github.com/ppy/osu.git" + +DEPEND=" + >dev-lang/mono-5.4.0.201 + >dev-dotnet/nuget-4.0.0" +RDEPEND="${DEPEND}" + +src_prepare() { + mkdir -p "osu.Game/bin/Release" || die "Failed creating directory for Release" + ln -s "/usr/lib/mono/4.5/Facades/netstandard.dll" "osu.Game/bin/Release" || die "Failed symlinking netstandard.dll from mono" + nuget restore || die "Failed restoring NuGet packages (do you have internet?)" + default +} + +src_compile() { + export MONO_IOMAP="case" + xbuild /property:Configuration=Release + + rm "osu.Game/bin/Release/netstandard.dll" + rm "osu.Desktop/bin/Release/netstandard.dll" +} + +src_install() { + cd "osu.Desktop/bin/Release" + + insinto "/usr/lib/${PN}" + + for binary in *.exe *.dll; do + doins "$binary" + done + + doins 'libbass.'*'.so' + doins 'libbass_fx.'*'.so' + doins 'libe_sqlite3.so' +}