diff options
Diffstat (limited to 'games-util/antimicro/antimicro-2.23.ebuild')
-rw-r--r-- | games-util/antimicro/antimicro-2.23.ebuild | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/games-util/antimicro/antimicro-2.23.ebuild b/games-util/antimicro/antimicro-2.23.ebuild index 62d39364b1de..13efec5688b0 100644 --- a/games-util/antimicro/antimicro-2.23.ebuild +++ b/games-util/antimicro/antimicro-2.23.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils xdg-utils +inherit cmake xdg DESCRIPTION="Map keyboard and mouse buttons to gamepad buttons" HOMEPAGE="https://github.com/AntiMicro/antimicro" @@ -12,7 +12,6 @@ SRC_URI="https://github.com/AntiMicro/antimicro/archive/${PV}.tar.gz -> ${P}.tar LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND=" dev-qt/qtcore:5 @@ -23,12 +22,21 @@ RDEPEND=" x11-libs/libX11 x11-libs/libXtst " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" dev-qt/linguist-tools:5 virtual/pkgconfig " -PATCHES=( "${FILESDIR}/${P}-linking-errors.patch" ) +PATCHES=( + "${FILESDIR}"/${P}-linking-errors.patch + "${FILESDIR}"/${PN}-2.23-no-compress-man-page.patch +) + +src_prepare() { + xdg_environment_reset + cmake_src_prepare +} src_configure() { # TODO: Currently does not build w/o X @@ -40,15 +48,6 @@ src_configure() { -DWITH_XTEST=ON -DWITH_UINPUT=OFF ) - cmake-utils_src_configure -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} -pkg_postrm() { - xdg_mimeinfo_database_update - xdg_desktop_database_update + cmake_src_configure } |