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 6AA3A159C9B for ; Sun, 11 Aug 2024 22:36:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7300FE2C81; Sun, 11 Aug 2024 22:36:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 583B6E2C81 for ; Sun, 11 Aug 2024 22:36:47 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88F2A33BF29 for ; Sun, 11 Aug 2024 22:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF96A13E1 for ; Sun, 11 Aug 2024 22:36:44 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1723415802.f03f80d62f7aacb6ba1876e19cbe9f6e8d9c52e2.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/antimicrox/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/antimicrox/Manifest games-util/antimicrox/antimicrox-3.4.1.ebuild X-VCS-Directories: games-util/antimicrox/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: f03f80d62f7aacb6ba1876e19cbe9f6e8d9c52e2 X-VCS-Branch: master Date: Sun, 11 Aug 2024 22:36:44 +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: f70bb3f5-caf0-49c7-9f71-0c294dbe1eef X-Archives-Hash: 9f52d69e2b09de9bd28d620bdc29884f commit: f03f80d62f7aacb6ba1876e19cbe9f6e8d9c52e2 Author: Maciej Barć gentoo org> AuthorDate: Sun Aug 11 21:54:21 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Aug 11 22:36:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03f80d6 games-util/antimicrox: bump to 3.4.1 Signed-off-by: Maciej Barć gentoo.org> games-util/antimicrox/Manifest | 1 + games-util/antimicrox/antimicrox-3.4.1.ebuild | 87 +++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/games-util/antimicrox/Manifest b/games-util/antimicrox/Manifest index 18da316b8fd5..cc487da35141 100644 --- a/games-util/antimicrox/Manifest +++ b/games-util/antimicrox/Manifest @@ -1 +1,2 @@ DIST antimicrox-3.4.0.tar.gz 2178105 BLAKE2B 3ad367b9044c7bbc00e673e9673a476b88785724174ab7b12d9f9ff6c1381731b94ac5012fef04e74685219dd2b9414f86eb851c1145b7a6d4ba827240071ee1 SHA512 be2c811998508590c3dce17dd1a0d3a51bcaa6c629a4a74ac22a82f995eed3ce5ce4583667e47418b8b7c934b2f9bf6ad3d5f6d9eec5216e7f5c731aa82bcc69 +DIST antimicrox-3.4.1.tar.gz 2234767 BLAKE2B f61789d9edb7156ec3cf38cba22536bf74400f2bd7345a7daaf32b41f5da908cb068d696efcb107b344ad7d3e849e8dd65eff837857330aa9994f6e32a5cd08a SHA512 de2a3e7b6d5cddb3a243e7b736dde6e23ca599c63eefd7331acd5812e554a9079c124fef6678d5dd47000ec4f073ac51d4fb050185035f8c173aef7c81ca9f91 diff --git a/games-util/antimicrox/antimicrox-3.4.1.ebuild b/games-util/antimicrox/antimicrox-3.4.1.ebuild new file mode 100644 index 000000000000..f31267e1fe6f --- /dev/null +++ b/games-util/antimicrox/antimicrox-3.4.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit udev xdg cmake + +DESCRIPTION="Graphical program used to map keyboard buttons and mouse controls to a gamepad" +HOMEPAGE="https://github.com/AntiMicroX/antimicrox/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/AntiMicroX/${PN}.git" +else + SRC_URI="https://github.com/AntiMicroX/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="doc" +# Tests fail to build +# https://github.com/AntiMicroX/antimicrox/issues/530 +RESTRICT="test" + +RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + media-libs/libsdl2[X,joystick] + virtual/udev + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXtst +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-qt/linguist-tools:5 + kde-frameworks/extra-cmake-modules + doc? ( + app-text/doxygen[dot] + ) +" + +PATCHES=( "${FILESDIR}/${PN}-man_gz.patch" ) + +DOCS=( CHANGELOG.md README.md ) + +src_configure() { + local -a mycmakeargs=( + -DAPPDATA=OFF + -DCHECK_FOR_UPDATES=OFF + -DINSTALL_UINPUT_UDEV_RULES=OFF # Install in src_install + -DWITH_TESTS=OFF + -DWITH_UINPUT=ON + -DWITH_X11=ON + -DWITH_XTEST=ON + -DBUILD_DOCS=$(usex doc ON OFF) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + udev_dorules "${S}/other/60-${PN}-uinput.rules" + + use doc && dodoc -r "${S}/docs"/{html,latex} + + rm -r "${ED}/usr/share/doc/${PN}" || die +} + +pkg_postinst() { + udev_reload + xdg_pkg_postinst +} + +pkg_postrm() { + udev_reload + xdg_pkg_postrm +}