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 95FCE158020 for ; Mon, 24 Oct 2022 21:37:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8BFAE03EC; Mon, 24 Oct 2022 21:37:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 8EBBEE03EC for ; Mon, 24 Oct 2022 21:37:19 +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 728AE34100E for ; Mon, 24 Oct 2022 21:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0829629 for ; Mon, 24 Oct 2022 21:37:16 +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: <1666647435.afafeca5b52de1a8fee302538163b109060686c1.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.3.1.ebuild X-VCS-Directories: games-util/antimicrox/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: afafeca5b52de1a8fee302538163b109060686c1 X-VCS-Branch: master Date: Mon, 24 Oct 2022 21:37:16 +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: 027d7250-8555-4b26-8626-a35381b5ca2d X-Archives-Hash: 63b1bbc159f1b5194e5eb9e0007ca61d commit: afafeca5b52de1a8fee302538163b109060686c1 Author: Maciej Barć gentoo org> AuthorDate: Mon Oct 24 21:20:56 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Oct 24 21:37:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afafeca5 games-util/antimicrox: bump to 3.3.1 Signed-off-by: Maciej Barć gentoo.org> games-util/antimicrox/Manifest | 1 + games-util/antimicrox/antimicrox-3.3.1.ebuild | 74 +++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/games-util/antimicrox/Manifest b/games-util/antimicrox/Manifest index 4947556b9ad9..455e539c741c 100644 --- a/games-util/antimicrox/Manifest +++ b/games-util/antimicrox/Manifest @@ -1 +1,2 @@ DIST antimicrox-3.2.5.tar.gz 1801792 BLAKE2B 8e42bef2c04f57a4ca733fa9632bb8b2070e4bfc6f0ac1c01016dd221a6cf24a229d1090c0d8ed2a7562d4c7224668cebdf0fe23265ac4d9208403f9fbe7e85c SHA512 5b9e75fcb1e5d7e12d5880f83451c12f0eb2da1a6e43387fc42bbcba8c24a77398868f69177277840b9a7541736007fdbec58fd852d32d12ca559f6f75178c0b +DIST antimicrox-3.3.1.tar.gz 1878461 BLAKE2B 4f1d0c9be92bf89c5ebc6cad8a8b106f1888e53d135efc86616c1244738f79df6981fe0ea0e233e8d436ace126f4ac43a5edd63b0684a6af257c055db99f4284 SHA512 15c6b88640e0cd6ebff85574d1911fb92ed27868b2442ab225ef0eaccfbe243b445c3a78435225cb5a54d9dca65517da8998df95ebfa50d92bd1e53338c102d2 diff --git a/games-util/antimicrox/antimicrox-3.3.1.ebuild b/games-util/antimicrox/antimicrox-3.3.1.ebuild new file mode 100644 index 000000000000..15e929f6d678 --- /dev/null +++ b/games-util/antimicrox/antimicrox-3.3.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 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/" +SRC_URI="https://github.com/AntiMicroX/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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-doc/doxygen[dot] ) +" + +PATCHES=( "${FILESDIR}"/${PN}-man_gz.patch ) +DOCS=( CHANGELOG.md README.md ) + +src_configure() { + local 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 + rm -r "${ED}"/usr/share/doc/${PN} || die + + udev_dorules "${S}"/other/60-${PN}-uinput.rules + + use doc && dodoc -r "${S}"/docs/{html,latex} +} + +pkg_postinst() { + udev_reload + xdg_pkg_postinst +} + +pkg_postrm() { + udev_reload + xdg_pkg_postrm +}