x11-misc/kdocker: version bump to 5.3
authorNikos Chantziaras <realnc@gmail.com>
Wed, 1 Apr 2020 18:37:51 +0000 (21:37 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Sat, 4 Apr 2020 08:00:45 +0000 (11:00 +0300)
Closes: https://bugs.gentoo.org/715792
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Nikos Chantziaras <realnc@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15200
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
x11-misc/kdocker/Manifest
x11-misc/kdocker/kdocker-5.3.ebuild [new file with mode: 0644]

index 03041212b81d5739b519eaf070636fbf427de0a0..ef201b6237d8f6a4254ac09951ebffee7304201a 100644 (file)
@@ -1 +1,2 @@
 DIST KDocker-5.2.tar.gz 173508 BLAKE2B e44a924a085c2d237c113028f40a98cfa8a8a5398525aea4e38fadabd23a10cc91648a55f800afd2ad398b744ad450d9c7bc26dd5bae994603f6ea4b322b5804 SHA512 1a98bf7b6360f4ce042b3e5330798076d42bd463c16e41b259706811f11516a34acfb0ace59f2c10c07aa6b2ff8fc57b1b1fa3ccdd33d452e220ec46446e8b64
+DIST KDocker-5.3.tar.gz 180861 BLAKE2B b9ee9c2b035fb477e947b1b451d55e76fb4d9ae8788469fc2d05e1721b5ab71657e00e31331b5be6cf8776b37b7032720d4609df29f57e5c66a44d9fc5d38318 SHA512 8e5af389c402f337c75f861b4cc83036486903a9728fbcb6ea812392c297203fad7eec4e7b11eb1db83514fd615094ab9826277b73312ae8ea13b012d82524c4
diff --git a/x11-misc/kdocker/kdocker-5.3.ebuild b/x11-misc/kdocker/kdocker-5.3.ebuild
new file mode 100644 (file)
index 0000000..30bfc10
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 qmake-utils xdg
+
+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"
+       sed -i -e 's|/usr/share/appdata|/usr/share/metainfo|g' kdocker.pro \
+               || die "sed failed"
+}
+
+src_configure() {
+       eqmake5 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1
+}
+
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+       einstalldocs
+}