blob: 43d293885e65e7a0daf35f6dd84d4654c3cb1961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
}
|