From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D1B915817D for ; Mon, 17 Jun 2024 22:31:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABC7D2BC03A; Mon, 17 Jun 2024 22:31:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FE692BC036 for ; Mon, 17 Jun 2024 22:31:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6BF5335D6E for ; Mon, 17 Jun 2024 22:31:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A4451D39 for ; Mon, 17 Jun 2024 22:31:41 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1718663375.df273a5c26ab7238aa1a057a59a2767dbd24217c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/logiops/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/logiops/Manifest app-misc/logiops/logiops-0.3.4.ebuild X-VCS-Directories: app-misc/logiops/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: df273a5c26ab7238aa1a057a59a2767dbd24217c X-VCS-Branch: master Date: Mon, 17 Jun 2024 22:31:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f474affd-e89c-487a-8255-5ef954dd7415 X-Archives-Hash: ab7cbbc8ddf89ab723058cb1ee2cd97c commit: df273a5c26ab7238aa1a057a59a2767dbd24217c Author: Conrad Kostecki gentoo org> AuthorDate: Mon Jun 17 21:36:45 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Mon Jun 17 22:29:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df273a5c app-misc/logiops: add 0.3.4 Signed-off-by: Conrad Kostecki gentoo.org> app-misc/logiops/Manifest | 1 + app-misc/logiops/logiops-0.3.4.ebuild | 73 +++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-misc/logiops/Manifest b/app-misc/logiops/Manifest index 1ad31885753e..8939f8e085c2 100644 --- a/app-misc/logiops/Manifest +++ b/app-misc/logiops/Manifest @@ -1 +1,2 @@ DIST logiops-v0.3.3.tar.gz 117966 BLAKE2B b7bb2997b38c33d70d2c8a8ef5a931d6aa021e200a48141dc3aca106e081adde91f23aece0c5d5a9dc66376a7b98354b6e59a13360e55cb7db631322b2fe2ee3 SHA512 87d84c9778cd046761a639fc775e8ea4f01d9864c532c55768a35dbd8718a561c398b44f0f3147403d45eac121c74f9fe84f6ac75e4d1c26d3f4f0da2ee5b4fa +DIST logiops-v0.3.4.tar.gz 117080 BLAKE2B b68d470abfde28cc12cd553889b0150c99e072f157b8c7ef1c8a1850b74de48fb987942e4bf36a1f75d612ff639f304d2cc128b94f1f2bcf1be4d4eb4867d142 SHA512 482a26e6669aa3e35202e2281a41d0f4976a1f989fd5457d337b291573461198006b8a8d639ccdf65ed18749d0d0bbab12f8d3514d75964d3616851973c08e05 diff --git a/app-misc/logiops/logiops-0.3.4.ebuild b/app-misc/logiops/logiops-0.3.4.ebuild new file mode 100644 index 000000000000..56237913911b --- /dev/null +++ b/app-misc/logiops/logiops-0.3.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}-v${PV}" + +inherit cmake flag-o-matic linux-info + +DESCRIPTION="An unofficial userspace driver for HID++ Logitech devices" +HOMEPAGE="https://github.com/PixlOne/logiops" +SRC_URI="https://github.com/PixlOne/${PN}/releases/download/v${PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +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" ) + +pkg_pretend() { + local CHECK_CONFIG="~HID_LOGITECH ~HID_LOGITECH_HIDPP" + + check_extra_config +} + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/924426 + # https://github.com/PixlOne/logiops/issues/445 + filter-lto + + local mycmakeargs=( + -DBUILD_SHARED="ON" + -DBUILD_STATIC="OFF" + -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." +}