public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/antimicrox/
Date: Thu, 30 Jan 2025 17:44:13 +0000 (UTC)	[thread overview]
Message-ID: <1738259048.b1ee146d81398b23e42b19931e9b9d5154c376a1.xgqt@gentoo> (raw)

commit:     b1ee146d81398b23e42b19931e9b9d5154c376a1
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 30 16:09:00 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jan 30 17:44:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ee146d

games-util/antimicrox: bump to 3.5.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-util/antimicrox/Manifest                |  1 +
 games-util/antimicrox/antimicrox-3.5.1.ebuild | 88 +++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/games-util/antimicrox/Manifest b/games-util/antimicrox/Manifest
index 44c67d6652f4..39c36a30d107 100644
--- a/games-util/antimicrox/Manifest
+++ b/games-util/antimicrox/Manifest
@@ -1 +1,2 @@
 DIST antimicrox-3.5.0.tar.gz 2312246 BLAKE2B 5385873236bcd245a87ce9081f666ca8060b2af1631d205a64ec1fac2d6a543a573f65fe01540b725e4fca9167755de4e1d03aadfef791d9e3b86892fac2f9f8 SHA512 66578a60ea485f8becb6b81bedfb3f6ea1c58ac6e2c3a9890cd64d7443ac4244bca8138f20b2ca490d0ba54c968df1995aeb79a5b9a632b85d43072b8709af4d
+DIST antimicrox-3.5.1.tar.gz 2479077 BLAKE2B c86e76996a3d3b7a87c6f01d967f7807cdb2c2bab256493816f8a32a6539f44e73346a2fbc3f715fa793546e139b71201d401b355768985dd56b858dc0c63324 SHA512 c2363b7c8a33b413e5d92b0e8cf9781ab4aa27fd13850ac4374b5fe0ae2b3d6b6396d8dc3a84277cacf4a5c0c8b982d37d10a729babdd3ffca0d9e169ef34cff

diff --git a/games-util/antimicrox/antimicrox-3.5.1.ebuild b/games-util/antimicrox/antimicrox-3.5.1.ebuild
new file mode 100644
index 000000000000..29210bf7c271
--- /dev/null
+++ b/games-util/antimicrox/antimicrox-3.5.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 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/qtbase:6[concurrent,gui,network,widgets]
+	media-libs/libsdl2[X,joystick]
+	virtual/udev
+	x11-libs/libX11
+	x11-libs/libXi
+	x11-libs/libXtst
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	dev-qt/qttools:6[linguist]
+	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".
+		-DUSE_QT6_BY_DEFAULT="ON"
+		-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"
+
+	if use doc ; then
+		dodoc -r "${S}/docs"/{html,latex}
+	fi
+
+	rm -r "${ED}/usr/share/doc/${PN}" || die
+}
+
+pkg_postinst() {
+	udev_reload
+	xdg_pkg_postinst
+}
+
+pkg_postrm() {
+	udev_reload
+	xdg_pkg_postrm
+}


             reply	other threads:[~2025-01-30 17:44 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-30 17:44 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-07 19:34 [gentoo-commits] repo/gentoo:master commit in: games-util/antimicrox/ Maciej Barć
2025-03-04 22:43 Sam James
2024-12-06  8:31 Maciej Barć
2024-12-06  7:49 Sam James
2024-10-31 23:17 Maciej Barć
2024-10-31 23:17 Maciej Barć
2024-09-11 22:55 Sam James
2024-08-11 22:36 Maciej Barć
2024-04-11  4:55 Arthur Zamarin
2024-03-10 16:19 Maciej Barć
2023-09-02 14:30 Maciej Barć
2023-07-07 22:04 Sam James
2023-06-03 15:51 Maciej Barć
2023-06-03 15:51 Maciej Barć
2023-06-03 15:51 Maciej Barć
2023-03-07 15:45 Sam James
2023-02-07 23:06 Sam James
2023-01-31  4:04 Sam James
2023-01-30 20:31 Maciej Barć
2023-01-30 20:31 Maciej Barć
2022-11-21 13:01 Maciej Barć
2022-11-21 13:01 Maciej Barć
2022-11-18 23:18 Maciej Barć
2022-10-24 21:37 Maciej Barć
2022-09-02 13:53 Maciej Barć
2022-09-02  5:54 Maciej Barć

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=1738259048.b1ee146d81398b23e42b19931e9b9d5154c376a1.xgqt@gentoo \
    --to=xgqt@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