summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Chantziaras <realnc@gmail.com>2018-03-14 04:52:47 +0200
committerMichał Górny <mgorny@gentoo.org>2018-03-16 11:12:12 +0100
commite25e4078ce2a7b2870722c6c00783530adaca24e (patch)
tree9887de4e6efff05a2925032f380cd3bfbf052282 /x11-misc/kdocker
parentapp-admin/pass-otp: New Package (diff)
downloadgentoo-e25e4078ce2a7b2870722c6c00783530adaca24e.tar.gz
gentoo-e25e4078ce2a7b2870722c6c00783530adaca24e.tar.bz2
gentoo-e25e4078ce2a7b2870722c6c00783530adaca24e.zip
x11-misc/kdocker: version bump to 5.1
Closes: https://bugs.gentoo.org/648574 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'x11-misc/kdocker')
-rw-r--r--x11-misc/kdocker/Manifest1
-rw-r--r--x11-misc/kdocker/kdocker-5.1.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/x11-misc/kdocker/Manifest b/x11-misc/kdocker/Manifest
index 78eca9dd6fba..db68f1de65ca 100644
--- a/x11-misc/kdocker/Manifest
+++ b/x11-misc/kdocker/Manifest
@@ -1 +1,2 @@
+DIST KDocker-5.1.tar.gz 173340 BLAKE2B a15b833fba2a2d1e3f1b55ad4d115cb09f55a57981076332fc86b1e607bac470705b8bc909d15ddd912b43d301e8c217b1fd175947879f053b250d8684556424 SHA512 df5880e1c19a436ef6b8ee92426f989b77f4dfd11f3a6a2357f425419ea61cd69f51250a10e92962a893611f0a14504f698ccef09322d62d20f5d49a506c4a12
DIST kdocker-5.0.tar.gz 152222 BLAKE2B b4e60a28f497476503f2a40aee4a776ece3a052adce4d29cb75095d9056ba0d6e4993838d6f771fad08532a3fb6d4022a07684f47cbd72289d34bce7196347aa SHA512 7c7702000621204d7e4acab295d43d05f71982af91524bc237878bdc9aa8851dc01a718bbe32412f46c718a1e358de8e710489a4beba9ef5b39359fe43662ba3
diff --git a/x11-misc/kdocker/kdocker-5.1.ebuild b/x11-misc/kdocker/kdocker-5.1.ebuild
new file mode 100644
index 000000000000..cc8d8ab4af6c
--- /dev/null
+++ b/x11-misc/kdocker/kdocker-5.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 qmake-utils gnome2-utils
+
+MY_P=KDocker-${PV}
+DESCRIPTION="Helper to dock any application into the system tray"
+HOMEPAGE="https://github.com/user-none/KDocker"
+SRC_URI="https://github.com/user-none/KDocker/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtsingleapplication[qt5(+),X]
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXpm
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS BUGS ChangeLog CREDITS README.md TODO )
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+
+ sed -i -e "/completion.path/s%/etc/bash_completion.d%$(get_bashcompdir)%" \
+ kdocker.pro || die "sed failed"
+}
+
+src_configure() {
+ eqmake5 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}