blob: c79c94c97820fa8686883513565cbdbc5e45f9f1 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit kde4-base
DESCRIPTION="Intelligent KDE screen management"
HOMEPAGE="https://projects.kde.org/projects/playground/base/kscreen"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="
>=x11-libs/libkscreen-${PV}
>=dev-libs/qjson-0.8
"
RDEPEND="${DEPEND}"
pkg_postinst() {
elog "To make use of kscreen, run the following"
elog "# qdbus org.kde.kded /kded org.kde.kded.unloadModule randrmonitor"
elog "# qdbus org.kde.kded /kded org.kde.kded.setModuleAutoloading randrmonitor false"
elog "# qdbus org.kde.kded /kded org.kde.kded.loadModule kscreen"
elog "Now simply (un-)plugging displays should enable/disable them, while"
elog "the last state is remembered."
kde4-base_pkg_postinst
}
|