x11-drivers/xf86-input-vmmouse: Port to EAPI 7

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2021-03-19 23:39:16 +01:00
parent edab944750
commit d3e980dfc0
2 changed files with 17 additions and 21 deletions
@@ -1,30 +1,29 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
inherit udev xorg-2
inherit udev xorg-3
DESCRIPTION="VMWare mouse input driver"
IUSE=""
KEYWORDS="amd64 x86"
RDEPEND=""
DEPEND="${RDEPEND}
x11-base/xorg-proto"
pkg_setup() {
XORG_CONFIGURE_OPTIONS=(
src_configure() {
local XORG_CONFIGURE_OPTIONS=(
--with-hal-bin-dir=/punt
--with-hal-callouts-dir=/punt
--with-hal-fdi-dir=/punt
--with-udev-rules-dir=$(get_udevdir)/rules.d
)
xorg-2_pkg_setup
xorg-3_src_configure
}
src_install() {
xorg-2_src_install
rm -rf "${ED}"/punt
xorg-3_src_install
rm -r "${ED}"/punt || die
}
@@ -1,30 +1,27 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
inherit udev xorg-2
inherit udev xorg-3
DESCRIPTION="VMWare mouse input driver"
IUSE=""
KEYWORDS=""
RDEPEND=""
DEPEND="${RDEPEND}
x11-base/xorg-proto"
pkg_setup() {
XORG_CONFIGURE_OPTIONS=(
src_configure() {
local XORG_CONFIGURE_OPTIONS=(
--with-hal-bin-dir=/punt
--with-hal-callouts-dir=/punt
--with-hal-fdi-dir=/punt
--with-udev-rules-dir=$(get_udevdir)/rules.d
)
xorg-2_pkg_setup
xorg-3_src_configure
}
src_install() {
xorg-2_src_install
rm -rf "${ED}"/punt
xorg-3_src_install
rm -r "${ED}"/punt || die
}