Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717974 - dev-libs/libratbag-0.13 update
Summary: dev-libs/libratbag-0.13 update
Status: RESOLVED DUPLICATE of bug 682372
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-18 01:43 UTC by Jerrod Frost
Modified: 2020-05-15 08:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch for latest libratbag version (libratbag.ebuild.patch,537 bytes, patch)
2020-04-18 01:43 UTC, Jerrod Frost
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jerrod Frost 2020-04-18 01:43:07 UTC
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
}
Comment 1 Ștefan Talpalaru 2020-04-28 17:02:40 UTC
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
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-15 08:29:37 UTC

*** This bug has been marked as a duplicate of bug 682372 ***