summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/kscreen')
-rw-r--r--kde-plasma/kscreen/Manifest1
-rw-r--r--kde-plasma/kscreen/kscreen-1.0.71_p20150824.ebuild56
-rw-r--r--kde-plasma/kscreen/kscreen-5.7.5.ebuild2
-rw-r--r--kde-plasma/kscreen/kscreen-5.8.3.ebuild2
4 files changed, 59 insertions, 2 deletions
diff --git a/kde-plasma/kscreen/Manifest b/kde-plasma/kscreen/Manifest
index 46bfaebdc7b..d7ba331f642 100644
--- a/kde-plasma/kscreen/Manifest
+++ b/kde-plasma/kscreen/Manifest
@@ -1,2 +1,3 @@
+DIST kscreen-1.0.71_p20150824.tar.xz 93080 SHA256 ae0a1830d2d7dbb350e217188c77bd30a10decbd56f056f7e2fd0964071d95d4 SHA512 ac1f71219918363d298ee30022a9207da912c4293c6056d8875425b80c70010d7476591ca366eae5af97a298511c0e41ca748ba0c570d632f490eb5c3eae3c84 WHIRLPOOL 77721dc3a03a0a5eee543418379480da2c182497ab58a1aed7e513b228d406588187307ad848ddc3f6e6566e4a2039acec5428d04bcf597816c10b2d018a2f55
DIST kscreen-5.7.5.tar.xz 109144 SHA256 8d1d8c28591b2369510440f99321b0d97468ea9aa5a6eefa2a3385671f5e56c2 SHA512 df057cb36b095385d0e634a149faabd6a7f9413256569e7a2dcb759387e80ed517ccc21b1e0a7f79950444579fb0f2e2a28ee597f1d14cd3ea9667c41517f43d WHIRLPOOL aea5c49a9b3d17d2393893097fc03902136aef15678d1139c7b6f7045d9598121b53f503dad18974e525cfe6e946415501ca20d67a6b19c6d39bd1e9b138530c
DIST kscreen-5.8.3.tar.xz 112844 SHA256 de06798fa6d73b9dafcf25c90ff1739bdea0d78082a2aa9e453e28db7b6fb41e SHA512 74de567da96e9b086b8da45f289e842c93e00069c291d3e6420528ef91cb5aa79d9413b8458c6f6653ae5646875a08322fe1da5fbdcf735fce26803445c4585d WHIRLPOOL 9b3b4286ed039c5c9f4a999b93b23e1e666e4e82b4522f839e8a9440dcee9a615281606583c41ab71edef2b54b2dd6ded0c0aa3c0e11e1f27cdb20b47075d3c0
diff --git a/kde-plasma/kscreen/kscreen-1.0.71_p20150824.ebuild b/kde-plasma/kscreen/kscreen-1.0.71_p20150824.ebuild
new file mode 100644
index 00000000000..fb8ac17bfa4
--- /dev/null
+++ b/kde-plasma/kscreen/kscreen-1.0.71_p20150824.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+VIRTUALX_REQUIRED="test"
+DECLARATIVE_REQUIRED="always"
+KDE_LINGUAS="ast bg bs ca ca@valencia cs da de el en_GB es et fi fr ga gl hu it
+ja ko lt mr nb nds nl nn pa pl pt pt_BR ro ru sk sl sv tr ug uk zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="Plasma screen management"
+HOMEPAGE="https://projects.kde.org/projects/extragear/base/kscreen"
+SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="4"
+KEYWORDS="amd64 ~arm x86"
+IUSE="debug"
+
+RDEPEND="
+ >=dev-libs/qjson-0.8
+ >=x11-libs/libkscreen-1.0.4:4
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+DISPLAY_MESSAGE=false
+pkg_preinst() {
+ if ! has_version ${CATEGORY}/${PN} ; then
+ DISPLAY_MESSAGE=true
+ fi
+
+ kde4-base_pkg_preinst
+}
+
+pkg_postinst() {
+ if [[ "${DISPLAY_MESSAGE}" = true ]]; then
+ echo
+ elog "Disable the old screen management:"
+ elog "# qdbus org.kde.kded /kded org.kde.kded.unloadModule randrmonitor"
+ elog "# qdbus org.kde.kded /kded org.kde.kded.setModuleAutoloading randrmonitor false"
+ elog
+ elog "Enable the kded module for the kscreen based screen management:"
+ elog "# qdbus org.kde.kded /kded org.kde.kded.loadModule kscreen"
+ elog
+ elog "Now simply (un-)plugging displays should enable/disable them, while"
+ elog "the last state is remembered."
+ echo
+ fi
+
+ unset DISPLAY_MESSAGE
+
+ kde4-base_pkg_postinst
+}
diff --git a/kde-plasma/kscreen/kscreen-5.7.5.ebuild b/kde-plasma/kscreen/kscreen-5.7.5.ebuild
index c87716de25c..f417ccb5d8f 100644
--- a/kde-plasma/kscreen/kscreen-5.7.5.ebuild
+++ b/kde-plasma/kscreen/kscreen-5.7.5.ebuild
@@ -31,7 +31,7 @@ DEPEND="
RDEPEND="${DEPEND}
$(add_plasma_dep kde-cli-tools)
$(add_qt_dep qtgraphicaleffects)
- !kde-misc/kscreen
+ !kde-plasma/kscreen:4
"
# bug #580440, last checked 5.6.3
diff --git a/kde-plasma/kscreen/kscreen-5.8.3.ebuild b/kde-plasma/kscreen/kscreen-5.8.3.ebuild
index 2bb9503a543..db1af654835 100644
--- a/kde-plasma/kscreen/kscreen-5.8.3.ebuild
+++ b/kde-plasma/kscreen/kscreen-5.8.3.ebuild
@@ -31,7 +31,7 @@ DEPEND="
RDEPEND="${DEPEND}
$(add_plasma_dep kde-cli-tools)
$(add_qt_dep qtgraphicaleffects)
- !kde-misc/kscreen
+ !kde-plasma/kscreen:4
"
# bug #580440, last checked 5.6.3