public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/joycond/files/, games-util/joycond/
Date: Sun, 13 Feb 2022 13:54:30 +0000 (UTC)	[thread overview]
Message-ID: <1644760406.bb14995c2c3ac694708530b2031f8ee7973b7dcc.chewi@gentoo> (raw)

commit:     bb14995c2c3ac694708530b2031f8ee7973b7dcc
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 13:52:35 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 13:53:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb14995c

games-util/joycond: New package

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-util/joycond/Manifest                       |  1 +
 games-util/joycond/files/joycond.initd            |  7 ++++
 games-util/joycond/joycond-0.1.0_p20210730.ebuild | 39 +++++++++++++++++++++++
 games-util/joycond/metadata.xml                   | 11 +++++++
 4 files changed, 58 insertions(+)

diff --git a/games-util/joycond/Manifest b/games-util/joycond/Manifest
new file mode 100644
index 000000000000..8d055c0bbddc
--- /dev/null
+++ b/games-util/joycond/Manifest
@@ -0,0 +1 @@
+DIST joycond-0.1.0_p20210730.tar.gz 29947 BLAKE2B d151e9a798a358e142c44722ce5d9892bc63a7c2992aa6b962a02ab971a8aec9bd343bd56cc26ae36e63d5977d1d0a99c52c35aeb779d352f1bbe2d15010e43c SHA512 1d0a82bd9e2aeecef3215232ffb6acb77008845fe0e8094e81d2b81627cca1e5d581986fad6631c5efd2b29514370fbac8a65d9996df762543d050628327a564

diff --git a/games-util/joycond/files/joycond.initd b/games-util/joycond/files/joycond.initd
new file mode 100644
index 000000000000..f23e1131e753
--- /dev/null
+++ b/games-util/joycond/files/joycond.initd
@@ -0,0 +1,7 @@
+#!/sbin/openrc-run
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/var/run/${RC_SVCNAME}.pid"
+command_background="true"
+command="joycond"

diff --git a/games-util/joycond/joycond-0.1.0_p20210730.ebuild b/games-util/joycond/joycond-0.1.0_p20210730.ebuild
new file mode 100644
index 000000000000..e06a319c6811
--- /dev/null
+++ b/games-util/joycond/joycond-0.1.0_p20210730.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake linux-info
+
+COMMIT="f9a66914622514c13997c2bf7ec20fa98e9dfc1d"
+DESCRIPTION="Daemon that uses hid-nintendo evdev devices to implement joycon pairing"
+HOMEPAGE="https://github.com/DanielOgorchock/joycond"
+SRC_URI="https://github.com/DanielOgorchock/joycond/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+	dev-libs/libevdev
+	virtual/udev
+"
+
+RDEPEND="
+	${DEPEND}
+"
+
+CONFIG_CHECK="
+	~HID
+	~HID_NINTENDO
+	~HIDRAW
+"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+src_install() {
+	cmake_src_install
+	rm -r "${ED}"/etc/modules-load.d/ || die
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	doman doc/${PN}.1
+}

diff --git a/games-util/joycond/metadata.xml b/games-util/joycond/metadata.xml
new file mode 100644
index 000000000000..c529738df197
--- /dev/null
+++ b/games-util/joycond/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">DanielOgorchock/joycond</remote-id>
+	</upstream>
+</pkgmetadata>


                 reply	other threads:[~2022-02-13 13:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1644760406.bb14995c2c3ac694708530b2031f8ee7973b7dcc.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox