summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2022-02-28 13:23:16 -0500
committerCraig Andrews <candrews@gentoo.org>2022-02-28 13:23:50 -0500
commit83a15276b0f9ac23d4c83c05cdeaa82d29687ee2 (patch)
tree36d633f6635a11a2762a6ead92bfc29e89aacfbb /dev-libs/libplatform
parentsubversion.eclass: Support EAPI 8 (diff)
downloadgentoo-83a15276b0f9ac23d4c83c05cdeaa82d29687ee2.tar.gz
gentoo-83a15276b0f9ac23d4c83c05cdeaa82d29687ee2.tar.bz2
gentoo-83a15276b0f9ac23d4c83c05cdeaa82d29687ee2.zip
dev-libs/libplatform: EAPI=8, cmake-utils->cmake.eclass
Closes: https://bugs.gentoo.org/834124 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-libs/libplatform')
-rw-r--r--dev-libs/libplatform/libplatform-2.1.0.1-r2.ebuild25
-rw-r--r--dev-libs/libplatform/libplatform-9999.ebuild8
2 files changed, 29 insertions, 4 deletions
diff --git a/dev-libs/libplatform/libplatform-2.1.0.1-r2.ebuild b/dev-libs/libplatform/libplatform-2.1.0.1-r2.ebuild
new file mode 100644
index 000000000000..ed44eae38b02
--- /dev/null
+++ b/dev-libs/libplatform/libplatform-2.1.0.1-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN="platform"
+MY_PN_PREFIX="p8"
+
+DESCRIPTION="Platform support library used by libCEC and binary add-ons for Kodi"
+HOMEPAGE="https://github.com/Pulse-Eight/platform"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE=""
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/Pulse-Eight/${MY_PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/Pulse-Eight/${MY_PN}/archive/${MY_PN_PREFIX}-${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${MY_PN}-${MY_PN_PREFIX}-${MY_PN}-${PV}"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
diff --git a/dev-libs/libplatform/libplatform-9999.ebuild b/dev-libs/libplatform/libplatform-9999.ebuild
index 4ef9c153d093..ed44eae38b02 100644
--- a/dev-libs/libplatform/libplatform-9999.ebuild
+++ b/dev-libs/libplatform/libplatform-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit cmake-utils
+inherit cmake
MY_PN="platform"
MY_PN_PREFIX="p8"
@@ -21,5 +21,5 @@ if [[ ${PV} == *9999 ]] ; then
else
SRC_URI="https://github.com/Pulse-Eight/${MY_PN}/archive/${MY_PN_PREFIX}-${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${MY_PN_PREFIX}-${MY_PN}-${PV}"
- KEYWORDS="~amd64 ~arm ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi