gentoo/dev-libs/libplatform/libplatform-9999.ebuild
Alfred Wingate 8b01e23347
dev-libs/libplatform: fix cmake4 and libcxx build
Bug: https://bugs.gentoo.org/914866
Bug: https://bugs.gentoo.org/951812
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43535
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2025-08-23 10:26:05 +03:00

25 lines
652 B
Bash

# Copyright 1999-2025 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"
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 ~riscv ~x86"
fi
LICENSE="GPL-2+"
SLOT="0"