diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
commit | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch) | |
tree | 5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /games-util/qjoypad/qjoypad-4.3.1.ebuild | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'games-util/qjoypad/qjoypad-4.3.1.ebuild')
-rw-r--r-- | games-util/qjoypad/qjoypad-4.3.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/games-util/qjoypad/qjoypad-4.3.1.ebuild b/games-util/qjoypad/qjoypad-4.3.1.ebuild new file mode 100644 index 000000000000..bbe3cb1a2576 --- /dev/null +++ b/games-util/qjoypad/qjoypad-4.3.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils desktop + +DESCRIPTION="Translate gamepad/joystick input into key strokes/mouse actions in X" +HOMEPAGE="https://github.com/panzi/qjoypad" +SRC_URI="https://github.com/panzi/qjoypad/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND=" + dev-qt/linguist-tools:5 +" +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + virtual/libudev + x11-libs/libxcb + x11-libs/libXtst +" +DEPEND="${RDEPEND} + x11-base/xorg-proto +" + +PATCHES=( "${FILESDIR}/${PN}-4.3.0-cmake.patch" ) + +src_install() { + cmake-utils_src_install + + local i + cd icons || die + for i in *.png; do + newicon ${i} ${i/gamepad/qjoypad} + done + make_desktop_entry ${PN} QJoypad ${PN} +} |