summaryrefslogtreecommitdiff
path: root/games-util/antimicrox
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
commitbe8708090362c01c6111c4b76f1e395c14d86e00 (patch)
treebb61ca73e867522450783849eb63c9e1f0ba1730 /games-util/antimicrox
parente93a38d535f2c29b55a5756d2de99425986b0bf3 (diff)
gentoo auto-resync : 13:08:2024 - 11:06:03
Diffstat (limited to 'games-util/antimicrox')
-rw-r--r--games-util/antimicrox/Manifest2
-rw-r--r--games-util/antimicrox/antimicrox-3.4.1.ebuild87
2 files changed, 89 insertions, 0 deletions
diff --git a/games-util/antimicrox/Manifest b/games-util/antimicrox/Manifest
index be17afeaa2da..01cfe5179f46 100644
--- a/games-util/antimicrox/Manifest
+++ b/games-util/antimicrox/Manifest
@@ -1,4 +1,6 @@
AUX antimicrox-man_gz.patch 600 BLAKE2B 70f3837a4d3b2e4a5e64dd710eb710c1ea09bfdeea8a4000e976c1d3f0fcd451d0030aba22aa904308cf2aead9d1881757fd3b2fe4f703d8727ad132513bb24b SHA512 d30604d5615b00dd1b4ac03bd063a271c346ea8f13568b37c1af9f0bbdf8ad8ef8df604441b79e467742310433cc121aaee7c773cac7f3ec5e2547013fca16a8
DIST antimicrox-3.4.0.tar.gz 2178105 BLAKE2B 3ad367b9044c7bbc00e673e9673a476b88785724174ab7b12d9f9ff6c1381731b94ac5012fef04e74685219dd2b9414f86eb851c1145b7a6d4ba827240071ee1 SHA512 be2c811998508590c3dce17dd1a0d3a51bcaa6c629a4a74ac22a82f995eed3ce5ce4583667e47418b8b7c934b2f9bf6ad3d5f6d9eec5216e7f5c731aa82bcc69
+DIST antimicrox-3.4.1.tar.gz 2234767 BLAKE2B f61789d9edb7156ec3cf38cba22536bf74400f2bd7345a7daaf32b41f5da908cb068d696efcb107b344ad7d3e849e8dd65eff837857330aa9994f6e32a5cd08a SHA512 de2a3e7b6d5cddb3a243e7b736dde6e23ca599c63eefd7331acd5812e554a9079c124fef6678d5dd47000ec4f073ac51d4fb050185035f8c173aef7c81ca9f91
EBUILD antimicrox-3.4.0.ebuild 1607 BLAKE2B 598b444d604082db245bf566c73ba6fff50e704b6fccbf4afc46a27fc79c8d2008196adda8dccfc8ac6e2e74321709e12146c88e4601186df6079a57768c13ae SHA512 5ae894a860fb3a41a74b68f64e3c0f54c97176328232f8588d73c9b33f4685b04e38f19f56f3104eb64c7e0289d4f6b8b6ccba18a57d9bfb3060231f96c83abc
+EBUILD antimicrox-3.4.1.ebuild 1608 BLAKE2B e94caafe4d8df158843b4112d743dc82134fb095773ca5672a19a5da3894d3e94f1d035575950a7c3eed2647b5aabf3243ee45c1beafecdfafb6afb3efeb788e SHA512 f6977d893137ad31d7e633f2c72e20f7331ae944f6e04ba5c8351bb27d0cf76144f48844550f71453beb5dfd328042164335e6cb8dbbe8c3318cadeb8d5f5568
MISC metadata.xml 412 BLAKE2B 9a75236478dfbb26649e3ab3355953ecb2d32739c0338d4fe2e8e0f4eddd0c5aa444fd13c02ff2740ef10077c56a40ab0a48d02670273ec831f24d50fae9cb83 SHA512 bcb066386dcc22038e8a9f2f42b03149dce3421ad545ebb9c7ef8df2f996970442219f40dbc82e232d7cf71ec9b421c6966b01801c46ca7a0322a8717cce4d87
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
+}