| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| inherit eutils cmake-utils |
| |
| DESCRIPTION="Map keyboard and mouse buttons to gamepad buttons" |
| HOMEPAGE="https://github.com/Ryochan7/antimicro" |
| SRC_URI="https://github.com/Ryochan7/antimicro/archive/${PV}.tar.gz -> ${P}.tar.gz" |
| |
| LICENSE="GPL-3" |
| SLOT="0" |
| KEYWORDS="~amd64 ~x86" |
| |
| RDEPEND=" |
| dev-qt/qtcore:5 |
| dev-qt/qtgui:5 |
| dev-qt/qtwidgets:5 |
| dev-qt/qtnetwork:5 |
| media-libs/libsdl2[X,joystick] |
| x11-libs/libX11 |
| x11-libs/libXtst" |
| DEPEND="${RDEPEND} |
| dev-qt/linguist-tools:5 |
| virtual/pkgconfig" |
| |
| src_configure() { |
| local mycmakeargs=( |
| -DUSE_SDL_2=ON |
| ) |
| |
| QT_SELECT=5 cmake-utils_src_configure |
| } |