aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/sdl2-gamepad-mapper/sdl2-gamepad-mapper-0.0.7-r1.ebuild')
-rw-r--r--games-util/sdl2-gamepad-mapper/sdl2-gamepad-mapper-0.0.7-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/games-util/sdl2-gamepad-mapper/sdl2-gamepad-mapper-0.0.7-r1.ebuild b/games-util/sdl2-gamepad-mapper/sdl2-gamepad-mapper-0.0.7-r1.ebuild
new file mode 100644
index 000000000..72292658c
--- /dev/null
+++ b/games-util/sdl2-gamepad-mapper/sdl2-gamepad-mapper-0.0.7-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils xdg-utils desktop
+DESCRIPTION="GUI application to generate an SDL2 mapping string from a generic controller"
+HOMEPAGE="https://gitlab.com/ryochan7/sdl2-gamepad-mapper"
+SRC_URI="https://gitlab.com/ryochan7/sdl2-gamepad-mapper/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
+S="${WORKDIR}/${PN}-v${PV}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="
+ media-libs/libsdl2
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtquickcontrols2:5
+ dev-qt/qtnetwork:5
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ dobin "${PN}"
+ domenu "${PN}.desktop"
+ doicon -s 512 "${PN}.png"
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}