diff options
author | Petross404 <petross404@gmail.com> | 2017-08-28 13:05:37 +0300 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-08-29 20:19:06 +0200 |
commit | f319eb6b16953dd4de002c8c05b317e23d20ecdf (patch) | |
tree | 80e7a0a5b32f3831a539da2ede7ba61b44dbccb0 /kde-misc | |
parent | media-video/vlc: Drop vulnerable, bug #619494 (diff) | |
download | gentoo-f319eb6b16953dd4de002c8c05b317e23d20ecdf.tar.gz gentoo-f319eb6b16953dd4de002c8c05b317e23d20ecdf.tar.bz2 gentoo-f319eb6b16953dd4de002c8c05b317e23d20ecdf.zip |
kde-misc/latte-dock: 0.7.0 version bump, fix DEPENDs
Fixes broken .desktop file.
Proxy-maint-comment: Simplified sed and git summary.
Closes: https://github.com/gentoo/gentoo/pull/5547
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/latte-dock/Manifest | 1 | ||||
-rw-r--r-- | kde-misc/latte-dock/latte-dock-0.7.0.ebuild | 76 | ||||
-rw-r--r-- | kde-misc/latte-dock/latte-dock-9999.ebuild | 11 |
3 files changed, 80 insertions, 8 deletions
diff --git a/kde-misc/latte-dock/Manifest b/kde-misc/latte-dock/Manifest index 5ca5a1a3c36f..1417645a61d8 100644 --- a/kde-misc/latte-dock/Manifest +++ b/kde-misc/latte-dock/Manifest @@ -1 +1,2 @@ DIST latte-dock-0.6.2.tar.gz 387854 SHA256 3de5826473f467e2f92fda5296dc1cb4f73aa7cf11c32f5a43d5886b899332b3 SHA512 06bafebddceb57e02c7af806e535b80ef8ce847c9ab4107c77b45815925fccf4e524099218189343da56d9205d89d455f8d8ba5bb2f1ff512fe2cce48946eda0 WHIRLPOOL 829ea1554fe5935e8f8a83bc0efe24ac9e886eef1e072d7f579920636d7ff01deca194e108c8889eeff57c013480f63c7eb6b4ac32a426e11c52e27945a45da6 +DIST latte-dock-0.7.0.tar.gz 1786148 SHA256 01f69619ac6c51ab864526bfc10790308c6d5bf1c80d94f8affba4989d1b7f7d SHA512 ad6afcfd6e1fc7760681ac3819f6fc20613e4d4cfea65f34fdfe702d8bca8ca4993b386e9fcb31ffeaf36889da585bc00d88ee2dd7789884ddf74f96fbf9f145 WHIRLPOOL c78e048464b71fc5b64a34036c577cb6e18953dcd5d917498261e6f5b6d9558bcf9233936ab97fbf0fcb571022cb3ad4002b3863a18e9da2ed7717cde7e100c2 diff --git a/kde-misc/latte-dock/latte-dock-0.7.0.ebuild b/kde-misc/latte-dock/latte-dock-0.7.0.ebuild new file mode 100644 index 000000000000..62a40a38ea74 --- /dev/null +++ b/kde-misc/latte-dock/latte-dock-0.7.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +QT_MINIMAL="5.7.1" +inherit cmake-utils gnome2-utils kde5-functions + +DESCRIPTION="Elegant dock, based on KDE Frameworks" +HOMEPAGE="https://store.kde.org/p/1169519/ + https://github.com/psifidotos/Latte-Dock" + +if [[ ${PV} = 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/psifidotos/Latte-Dock.git" +else + SRC_URI="https://github.com/psifidotos/Latte-Dock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/Latte-Dock-${PV}" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" + +RDEPEND=" + $(add_frameworks_dep kactivities) + $(add_frameworks_dep karchive) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep kglobalaccel) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep kpackage) + $(add_frameworks_dep kwayland) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep plasma X) + $(add_qt_dep qtcore) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgraphicaleffects) + $(add_qt_dep qtgui 'xcb') + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + x11-libs/libSM + x11-libs/libX11 + x11-libs/libxcb +" +DEPEND="${RDEPEND} + $(add_frameworks_dep extra-cmake-modules) +" + +DOCS=( CHANGELOG.md README.md TRANSLATORS ) + +src_prepare() { + cmake-utils_src_prepare + sed -i -e "s/^Version/X-KDE-PluginInfo-Version/g" \ + app/org.kde.latte-dock.desktop.cmake || die +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/kde-misc/latte-dock/latte-dock-9999.ebuild b/kde-misc/latte-dock/latte-dock-9999.ebuild index fa43edd7c097..5dcfa44e5bcf 100644 --- a/kde-misc/latte-dock/latte-dock-9999.ebuild +++ b/kde-misc/latte-dock/latte-dock-9999.ebuild @@ -3,13 +3,12 @@ EAPI=6 -KDE_GCC_MINIMAL="4.9" QT_MINIMAL="5.7.1" inherit cmake-utils gnome2-utils kde5-functions DESCRIPTION="Elegant dock, based on KDE Frameworks" HOMEPAGE="https://store.kde.org/p/1169519/ -https://github.com/psifidotos/Latte-Dock" + https://github.com/psifidotos/Latte-Dock" if [[ ${PV} = 9999 ]] ; then inherit git-r3 @@ -29,6 +28,7 @@ RDEPEND=" $(add_frameworks_dep karchive) $(add_frameworks_dep kconfig) $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) $(add_frameworks_dep kdbusaddons) $(add_frameworks_dep kdeclarative) $(add_frameworks_dep kglobalaccel) @@ -47,6 +47,7 @@ RDEPEND=" $(add_qt_dep qtgui 'xcb') $(add_qt_dep qtwidgets) $(add_qt_dep qtx11extras) + x11-libs/libSM x11-libs/libX11 x11-libs/libxcb " @@ -62,12 +63,6 @@ pkg_preinst() { pkg_postinst() { gnome2_icon_cache_update - - if has_version ">=dev-qt/qtcore-5.8.0" ; then - ewarn "Qt versions >=5.8 are known to cause runtime problems. If you" - ewarn "experience problems while running Latte Dock, please check this" - ewarn "out: https://github.com/psifidotos/Latte-Dock/issues/183" - fi } pkg_postrm() { |