sys-libs/hidrd - 0.2.0 (gentoo-linux-surface-overlay)

Search

Install

Install this version:

emerge -a =sys-libs/hidrd-0.2.0

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

autounmask =sys-libs/hidrd-0.2.0

Or alternatively:

emerge --autounmask-write -a =sys-libs/hidrd-0.2.0

Package Information

Description:
A library and tool for processing HID report descriptors
Homepage:
https://github.com/DIGImend/hidrd
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit autotools flag-o-matic

DESCRIPTION="A library and tool for processing HID report descriptors"
HOMEPAGE="https://github.com/DIGImend/hidrd"
SRC_URI="https://github.com/DIGImend/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="sys-libs/libcap"
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/fallthrough.patch"
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	# Fix multiple definition errors
	append-flags -fcommon
	econf
}

src_install() {
	default
	find "${D}" -name '*.la' -delete || die
}

Inherited Eclasses

Dependencies

DEPEND

sys-libs/libcap

RDEPEND

sys-libs/libcap