kde-misc/plasma-ions-china: add 0.1.0, drop 0_p20260130
This commit is contained in:
1 parent
8b16f1d8b1
commit
1997304534
5 files changed
+70
-53
No files matched your search
@@ -1,2 +1 @@
|
||||
DIST kdeplasma-addons-6.5.5.tar.xz 1103348 BLAKE2B 9c1ae3b4d5ff33d2eb605070c6201c7a503c2907ce67258100363b7b683985b7070d95ebe95fbdce4bfc55444e0cb43772f182722926b84c443c6e7910747770 SHA512 3e2a769595ebc25b1dd8f025e2d0d011cd080bd55d773f21b9a3b66afbfe7ac9440cd60aef74fd059c03d9a39a5fbc5463c9acc53b88ccf9f9736261d50122a0
|
||||
DIST plasma-ions-china-0_p20260130.tar.gz 742095 BLAKE2B 9853125f2a1036e49ab3e93dbdfcbfe519fe35f74e56587fce8103fc9bf787adf1c2b7a38225b347bc31024e874b1354220e7a238fddf81b65b302f387d43d25 SHA512 87a7ceeb8b478d64e49b373850cfd474bba2a7d086f51fc61e881a4c91d248daf71794aa893f3ef301acd1c74b4a55b7e5b01b0d19eafbe985c32a471c8947f0
|
||||
DIST plasma-ions-china-0.1.0.tar.gz 752261 BLAKE2B 0cf2bbc2569178109839ae0fa5a6ceb0a4bced158c02554f028b22ecfd1fdf653f9b65640b616a7caa8a34febe740f172e01f436707c610c3ee4014a054c1272 SHA512 b301e3cb6a60ed7b89512d82a3ea05ccc7bd7ea7c9bf29926ad366a144202e2400c05e28671d37fb1c1128ff94951c225b7efaa09ce2c640cf6180c439c92661
|
||||
@@ -0,0 +1,13 @@
|
||||
--- a/CMakeLists.txt 2026-06-26 18:56:41.501729582 +0800
|
||||
+++ b/CMakeLists.txt 2026-06-26 19:07:43.675441824 +0800
|
||||
@@ -5,7 +5,9 @@
|
||||
HOMEPAGE_URL "https://github.com/arenekosreal/plasma-ions-china"
|
||||
LANGUAGES CXX)
|
||||
|
||||
-if(NOT PROJECT_VERSION)
|
||||
+set(PROJECT_VERSION "null" CACHE STRING "plasma-ions-china version")
|
||||
+
|
||||
+if(PROJECT_VERSION STREQUAL "null")
|
||||
find_package(Git)
|
||||
if (Git_FOUND)
|
||||
execute_process(COMMAND "${GIT_EXECUTABLE}" describe --tags --always
|
||||
@@ -0,0 +1,40 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A collection of plasma weather ions for Chinese users"
|
||||
HOMEPAGE="https://github.com/arenekosreal/plasma-ions-china"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/arenekosreal/plasma-ions-china.git"
|
||||
else
|
||||
SRC_URI="https://github.com/arenekosreal/plasma-ions-china/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtbase:6
|
||||
>=kde-plasma/kdeplasma-addons-6.7:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="kde-frameworks/extra-cmake-modules"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.1.0-package-version.patch" )
|
||||
|
||||
src_configure() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
local mycmakeargs=( -DPROJECT_VERSION="$(git rev-parse HEAD)" )
|
||||
else
|
||||
local mycmakeargs=( -DPROJECT_VERSION="${PV}" )
|
||||
fi
|
||||
mycmakeargs+=(
|
||||
-DPLASMA_IONS_CHINA_USE_SYSTEM_HEADERS=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
SRC_HASH="84eedb4bb3a9addc21b7288aa22b84ef211e3603"
|
||||
KDEPLASMAADDONS_VERSION="6.5.5"
|
||||
|
||||
DESCRIPTION="A collection of plasma weather ions for Chinese users"
|
||||
HOMEPAGE="https://github.com/arenekosreal/plasma-ions-china"
|
||||
SRC_URI="
|
||||
https://github.com/arenekosreal/plasma-ions-china/archive/${SRC_HASH}.tar.gz -> ${P}.tar.gz
|
||||
mirror://kde/stable/plasma/${KDEPLASMAADDONS_VERSION}/kdeplasma-addons-${KDEPLASMAADDONS_VERSION}.tar.xz
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${SRC_HASH}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtbase:6
|
||||
>=kde-plasma/kdeplasma-addons-6.5:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="kde-frameworks/extra-cmake-modules"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DEXTERNAL_PROJECT_URL_KDEPLASMA_ADDONS="file://${DISTDIR}/kdeplasma-addons-${KDEPLASMAADDONS_VERSION}.tar.xz"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -3,33 +3,38 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3 cmake
|
||||
|
||||
KDEPLASMAADDONS_VERSION="6.5.5"
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A collection of plasma weather ions for Chinese users"
|
||||
HOMEPAGE="https://github.com/arenekosreal/plasma-ions-china"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/arenekosreal/plasma-ions-china.git"
|
||||
SRC_URI="mirror://kde/stable/plasma/${KDEPLASMAADDONS_VERSION}/kdeplasma-addons-${KDEPLASMAADDONS_VERSION}.tar.xz"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/arenekosreal/plasma-ions-china.git"
|
||||
else
|
||||
SRC_URI="https://github.com/arenekosreal/plasma-ions-china/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtbase:6
|
||||
>=kde-plasma/kdeplasma-addons-6.5:=
|
||||
>=kde-plasma/kdeplasma-addons-6.7:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="kde-frameworks/extra-cmake-modules"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.1.0-package-version.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DEXTERNAL_PROJECT_URL_KDEPLASMA_ADDONS="file://${DISTDIR}/kdeplasma-addons-${KDEPLASMAADDONS_VERSION}.tar.xz"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
local mycmakeargs=( -DPROJECT_VERSION="$(git rev-parse HEAD)" )
|
||||
else
|
||||
local mycmakeargs=( -DPROJECT_VERSION="${PV}" )
|
||||
fi
|
||||
mycmakeargs+=(
|
||||
-DPLASMA_IONS_CHINA_USE_SYSTEM_HEADERS=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in new issue
Block a user