summaryrefslogtreecommitdiff
path: root/games-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-02 10:16:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-02 10:16:02 +0100
commit02fbebe9426ee05ab39e9b5a56e3529e64160ef6 (patch)
tree4c2a5db6966711f46fbc73aece931b17625e27b7 /games-util
parentb052fbf151106a4f47cac7fdf0ffff983decb773 (diff)
gentoo auto-resync : 02:09:2022 - 10:16:01
Diffstat (limited to 'games-util')
-rw-r--r--games-util/Manifest.gzbin7870 -> 8036 bytes
-rw-r--r--games-util/antimicrox/Manifest4
-rw-r--r--games-util/antimicrox/antimicrox-3.2.5.ebuild73
-rw-r--r--games-util/antimicrox/files/antimicrox-man_gz.patch13
-rw-r--r--games-util/antimicrox/metadata.xml13
5 files changed, 103 insertions, 0 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz
index 23827a95e42b..e331bc26c465 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
new file mode 100644
index 000000000000..66b8e9053bd6
--- /dev/null
+++ b/games-util/antimicrox/Manifest
@@ -0,0 +1,4 @@
+AUX antimicrox-man_gz.patch 600 BLAKE2B 70f3837a4d3b2e4a5e64dd710eb710c1ea09bfdeea8a4000e976c1d3f0fcd451d0030aba22aa904308cf2aead9d1881757fd3b2fe4f703d8727ad132513bb24b SHA512 d30604d5615b00dd1b4ac03bd063a271c346ea8f13568b37c1af9f0bbdf8ad8ef8df604441b79e467742310433cc121aaee7c773cac7f3ec5e2547013fca16a8
+DIST antimicrox-3.2.5.tar.gz 1801792 BLAKE2B 8e42bef2c04f57a4ca733fa9632bb8b2070e4bfc6f0ac1c01016dd221a6cf24a229d1090c0d8ed2a7562d4c7224668cebdf0fe23265ac4d9208403f9fbe7e85c SHA512 5b9e75fcb1e5d7e12d5880f83451c12f0eb2da1a6e43387fc42bbcba8c24a77398868f69177277840b9a7541736007fdbec58fd852d32d12ca559f6f75178c0b
+EBUILD antimicrox-3.2.5.ebuild 1440 BLAKE2B ba4514d33a5c32edb3b8d6ebf7b2cab235ee7531348ca3aeffaabaf3e4098de27a40c322d9e33a51550d311f9f58add89106e4275fdc751947a7ac58065c5b65 SHA512 9d1051818a54f0e77676040bbb11810ce724022de4a65ad5631a0c3a701300fad8dc5f0ec8ecb0a839d78861291c9896b6f4176b540b60a933eb66dcf886935e
+MISC metadata.xml 412 BLAKE2B 9a75236478dfbb26649e3ab3355953ecb2d32739c0338d4fe2e8e0f4eddd0c5aa444fd13c02ff2740ef10077c56a40ab0a48d02670273ec831f24d50fae9cb83 SHA512 bcb066386dcc22038e8a9f2f42b03149dce3421ad545ebb9c7ef8df2f996970442219f40dbc82e232d7cf71ec9b421c6966b01801c46ca7a0322a8717cce4d87
diff --git a/games-util/antimicrox/antimicrox-3.2.5.ebuild b/games-util/antimicrox/antimicrox-3.2.5.ebuild
new file mode 100644
index 000000000000..705547958f2e
--- /dev/null
+++ b/games-util/antimicrox/antimicrox-3.2.5.ebuild
@@ -0,0 +1,73 @@
+# 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
+ 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
+}
diff --git a/games-util/antimicrox/files/antimicrox-man_gz.patch b/games-util/antimicrox/files/antimicrox-man_gz.patch
new file mode 100644
index 000000000000..0a6bb9cae71c
--- /dev/null
+++ b/games-util/antimicrox/files/antimicrox-man_gz.patch
@@ -0,0 +1,13 @@
+diff --git a/other/CMakeLists.txt b/other/CMakeLists.txt
+index 22b10574..66f2e483 100644
+--- a/other/CMakeLists.txt
++++ b/other/CMakeLists.txt
+@@ -1,7 +1,3 @@
+ add_subdirectory(appdata)
+
+-add_custom_target(manpage)
+-add_custom_command(TARGET manpage PRE_BUILD
+- COMMAND gzip -c -9 -n "${PROJECT_SOURCE_DIR}/other/antimicrox.1" > "antimicrox.1.gz" VERBATIM
+- )
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/antimicrox.1.gz" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/man1")
++install(FILES "${PROJECT_SOURCE_DIR}/other/antimicrox.1" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/man1")
diff --git a/games-util/antimicrox/metadata.xml b/games-util/antimicrox/metadata.xml
new file mode 100644
index 000000000000..77865b917d88
--- /dev/null
+++ b/games-util/antimicrox/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@gentoo.org</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/AntiMicroX/antimicrox/issues</bugs-to>
+ <remote-id type="github">AntiMicroX/antimicrox</remote-id>
+ </upstream>
+</pkgmetadata>