blob: ade554e6c1308b11d409762ea73b773fec762bab (
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
|
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit ecm
DESCRIPTION="A fully customisable desktop menu for plasma 5"
HOMEPAGE="https://sourceforge.net/projects/plasma-custom-desktop-menu"
SRC_URI="mirror://sourceforge/${PN}/plasma-containmentactions-customdesktopmenu-${PV}.tar.gz"
# Also at:
# http://kde-apps.org/content/show.php?action=content&content=171299
# https://github.com/MatMoul/plasma-containmentactions-customdesktopmenu
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
kde-plasma/plasma-workspace
"
DEPEND="${RDEPEND}
"
S="${WORKDIR}/plasma-containmentactions-customdesktopmenu"
src_install() {
default
dodoc "${FILESDIR}/example.config"
insinto /usr/lib64/qt5/plugins
doins ${WORKDIR}/${P}_build/plasma_containmentactions_customdesktopmenu.so
insinto /usr/share/kservices5
doins plasma-containmentactions-customdesktopmenu.desktop
}
pkg_postinst() {
elog "To enable this launcher:"
elog ""
elog " Run: kbuildsycoca5"
elog ""
elog " Right click to your desktop and select Desktop Settings."
elog " On mouse actions, you can now choose Custom Desktop Menu."
elog ""
elog " If new menu is not available, logout/login your session."
elog ""
elog " Configure in: <Right-Click>->Desktop Settings->Mouse Actions->Custom Desktop Menu [Config]"
elog " See installed doc: example.config"
}
|