mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
games-util/joycond: new ebuild
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
34
games-util/joycond/joycond-9999.ebuild
Normal file
34
games-util/joycond/joycond-9999.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake git-r3
|
||||
|
||||
DESCRIPTION="Combine joy-cons using hid-nintendo"
|
||||
HOMEPAGE="https://github.com/DanielOgorchock/joycond"
|
||||
EGIT_REPO_URI="https://github.com/DanielOgorchock/joycond"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libevdev
|
||||
virtual/udev
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
games-util/hid-nintendo"
|
||||
BDEPEND=""
|
||||
IUSE="systemd"
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
if ! use systemd; then
|
||||
rm -rf "${D}"/etc/modules-load.d
|
||||
mkdir "${D}"/etc/init.d/
|
||||
echo -e "#!/sbin/openrc-run\ncommand=/usr/bin/${PN}" \
|
||||
> "${D}"/etc/init.d/${PN}
|
||||
chmod +x "${D}"/etc/init.d/${PN}
|
||||
fi
|
||||
}
|
||||
8
games-util/joycond/metadata.xml
Normal file
8
games-util/joycond/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Samuel Bauer</name>
|
||||
<email>samuel.bauer@yahoo.fr</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user