diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-libs/libplatform | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/libplatform')
| -rw-r--r-- | dev-libs/libplatform/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/libplatform/files/libplatform-2.1.0.1-cmake4.patch | 22 | ||||
| -rw-r--r-- | dev-libs/libplatform/files/libplatform-2.1.0.1-libcxx.patch | 29 | ||||
| -rw-r--r-- | dev-libs/libplatform/libplatform-2.1.0.1-r2.ebuild | 25 | ||||
| -rw-r--r-- | dev-libs/libplatform/libplatform-2.1.0.1-r3.ebuild | 29 | ||||
| -rw-r--r-- | dev-libs/libplatform/libplatform-9999.ebuild | 24 | ||||
| -rw-r--r-- | dev-libs/libplatform/metadata.xml | 5 |
7 files changed, 135 insertions, 0 deletions
diff --git a/dev-libs/libplatform/Manifest b/dev-libs/libplatform/Manifest new file mode 100644 index 000000000000..23db1951e1fe --- /dev/null +++ b/dev-libs/libplatform/Manifest @@ -0,0 +1 @@ +DIST libplatform-2.1.0.1.tar.gz 75257 BLAKE2B 99887e7d8b1b51578a5b84cdb63c71caf75cce1674ab2c7c658bb9bbf67b69a23f4facdef8d4a4a9e2f7c0101886a5350fd92708cde3aa3010589c7055bf6a50 SHA512 76e6f1ac64b61e4def7d99965708d0f05698379e0f3e846317174f0bc12a9654b3341afc84bd8a3a70f101ecab6c692dea96b57d7e000dfabf6cedee2b8dcd8a diff --git a/dev-libs/libplatform/files/libplatform-2.1.0.1-cmake4.patch b/dev-libs/libplatform/files/libplatform-2.1.0.1-cmake4.patch new file mode 100644 index 000000000000..4100869780f7 --- /dev/null +++ b/dev-libs/libplatform/files/libplatform-2.1.0.1-cmake4.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/951812 +https://github.com/Pulse-Eight/platform/issues/52 +https://github.com/Pulse-Eight/platform/commit/d7faed1c696b1a6a67f114a63a0f4c085f0f9195 + +Removed cmake_minimum unrelated chunk + +From d7faed1c696b1a6a67f114a63a0f4c085f0f9195 Mon Sep 17 00:00:00 2001 +From: Lars Op den Kamp <lars@opdenkamp.eu> +Date: Tue, 25 Feb 2025 16:11:43 +0100 +Subject: [PATCH] fixed: match debug flags of the c++ library with .net on + windows + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,6 @@ ++cmake_minimum_required(VERSION 3.12.0) + project(p8-platform) + +-cmake_minimum_required(VERSION 2.8.9) + enable_language(CXX) + + set(CMAKE_CXX_STANDARD 11) diff --git a/dev-libs/libplatform/files/libplatform-2.1.0.1-libcxx.patch b/dev-libs/libplatform/files/libplatform-2.1.0.1-libcxx.patch new file mode 100644 index 000000000000..845af8b591c9 --- /dev/null +++ b/dev-libs/libplatform/files/libplatform-2.1.0.1-libcxx.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/914866 +https://github.com/Pulse-Eight/platform/pull/45 +https://github.com/Pulse-Eight/platform/commit/a0d1a41ac47930a3d45020d1a8d26b90d3856ce9 + +From a0d1a41ac47930a3d45020d1a8d26b90d3856ce9 Mon Sep 17 00:00:00 2001 +From: Lukas Rusak <lorusak@gmail.com> +Date: Thu, 10 Sep 2020 11:32:55 -0700 +Subject: [PATCH] StringUtils: fix build with -std=c++17 + +--- a/src/util/StringUtils.cpp ++++ b/src/util/StringUtils.cpp +@@ -453,7 +453,7 @@ static int isspace_c(char c) + + std::string& StringUtils::TrimLeft(std::string &str) + { +- str.erase(str.begin(), ::find_if(str.begin(), str.end(), ::not1(::ptr_fun(isspace_c)))); ++ str.erase(str.begin(), ::find_if(str.begin(), str.end(), [](char s) { return isspace_c(s) == 0; })); + return str; + } + +@@ -466,7 +466,7 @@ std::string& StringUtils::TrimLeft(std::string &str, const char* const chars) + + std::string& StringUtils::TrimRight(std::string &str) + { +- str.erase(::find_if(str.rbegin(), str.rend(), ::not1(::ptr_fun(isspace_c))).base(), str.end()); ++ str.erase(::find_if(str.rbegin(), str.rend(), [](char s) { return isspace_c(s) == 0; }).base(), str.end()); + return str; + } + 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..a9e1418b78a9 --- /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 ~riscv x86" +fi diff --git a/dev-libs/libplatform/libplatform-2.1.0.1-r3.ebuild b/dev-libs/libplatform/libplatform-2.1.0.1-r3.ebuild new file mode 100644 index 000000000000..e1bb32541e85 --- /dev/null +++ b/dev-libs/libplatform/libplatform-2.1.0.1-r3.ebuild @@ -0,0 +1,29 @@ +# 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" + +PATCHES=( + "${FILESDIR}"/libplatform-2.1.0.1-cmake4.patch + "${FILESDIR}"/libplatform-2.1.0.1-libcxx.patch +) diff --git a/dev-libs/libplatform/libplatform-9999.ebuild b/dev-libs/libplatform/libplatform-9999.ebuild new file mode 100644 index 000000000000..43f95db28ce2 --- /dev/null +++ b/dev-libs/libplatform/libplatform-9999.ebuild @@ -0,0 +1,24 @@ +# 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" diff --git a/dev-libs/libplatform/metadata.xml b/dev-libs/libplatform/metadata.xml new file mode 100644 index 000000000000..5f33304011d5 --- /dev/null +++ b/dev-libs/libplatform/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
