Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gentoo ebuilds - checking for required kernel modules #1

Open
Miwer opened this issue Oct 27, 2009 · 2 comments
Open

Gentoo ebuilds - checking for required kernel modules #1

Miwer opened this issue Oct 27, 2009 · 2 comments

Comments

@Miwer
Copy link

Miwer commented Oct 27, 2009

Hi,

I've made a patch for the Gentoo ebuild in the layman overlay, that will check if the relevent kernel modules are enabled.

(I wonder how I can attach the patch to this issue?!)

@Miwer
Copy link
Author

Miwer commented Oct 27, 2009

Oh well, I'll try to paste it here, then....

--- cwiid-0.6.00.ebuild.orig    2009-10-27 23:01:50.000000000 +0100
+++ cwiid-0.6.00.ebuild 2009-10-27 23:01:07.000000000 +0100
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit eutils
+inherit eutils linux-mod
 
 DESCRIPTION="Library, input driver, and utilities for the Nintendo Wiimote"
 HOMEPAGE="http://abstrakraft.org/cwiid"
@@ -21,6 +21,11 @@
        net-wireless/bluez-libs
        python? ( >=dev-lang/python-2.4 )"
 
+pkg_setup() {
+       CONFIG_CHECK="BT_L2CAP INPUT_UINPUT"
+       linux-mod_pkg_setup
+}
+
 src_compile() {
        econf $(use_with python) --disable-ldconfig || die "died running econf"
        emake || die "died running emake"

@cloc3
Copy link

cloc3 commented Dec 2, 2010

your ebuild is similar with my previous, in issue 7:
https://github.com/abstrakraft/cwiid/issues#issue/7

even if mine ebuild works for git cwiid version (-9999).
may be useful to join our work to put both ebuilds in some public overlay.

infact, the previous version of cwiid-0.6.00, from here and from here:
http://gpo.zugaina.org/app-misc/cwiid/Bugs

was deprecated.

I'm just a gentoo user, not a programmer.
if you want to mantain this ebuild do it.

otherway help me to publish somewhere my wiidea overlay:
http://bugs.gentoo.org/show_bug.cgi?id=334809

I proposed myself as a proxy-mantainer for this overlay, but I had no answer.
the overlay contains a version of experimental cwiid ebuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants