summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2022-12-07 12:47:13 -0500
committerCraig Andrews <candrews@gentoo.org>2022-12-07 12:48:01 -0500
commit07c3eb3b532bcea4e75f1fc8ac3bce3c6481263d (patch)
tree06d9c49abed760d24b81e9f907b2ebb064539f99 /dev-util
parentx11-misc/gmrun: [QA] cleanups (diff)
downloadgentoo-07c3eb3b532bcea4e75f1fc8ac3bce3c6481263d.tar.gz
gentoo-07c3eb3b532bcea4e75f1fc8ac3bce3c6481263d.tar.bz2
gentoo-07c3eb3b532bcea4e75f1fc8ac3bce3c6481263d.zip
dev-util/clinfo: EAPI=8
Closes: https://bugs.gentoo.org/884727 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/clinfo/clinfo-3.0.21.02.21-r1.ebuild25
-rw-r--r--dev-util/clinfo/clinfo-9999.ebuild4
2 files changed, 27 insertions, 2 deletions
diff --git a/dev-util/clinfo/clinfo-3.0.21.02.21-r1.ebuild b/dev-util/clinfo/clinfo-3.0.21.02.21-r1.ebuild
new file mode 100644
index 000000000000..24dcd892d0af
--- /dev/null
+++ b/dev-util/clinfo/clinfo-3.0.21.02.21-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/Oblomov/clinfo.git"
+ inherit git-r3
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/Oblomov/clinfo/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A tool to display info about the system's OpenCL capabilities"
+HOMEPAGE="https://github.com/Oblomov/clinfo"
+LICENSE="CC0-1.0"
+SLOT="0"
+
+DEPEND=">=virtual/opencl-3"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake MANDIR="${ED}"/usr/share/man PREFIX="${ED}"/usr install
+}
diff --git a/dev-util/clinfo/clinfo-9999.ebuild b/dev-util/clinfo/clinfo-9999.ebuild
index fc1ca3477ce1..24dcd892d0af 100644
--- a/dev-util/clinfo/clinfo-9999.ebuild
+++ b/dev-util/clinfo/clinfo-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/Oblomov/clinfo.git"