summaryrefslogtreecommitdiff
path: root/app-misc/logiops
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-18 00:10:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-18 00:10:02 +0100
commitccaccfe4f1da8c11d9fa110f6e4eb847358769d7 (patch)
treeff02c95ae3d9a1e73e2a182e268161743d81a88b /app-misc/logiops
parent74e526c590f52d24a213e25f77858ae0b34ec2c8 (diff)
gentoo auto-resync : 18:06:2024 - 00:10:02
Diffstat (limited to 'app-misc/logiops')
-rw-r--r--app-misc/logiops/Manifest2
-rw-r--r--app-misc/logiops/logiops-0.3.4.ebuild73
2 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/logiops/Manifest b/app-misc/logiops/Manifest
index 5bca6261a858..6ab6bdc85e2e 100644
--- a/app-misc/logiops/Manifest
+++ b/app-misc/logiops/Manifest
@@ -1,5 +1,7 @@
AUX logid.initd 509 BLAKE2B 950294904989544d1dea65f516493a986cbe8556a17e66f7be0cd33f19d514b38e820c61241d32785d6f3607d6f2c6a2af4270ab60dc72dfcc5a5ffa7b91779f SHA512 bf98e11c87d9486dd3f59494eae7fda9536bc6a90166bf8fa5c4226d189a86bc83aa9192d0b8f6e962cdc7d0f76e295d50c7c345f9ae445926670ecfe3b6830b
AUX logiops-0.3.3-gcc-14.patch 777 BLAKE2B 8eb2760872f2e92f610ede55da196a4d7ba6102479878c61de2622be0e9e0a63110b8b667ed788e06dc087068fcce427b6f7a5fb7d4774b72208be2bcf5e639d SHA512 ca241874be1d285b7a6c3deac3e2ceba4897863c1ec6716fb5ce00d38a46abe798f98efbd91c8048769a682afb429d14b27356c75126bca2a07ffee98d2728cb
DIST logiops-v0.3.3.tar.gz 117966 BLAKE2B b7bb2997b38c33d70d2c8a8ef5a931d6aa021e200a48141dc3aca106e081adde91f23aece0c5d5a9dc66376a7b98354b6e59a13360e55cb7db631322b2fe2ee3 SHA512 87d84c9778cd046761a639fc775e8ea4f01d9864c532c55768a35dbd8718a561c398b44f0f3147403d45eac121c74f9fe84f6ac75e4d1c26d3f4f0da2ee5b4fa
+DIST logiops-v0.3.4.tar.gz 117080 BLAKE2B b68d470abfde28cc12cd553889b0150c99e072f157b8c7ef1c8a1850b74de48fb987942e4bf36a1f75d612ff639f304d2cc128b94f1f2bcf1be4d4eb4867d142 SHA512 482a26e6669aa3e35202e2281a41d0f4976a1f989fd5457d337b291573461198006b8a8d639ccdf65ed18749d0d0bbab12f8d3514d75964d3616851973c08e05
EBUILD logiops-0.3.3.ebuild 1510 BLAKE2B 39a00b7069cf85277ff76b47e84502f2658414fe204cd2be7f8b740ac7992c82832bfb3dae3797bcce97d562e356240d7ad83492acef4b54812d0abd9fd46bfa SHA512 7e7b14811f5842866d7ddebd4f567bd2d10cde097af38ea78fb68734e1dc7d563a1d2fa5e8baa7914a676ce38b2d47bce17d6c8cda497d116101617880e1eb15
+EBUILD logiops-0.3.4.ebuild 1459 BLAKE2B 256dc62f419da65f5aeb813626566888185890bee16314f786bd815ca0ae2862959bdb14bbaeb3acbecbbdee3ce61dd8c1df96ecb3a355212dd8900c58dfabdc SHA512 361d378cc1ce019178d6ae342dc25201218b9384fbdd56ba369fb8b938da666db61a5314331d79d7b3d982de4ae57110f1bc2fc9da4dc11e599d6bd135a4caef
MISC metadata.xml 394 BLAKE2B 6ff8b462c12d3e99a5362e39bc7f9915d7ded195ade7e3006b49313722c69935dbf266154375d7438f7099f46b4773eee8093b8324304ab75fc26fd45090049c SHA512 31dd662e8c6b51205160dc491de0ce6f4b8665a435de337e2265ed7e846d2b3115eef0fc47473179127caa3aae8e663885f7aedf27ab1c905b432d293c6d9e71
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."
+}