kde-misc/latte-dock: 0.7.0 version bump, fix DEPENDs
authorPetross404 <petross404@gmail.com>
Mon, 28 Aug 2017 10:05:37 +0000 (13:05 +0300)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 29 Aug 2017 18:19:06 +0000 (20:19 +0200)
Fixes broken .desktop file.
Proxy-maint-comment: Simplified sed and git summary.
Closes: https://github.com/gentoo/gentoo/pull/5547

kde-misc/latte-dock/Manifest
kde-misc/latte-dock/latte-dock-0.7.0.ebuild [new file with mode: 0644]
kde-misc/latte-dock/latte-dock-9999.ebuild

index 5ca5a1a3c36f3c182699f09e7efa49ef60afc310..1417645a61d81e9647a0887cbd02040210343097 100644 (file)
@@ -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 (file)
index 0000000..62a40a3
--- /dev/null
@@ -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
+}
index fa43edd7c09763811e112a521177a8bfa05f9f2c..5dcfa44e5bcf6b4a78f0b45f3bce4debbdf8fb43 100644 (file)
@@ -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() {