diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-10-27 21:08:09 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-10-27 22:25:40 +0100 |
commit | 195dd326a7e664967a4e86e1dc4f87aea9da0e1e (patch) | |
tree | ca40d7dead0c067c766b39db5888ce5d5d0565fd /kde-plasma/libkworkspace | |
parent | kde-plasma/libksysguard: 5.20.2 version bump (diff) | |
download | gentoo-195dd326a7e664967a4e86e1dc4f87aea9da0e1e.tar.gz gentoo-195dd326a7e664967a4e86e1dc4f87aea9da0e1e.tar.bz2 gentoo-195dd326a7e664967a4e86e1dc4f87aea9da0e1e.zip |
kde-plasma/libkworkspace: 5.20.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/libkworkspace')
-rw-r--r-- | kde-plasma/libkworkspace/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/libkworkspace/libkworkspace-5.20.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest index f596376514f9..234d34a12b05 100644 --- a/kde-plasma/libkworkspace/Manifest +++ b/kde-plasma/libkworkspace/Manifest @@ -1,2 +1,3 @@ DIST plasma-workspace-5.19.5.tar.xz 5682264 BLAKE2B 435ea4c73fe50fb78911efb607f1a22ce6fe4a8f089b90b44374e7932d4f0111069dbce0168eedb61de09affdae3549563365bf85b4bbafb33fc69fad6b343e8 SHA512 4cab64c1f817f391a61ae15e37bf1fc936ddd3fb3b234e281a3e5750b67dab05c1c156789446096cbde719bf972e876757c1c5ae78adde4e85f3591fa8df5df9 DIST plasma-workspace-5.20.1.1.tar.xz 8994820 BLAKE2B e95b80630bf203f5b2deacac5972636289ef505d1f3828bd8382a966395d6fc547e7eef4faa16fdb0db937addf182a9a09f1cc62db6ef9cb4c07864622fef48e SHA512 db7acbe7fc441429ffcefea152fe4036344a4f3fce3a83b0b3ccce781e5e453944541342b64f5e89535296976c837d45e25c03843d01ee083ff9d0a04ec2a8cf +DIST plasma-workspace-5.20.2.tar.xz 8995036 BLAKE2B b75d4dcfbf41fe9379bb132486604ac18702641b7d14e1f3ea20f5cc434b385c7f45446a471a761e7a7a3cc0c1d6996ad3545b84ac78cbbbc27dcebf51bf497f SHA512 fb65ed1ee61c25cba282432157b96401c32bbbd0eec1da56dc7727760e817aa333ed3088b1ea707d3593c530d4987de9cb4c73200314e9064d8e880e82be0e1e diff --git a/kde-plasma/libkworkspace/libkworkspace-5.20.2.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.20.2.ebuild new file mode 100644 index 000000000000..fa283d1fa3ce --- /dev/null +++ b/kde-plasma/libkworkspace/libkworkspace-5.20.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="true" +KDE_ORG_NAME="plasma-workspace" +KFMIN=5.74.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.1 +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 ~x86" +IUSE="" + +COMMON_DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kinit-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/plasma-${KFMIN}:5 + >=kde-plasma/kscreenlocker-${PVCUT}:5 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau +" +DEPEND="${COMMON_DEPEND} + >=kde-plasma/kwin-${PVCUT}:5 +" +RDEPEND="${COMMON_DEPEND} + !<kde-plasma/plasma-workspace-5.14.2:5 +" + +S="${S}/${PN}" + +PATCHES=( "${FILESDIR}/${PN}-5.19.80-standalone.patch" ) + +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 + ecm_src_prepare + if [[ ${KDE_BUILD_TYPE} = release ]]; then + cat >> CMakeLists.txt <<- _EOF_ || die + ki18n_install(po) + _EOF_ + fi + + sed -e "/set/s/GENTOO_PV/$(ver_cut 1-3)/" \ + -i CMakeLists.txt || die "Failed to prepare CMakeLists.txt" +} |