www-plugins/onyx - 0.9.2.1 (jm-overlay)

Search

Install

Install this version:

emerge -a =www-plugins/onyx-0.9.2.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-plugins/onyx-0.9.2.1

Or alternatively:

emerge --autounmask-write -a =www-plugins/onyx-0.9.2.1

Package Information

Description:
Native component for OverbiteNX, a Gopher client add-on for Firefox
Homepage:
https://github.com/classilla/overbitenx
License:
FFSL

Ebuild Details

Version EAPI Keywords Slot
0.9.2.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Native component for OverbiteNX, a Gopher client add-on for Firefox"
HOMEPAGE="https://github.com/classilla/overbitenx"
SRC_URI="https://github.com/classilla/overbitenx/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="FFSL"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

S="${WORKDIR}/overbitenx-${PV}"

src_prepare() {
	sed -i "s/ -g//g" Makefile.generic || die
	sed -i "s|/home/linus/bin/onyx|/usr/bin/onyx|g" EXAMPLE_onyx.json || die
	eapply_user
}

src_compile() {
	emake -f Makefile.generic CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}

src_install() {
	dobin onyx
	insinto "/usr/$(get_libdir)/mozilla/native-messaging-hosts"
	newins EXAMPLE_onyx.json onyx.json
}

Inherited Eclasses

Manifest for 0.9.2.1

Type File Size Source URLs
DIST onyx-0.9.2.1.tar.gz 32848 bytes https://github.com/classilla/overbitenx/archive/refs/tags/0.9.2.1.tar.gz