diff options
Diffstat (limited to 'kde-plasma')
-rw-r--r-- | kde-plasma/libkworkspace/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/libkworkspace/libkworkspace-5.25.0.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest index 1ba2f05fc00f..f8a5f3c03a33 100644 --- a/kde-plasma/libkworkspace/Manifest +++ b/kde-plasma/libkworkspace/Manifest @@ -1 +1,2 @@ DIST plasma-workspace-5.24.5.tar.xz 18490588 BLAKE2B 5a9681620f40604f631cd7ef0c9d6256cc490436dc5e29ef9434d0f129324c2d405c5647da12778c208976c0cb0b4da698a90a22b70c1cb2723cbc58f69bda1d SHA512 ae40fe545b03e42e9f8fe2e8885d3853f4b52d4fd2ed3ecf7d24fa59b4924b8f8b389e8713ec6a3a875bc66df3952de9157d4a5631b283105a9329a1a1825996 +DIST plasma-workspace-5.25.0.tar.xz 18568884 BLAKE2B 5390a62d336a6cfc6179bc20b546966a11ce583e0737d4a131a993056d0e9987648046e8d5f6664a38689525b61be73deb55dac1fb2b22c36cbac3c50a097800 SHA512 0d52ab01752421e8056db666640e4c8fc31070a6a7704f78e8087f6b32fe22290da54ff830bb59870dcd7e007bd6798859358e163e4ed334d4f31041a3b743c8 diff --git a/kde-plasma/libkworkspace/libkworkspace-5.25.0.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.25.0.ebuild new file mode 100644 index 000000000000..8b0a9703edea --- /dev/null +++ b/kde-plasma/libkworkspace/libkworkspace-5.25.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KDE_ORG_NAME="plasma-workspace" +KFMIN=5.94.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.3 +inherit ecm kde.org + +DESCRIPTION="Workspace library to interact with the Plasma session manager" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-plasma/kscreenlocker-${PVCUT}:5 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau +" +DEPEND="${RDEPEND} + >=kde-frameworks/kinit-${KFMIN}:5 + >=kde-plasma/kwin-${PVCUT}:5 +" + +S="${S}/${PN}" + +src_prepare() { + # delete colliding libkworkspace translations, let ecm_src_prepare do its magic + if [[ ${KDE_BUILD_TYPE} = release ]]; then + find ../po -type f -name "*po" -and -not -name "libkworkspace*" -delete || die + rm -rf po/*/docs || die + cp -a ../po ./ || die + fi + + eapply "${FILESDIR}/${PN}-5.22.80-standalone.patch" + sed -e "/set/s/GENTOO_PV/$(ver_cut 1-3)/" -i CMakeLists.txt || die + cat >> CMakeLists.txt <<- _EOF_ || die + ki18n_install(po) + _EOF_ + + ecm_src_prepare +} |