summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Chantziaras <realnc@gmail.com>2022-04-29 09:10:24 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-05-02 15:46:32 +0300
commit9b4710f22a1748bc9c2ae5486c5087ffea011076 (patch)
tree4be23fe0b32acef6292071cae9bdffb94dd603d7 /x11-misc/kdocker
parentapp-portage/eix: bdepend on pkgconfig (diff)
downloadgentoo-9b4710f22a1748bc9c2ae5486c5087ffea011076.tar.gz
gentoo-9b4710f22a1748bc9c2ae5486c5087ffea011076.tar.bz2
gentoo-9b4710f22a1748bc9c2ae5486c5087ffea011076.zip
x11-misc/kdocker: add 5.4
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Nikos Chantziaras <realnc@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/kdocker')
-rw-r--r--x11-misc/kdocker/Manifest1
-rw-r--r--x11-misc/kdocker/kdocker-5.4.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/x11-misc/kdocker/Manifest b/x11-misc/kdocker/Manifest
index ef201b6237d8..a2d109a151b7 100644
--- a/x11-misc/kdocker/Manifest
+++ b/x11-misc/kdocker/Manifest
@@ -1,2 +1,3 @@
DIST KDocker-5.2.tar.gz 173508 BLAKE2B e44a924a085c2d237c113028f40a98cfa8a8a5398525aea4e38fadabd23a10cc91648a55f800afd2ad398b744ad450d9c7bc26dd5bae994603f6ea4b322b5804 SHA512 1a98bf7b6360f4ce042b3e5330798076d42bd463c16e41b259706811f11516a34acfb0ace59f2c10c07aa6b2ff8fc57b1b1fa3ccdd33d452e220ec46446e8b64
DIST KDocker-5.3.tar.gz 180861 BLAKE2B b9ee9c2b035fb477e947b1b451d55e76fb4d9ae8788469fc2d05e1721b5ab71657e00e31331b5be6cf8776b37b7032720d4609df29f57e5c66a44d9fc5d38318 SHA512 8e5af389c402f337c75f861b4cc83036486903a9728fbcb6ea812392c297203fad7eec4e7b11eb1db83514fd615094ab9826277b73312ae8ea13b012d82524c4
+DIST KDocker-5.4.tar.gz 181166 BLAKE2B 7a301cd36f73112f5a6df6ce65fc11c30b16089ccec98f46d435694b2bfb373eac11c2ba3be5c4e56a56cec1f5fad9bc17b014e47e55f886f0685b6f11707c51 SHA512 1bc1bc445ccc2406f3fe21deb68d9654b3d384ab88bce4bc49f123c343ece3dcc3dfdc49b796f6ad5251d050e57b4ad13e1900851519b3643263137550f0ccc9
diff --git a/x11-misc/kdocker/kdocker-5.4.ebuild b/x11-misc/kdocker/kdocker-5.4.ebuild
new file mode 100644
index 000000000000..43d293885e65
--- /dev/null
+++ b/x11-misc/kdocker/kdocker-5.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}