games-util/evdevhook2 - 1.0.2 (xarblu-overlay)

Search

Install

Install this version:

emerge -a =games-util/evdevhook2-1.0.2

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

autounmask =games-util/evdevhook2-1.0.2

Or alternatively:

emerge --autounmask-write -a =games-util/evdevhook2-1.0.2

Package Information

Description:
Cemuhook UDP server for devices with modern Linux drivers
Homepage:
https://github.com/v1993/evdevhook2
License:
Apache-2.0

Ebuild Details

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

EAPI=8

inherit vala meson

DESCRIPTION="Cemuhook UDP server for devices with modern Linux drivers"
HOMEPAGE="https://github.com/v1993/evdevhook2"

GCEMUHK_V="91ef61cca809f5f3b9fa6e5304aba284a56c06dc"

SRC_URI="
	https://github.com/v1993/evdevhook2/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/v1993/gcemuhook/archive/${GCEMUHK_V}.tar.gz -> gcemuhook-${GCEMUHK_V}.tar.gz
"

IUSE="battery"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
	>=dev-libs/glib-2.50:=
	>=dev-libs/libgee-0.20:=
	>=virtual/zlib-1.2:=
"
RDEPEND="
	${DEPEND}
	virtual/libudev
	dev-libs/libevdev
	battery? ( sys-power/upower )
"
BDEPEND="
	${DEPEND}
	$(vala_depend)
"

src_prepare() {
	default
	vala_setup

	# QA: install docs via dodoc
	sed -i -e '/.*ExampleConfig\.ini.*/d' meson.build || die "sed failed"

	# symlink submodule
	ln -sfv "${WORKDIR}/gcemuhook-${GCEMUHK_V}" "${S}/subprojects/gcemuhook"
}

src_install() {
	meson_src_install
	dodoc ExampleConfig.ini
}

pkg_postinst() {
	elog "An example config was installed to /usr/share/doc/${P}/ExampleConfig.ini"
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-util/evdevhook2 | euse -E <flag> -p games-util/evdevhook2 | euse -D <flag> -p games-util/evdevhook2

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	>=dev-libs/glib-2.50:=
	>=dev-libs/libgee-0.20:=
	>=virtual/zlib-1.2:=

RDEPEND

	
	>=dev-libs/glib-2.50:=
	>=dev-libs/libgee-0.20:=
	>=virtual/zlib-1.2:=

	virtual/libudev
	dev-libs/libevdev
	battery? ( sys-power/upower )

BDEPEND

	${DEPEND}
	$(vala_depend)

Manifest for 1.0.2

Type File Size Source URLs
DIST evdevhook2-1.0.2.tar.gz 30797 bytes https://github.com/v1993/evdevhook2/archive/v1.0.2.tar.gz
DIST gcemuhook-91ef61cca809f5f3b9fa6e5304aba284a56c06dc.tar.gz 14059 bytes https://github.com/v1993/gcemuhook/archive/91ef61cca809f5f3b9fa6e5304aba284a56c06dc.tar.gz