sys-apps/asus-numpad: bump EAPI, improve ebuild

Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
Filip Kobierski 2024-08-24 20:41:30 +02:00
parent 30f2e04b4f
commit 993bec4cfb
No known key found for this signature in database
GPG Key ID: 756535402AA9903A
2 changed files with 10 additions and 14 deletions

View File

@ -1,14 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/xytovl/asus-numpad.git"
inherit git-r3
else
TAG="v${PV}"
SRC_URI="https://github.com/xytovl/${PN}/archive/${TAG}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/xytovl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
@ -20,9 +19,8 @@ HOMEPAGE="https://github.com/xytovl/asus-numpad"
LICENSE="GPL-3"
SLOT="0"
COMMON_DEPEND=">=dev-libs/libevdev-1.12.0"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
DEPEND=">=dev-libs/libevdev-1.12.0"
RDEPEND=${DEPEND}
src_configure() {
meson_src_configure

View File

@ -1,14 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/xytovl/asus-numpad.git"
inherit git-r3
else
TAG="v${PV}"
SRC_URI="https://github.com/xytovl/${PN}/archive/${TAG}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/xytovl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
@ -20,9 +19,8 @@ HOMEPAGE="https://github.com/xytovl/asus-numpad"
LICENSE="GPL-3"
SLOT="0"
COMMON_DEPEND=">=dev-libs/libevdev-1.12.0"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
DEPEND=">=dev-libs/libevdev-1.12.0"
RDEPEND=${DEPEND}
src_configure() {
meson_src_configure