Created attachment 633436 [details, diff] ebuild patch for latest libratbag version There were some changes in the way libratbag compiles. the ebuild needs a couple changes to work. # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python3_{6,7,8} ) inherit python-single-r1 meson udev DESCRIPTION="Library to configure gaming mice" HOMEPAGE="https://github.com/libratbag/libratbag" SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc test" RESTRICT="!test? ( test )" DEPEND=" virtual/pkgconfig doc? ( app-doc/doxygen ) dev-libs/check dev-util/valgrind " RDEPEND=" dev-libs/libevdev virtual/libudev " src_prepare() { default sed '/default:/d' -i meson_options.txt || die } src_configure() { local emesonargs=( -Denable-documentation=$(usex doc true false) -Denable-tests=$(usex test true false) -Dudev-dir=$(get_udevdir) ) meson_src_configure }
A more complete libratbag-0.13 ebuild is available in my overlay: https://github.com/stefantalpalaru/gentoo-overlay A similar ebuild is in the process of being upstreamed by another user: https://github.com/gentoo/gentoo/pull/15323
*** This bug has been marked as a duplicate of bug 682372 ***