summaryrefslogtreecommitdiff
path: root/games-util
diff options
context:
space:
mode:
Diffstat (limited to 'games-util')
-rw-r--r--games-util/Manifest.gzbin8028 -> 8025 bytes
-rw-r--r--games-util/antimicrox/Manifest2
-rw-r--r--games-util/antimicrox/antimicrox-3.3.2_rc.ebuild75
3 files changed, 77 insertions, 0 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz
index 711023993f43..5f559aa8f970 100644
--- a/games-util/Manifest.gz
+++ b/games-util/Manifest.gz
Binary files differ
diff --git a/games-util/antimicrox/Manifest b/games-util/antimicrox/Manifest
index 8001b6d0b976..1eb8c6fa9eac 100644
--- a/games-util/antimicrox/Manifest
+++ b/games-util/antimicrox/Manifest
@@ -1,6 +1,8 @@
AUX antimicrox-man_gz.patch 600 BLAKE2B 70f3837a4d3b2e4a5e64dd710eb710c1ea09bfdeea8a4000e976c1d3f0fcd451d0030aba22aa904308cf2aead9d1881757fd3b2fe4f703d8727ad132513bb24b SHA512 d30604d5615b00dd1b4ac03bd063a271c346ea8f13568b37c1af9f0bbdf8ad8ef8df604441b79e467742310433cc121aaee7c773cac7f3ec5e2547013fca16a8
DIST antimicrox-3.2.5.tar.gz 1801792 BLAKE2B 8e42bef2c04f57a4ca733fa9632bb8b2070e4bfc6f0ac1c01016dd221a6cf24a229d1090c0d8ed2a7562d4c7224668cebdf0fe23265ac4d9208403f9fbe7e85c SHA512 5b9e75fcb1e5d7e12d5880f83451c12f0eb2da1a6e43387fc42bbcba8c24a77398868f69177277840b9a7541736007fdbec58fd852d32d12ca559f6f75178c0b
DIST antimicrox-3.3.1.tar.gz 1878461 BLAKE2B 4f1d0c9be92bf89c5ebc6cad8a8b106f1888e53d135efc86616c1244738f79df6981fe0ea0e233e8d436ace126f4ac43a5edd63b0684a6af257c055db99f4284 SHA512 15c6b88640e0cd6ebff85574d1911fb92ed27868b2442ab225ef0eaccfbe243b445c3a78435225cb5a54d9dca65517da8998df95ebfa50d92bd1e53338c102d2
+DIST antimicrox-3.3.2_rc.tar.gz 1883701 BLAKE2B 6af2174ad34ee83f494bededa16386e4bb58dcb5beffe18fe7cd5f58b95cb3008fa0e860e077b88d556895dc95a14839490e6b4fcad53b2cce979da2b1f86db7 SHA512 ad78f31d68cea05aced6c48ee532aba2497f8359928e2a744adf3f68bacd464eae930632c5eba847f3fece5cd2abef6d9d89c467acc2f684007c8b1b3996105e
EBUILD antimicrox-3.2.5.ebuild 1476 BLAKE2B 66557ba073b132582cf6e75c2423c31de0405fc54e07182ab824a187ece0408602ea0dd4a564c626b58c87caea98136af378999ccb5fe4d30eb0a690a3b7dd16 SHA512 db3db5f5539aa44978daf95b0f41f85e19c1215cc9711097ffdaaca23ce05567c9637c652e70ba6f8b080b5c15ef5b02e1531c566a607f08585a44a8ebd77a99
EBUILD antimicrox-3.3.1.ebuild 1476 BLAKE2B 66557ba073b132582cf6e75c2423c31de0405fc54e07182ab824a187ece0408602ea0dd4a564c626b58c87caea98136af378999ccb5fe4d30eb0a690a3b7dd16 SHA512 db3db5f5539aa44978daf95b0f41f85e19c1215cc9711097ffdaaca23ce05567c9637c652e70ba6f8b080b5c15ef5b02e1531c566a607f08585a44a8ebd77a99
+EBUILD antimicrox-3.3.2_rc.ebuild 1512 BLAKE2B 87428235dbc11fab01392008c9b9b86bb11b2ec6512783bfd7175d6cccfc31b75c6e603fe5796099182ee081f8283ea7808a7aa17c6adbe260b3b3f008590e2b SHA512 135dcef4681e7f48487f8a90778e53faba499a0d7e29bf414fd1239b750437904e2074e101106c47838245330b6d9c82734fcf46c56608fd3917d435c286cbb5
MISC metadata.xml 412 BLAKE2B 9a75236478dfbb26649e3ab3355953ecb2d32739c0338d4fe2e8e0f4eddd0c5aa444fd13c02ff2740ef10077c56a40ab0a48d02670273ec831f24d50fae9cb83 SHA512 bcb066386dcc22038e8a9f2f42b03149dce3421ad545ebb9c7ef8df2f996970442219f40dbc82e232d7cf71ec9b421c6966b01801c46ca7a0322a8717cce4d87
diff --git a/games-util/antimicrox/antimicrox-3.3.2_rc.ebuild b/games-util/antimicrox/antimicrox-3.3.2_rc.ebuild
new file mode 100644
index 000000000000..c01bdb70f0ad
--- /dev/null
+++ b/games-util/antimicrox/antimicrox-3.3.2_rc.ebuild
@@ -0,0 +1,75 @@
+# 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/_rc/-rc}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}/${P/_rc/-rc}"
+
+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
+}