diff options
author | Alfred Wingate <parona@protonmail.com> | 2022-10-06 00:13:08 +0300 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-10-09 21:58:48 -0700 |
commit | 5932b295d7779ca721a533c19a43f8dab9ce9987 (patch) | |
tree | 2cc4d3ded2662e840fd60f658defcb04bcbb81de /kde-misc | |
parent | dev-util/schroot: drop 1.6.10_p12-r2 (diff) | |
download | gentoo-5932b295d7779ca721a533c19a43f8dab9ce9987.tar.gz gentoo-5932b295d7779ca721a533c19a43f8dab9ce9987.tar.bz2 gentoo-5932b295d7779ca721a533c19a43f8dab9ce9987.zip |
kde-misc/bismuth: add 3.1.4
Closes: https://github.com/gentoo/gentoo/pull/27649
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/bismuth/Manifest | 2 | ||||
-rw-r--r-- | kde-misc/bismuth/bismuth-3.1.4.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-misc/bismuth/Manifest b/kde-misc/bismuth/Manifest index a0ad48eab4e7..e8c0d9d2c233 100644 --- a/kde-misc/bismuth/Manifest +++ b/kde-misc/bismuth/Manifest @@ -1,2 +1,4 @@ DIST bismuth-3.1.3-binary-release.tar.gz 187092 BLAKE2B 76672973b2102dffc3b5db9a00f49a291ac07e9b79ef282a9fe24a33ddd641cdebbaea20fd149f293625ff800000c4bf7aa28f40f62291c94ed3828540728b35 SHA512 6c42a4075dd97e3429075e69fd0604ef273afb4a22ec4dc14073ca2e02fd325ad8f6defc3943eec1e3a11a598c6ace41ac8825ba36b8d7d976b98d2d00cc1e73 DIST bismuth-3.1.3.tar.gz 5473759 BLAKE2B fcacf2e6b491bbaccf52ec1227196b3a06535ae23371544762868b28b18ab5fe7cd0540376fd7ee34ac6d3fcd52d3ce61760c0252ff91acd7bc78896602e4c62 SHA512 fdfa1074d8c156c24cfe8b97ac99f1252c221f0ee2039d440645a08d6da405b7bf9b0479f1752cfadc9d05c21d3ad86923498cc190d69cc5f278c36888330a0c +DIST bismuth-3.1.4-binary-release.tar.gz 131470 BLAKE2B 435ec224ed589300f48bfd0f25aec75cb955ca7b6948ec48cdf0f8b53b92d262366e4159fb02862fde5bf676a99bfce38b521bcb670285fde7bb7dbda3e596d3 SHA512 90693137fa9527ed7aca9c0cad18d849491a166d3f6e6d4545f3c325a062589a196e1bfc36569f94551ba8a112e3f0be9a9d14dcb6cad0c8bc4e49bdd61f6488 +DIST bismuth-3.1.4.tar.gz 5456820 BLAKE2B 397f1f2ab89b92a2d0e9aa37f0cb42282f40b581de499860617ab2333a56e503bd8b76c4e6c909ec16df5ed56eb38019d559333c670898ab3f79fc1ab24310ad SHA512 3318f010dc9bf217536cccf2b9a683637172fae90409c2fbae4152a6b613d1a850cd7c7a03880e46f812aaa3a8d66bb829ba70f028a6a320db7844e254d73cc3 diff --git a/kde-misc/bismuth/bismuth-3.1.4.ebuild b/kde-misc/bismuth/bismuth-3.1.4.ebuild new file mode 100644 index 000000000000..aca8196c528f --- /dev/null +++ b/kde-misc/bismuth/bismuth-3.1.4.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Tiling window management script for Kwin" +HOMEPAGE="https://github.com/Bismuth-Forge/bismuth" +SRC_URI=" + https://github.com/Bismuth-Forge/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/Bismuth-Forge/bismuth/releases/download/v${PV}/binary-release.tar.gz -> ${P}-binary-release.tar.gz +" + +LICENSE="CC-BY-4.0 LGPL-3+ MIT" +SLOT="0" +KEYWORDS="~amd64" + +QTMIN=5.15.0 +KFMIN=5.78.0 + +DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qttest-${QTMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-plasma/kwin-5.24.0:5 +" + +RDEPEND="${DEPEND}" + +RESTRICT=test # npm + js + hell + network + +src_prepare() { + # we are not building npm hell or tests + cmake_comment_add_subdirectory tests + cmake_run_in src cmake_comment_add_subdirectory kwinscript + cmake_src_prepare +} + +src_configuire() { + # cmake calls git describe --tags --abbrev=0 + # let's just echo expected output, e.g. v1.2.3 + git() { echo "v${PV}" ; } + export -f git || die + + local mycmakeargs=( + -DBUILD_TESTING=OFF + -DUSE_NPM=OFF + -DUSE_TSC=OFF + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto /usr/share/kwin/scripts + doins -r ../share/kwin/scripts/"${PN}" +} |