public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/logiops/
Date: Mon, 22 May 2023 21:35:59 +0000 (UTC)	[thread overview]
Message-ID: <1684791346.a297435e581c29120dd5df4206a3721ad1c5da48.conikost@gentoo> (raw)

commit:     a297435e581c29120dd5df4206a3721ad1c5da48
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 21:30:44 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon May 22 21:35:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a297435e

app-misc/logiops: add 0.3.2

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-misc/logiops/Manifest             |  1 +
 app-misc/logiops/logiops-0.3.2.ebuild | 77 +++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/app-misc/logiops/Manifest b/app-misc/logiops/Manifest
index da95a6b208d6..d251629e3044 100644
--- a/app-misc/logiops/Manifest
+++ b/app-misc/logiops/Manifest
@@ -1,3 +1,4 @@
 DIST ipcgull-0.1.tar.gz 31909 BLAKE2B dc86ce909682e6683ed127eb0824c1dd031a2082879f02832005f4ee7157e89a584829d96d9656a984047fea27094f59591361b0a491cd07a9331a6fa9c2560b SHA512 04dc7305d0fc825fc701ff13bee44ed0606eaed29428d82e93c600efc8fba3cc47895ecd32d4ab9d045ca561161cce9f5bd30e87192e83916a433f4919454d76
 DIST logiops-0.2.3.tar.gz 69321 BLAKE2B f188c39bcf4a9d386a34a97612fed45db1bf93858717d4c6fc4ba08a78acd1ae020cef875421d4131cdc3f0219c848c67b7793888ac13e064539ebea293b4afd SHA512 5a7b7e76a89759a30e25da6117992e96d0a1a0db25af3d524d725e753fb5ce5fc67c8a5bdeb8b707a81f99eadfc8f24035a3a5e4544b1153bdedd2373a65173d
 DIST logiops-0.3.1.tar.gz 85535 BLAKE2B edef0ab57ee09d47cd6f0c214189c7b7afaa113ab882d7e3449a0818d4753250627671ad135748824de77680b63d113a64d8581571fdcaf2adbb5ed7c9a3885a SHA512 9b98b415fc3231066a51d3da780fd230f43a823316405eb4faba454b6fc5e3eb3b3b30cdeaf83126b848bfb267d4ff97ae8a19a9a76f48510f3af8fe3969bdab
+DIST logiops-0.3.2.tar.gz 87067 BLAKE2B 0c938824c8c8f8e5a26fbdcb47a2f04ef0316e3750cb85425083e17d68ee23726d99ba6c811045201cebe1c1ef3e58f1bcec0512f599c487494841f2ac3aa9c0 SHA512 c69dbf6f220e57515a9641de83625b533943fc78197dc1abbd9767e22fe58e60a55eedb2e9510131cfcda4e9d4f304038be89a70c7c45238a1c7846047d8d59a

diff --git a/app-misc/logiops/logiops-0.3.2.ebuild b/app-misc/logiops/logiops-0.3.2.ebuild
new file mode 100644
index 000000000000..b66a3673f1e5
--- /dev/null
+++ b/app-misc/logiops/logiops-0.3.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN_IPCGULL="ipcgull"
+MY_PV_IPCGULL="0.1"
+
+inherit cmake linux-info
+
+DESCRIPTION="An unofficial userspace driver for HID++ Logitech devices"
+HOMEPAGE="https://github.com/PixlOne/logiops"
+SRC_URI="
+	https://github.com/PixlOne/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/PixlOne/${MY_PN_IPCGULL}/archive/refs/tags/v${MY_PV_IPCGULL}.tar.gz -> ${MY_PN_IPCGULL}-${MY_PV_IPCGULL}.tar.gz
+"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+DEPEND="
+	dev-libs/glib
+	dev-libs/libconfig:=[cxx]
+	dev-libs/libevdev
+	sys-apps/dbus
+	virtual/libudev
+	systemd? ( sys-apps/systemd )
+"
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( "README.md" "TESTED.md" )
+
+PATCHES=( "${FILESDIR}/${MY_PN_IPCGULL}-0.1-gcc13.patch" )
+
+pkg_pretend() {
+	local CHECK_CONFIG="~HID_LOGITECH ~HID_LOGITECH_HIDPP"
+
+	check_extra_config
+}
+
+src_unpack() {
+	default
+
+	# Submodule, which needs to be present for compilation
+	mv "${WORKDIR}/${MY_PN_IPCGULL}-${MY_PV_IPCGULL}" "${WORKDIR}/${MY_PN_IPCGULL}" || die
+	mv "${WORKDIR}/${MY_PN_IPCGULL}" "${S}/src" || die
+}
+
+src_configure() {
+	local mycmakeargs=( -DLOGIOPS_VERSION="${PV}" )
+
+	cmake_src_configure
+}
+
+src_install() {
+	default
+
+	cmake_src_install
+
+	# Install lib of submodule, as no install routine exist
+	dolib.so "${BUILD_DIR}/src/ipcgull/libipcgull.so"
+
+	insinto /etc
+	newins logid.example.cfg logid.cfg
+
+	newinitd "${FILESDIR}"/logid.initd logid
+}
+
+pkg_postinst() {
+	einfo "An example config file has been installed as /etc/logid.cfg."
+	einfo "See https://github.com/PixlOne/logiops/wiki/Configuration for more information."
+}


             reply	other threads:[~2023-05-22 21:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-22 21:35 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-29 14:57 [gentoo-commits] repo/gentoo:master commit in: app-misc/logiops/ Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2023-08-26 23:42 Conrad Kostecki
2023-08-26 23:42 Conrad Kostecki
2023-07-23 19:34 Conrad Kostecki
2023-06-24 21:36 Conrad Kostecki
2023-06-24 21:36 Conrad Kostecki
2023-05-22 21:35 Conrad Kostecki
2021-03-28 11:34 Conrad Kostecki
2021-03-28 11:34 Conrad Kostecki
2021-03-22  8:34 Sam James
2021-02-16 17:28 Conrad Kostecki

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=1684791346.a297435e581c29120dd5df4206a3721ad1c5da48.conikost@gentoo \
    --to=conikost@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