summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-11-21 13:13:13 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-11-21 13:13:13 +0000
commit1b1981994c023809cd2b5b45209e8930f9b8c9a9 (patch)
tree2593f6f8ab766ca4b31268b7882a7198e0d3ed7d /kde-misc/kscreen
parentVersion bump. Tests are working now, remove restriction. (diff)
downloadgentoo-2-1b1981994c023809cd2b5b45209e8930f9b8c9a9.tar.gz
gentoo-2-1b1981994c023809cd2b5b45209e8930f9b8c9a9.tar.bz2
gentoo-2-1b1981994c023809cd2b5b45209e8930f9b8c9a9.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'kde-misc/kscreen')
-rw-r--r--kde-misc/kscreen/ChangeLog7
-rw-r--r--kde-misc/kscreen/kscreen-1.0.2.ebuild55
2 files changed, 61 insertions, 1 deletions
diff --git a/kde-misc/kscreen/ChangeLog b/kde-misc/kscreen/ChangeLog
index bb62414b9b1f..ff31c5c3c01b 100644
--- a/kde-misc/kscreen/ChangeLog
+++ b/kde-misc/kscreen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-misc/kscreen
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kscreen/ChangeLog,v 1.3 2013/11/04 12:40:03 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kscreen/ChangeLog,v 1.4 2013/11/21 13:13:13 mrueg Exp $
+
+*kscreen-1.0.2 (21 Nov 2013)
+
+ 21 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +kscreen-1.0.2.ebuild:
+ Version bump.
04 Nov 2013; Johannes Huber <johu@gentoo.org> -kscreen-1.0.ebuild,
kscreen-1.0.1.ebuild:
diff --git a/kde-misc/kscreen/kscreen-1.0.2.ebuild b/kde-misc/kscreen/kscreen-1.0.2.ebuild
new file mode 100644
index 000000000000..bb85eb31766a
--- /dev/null
+++ b/kde-misc/kscreen/kscreen-1.0.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kscreen/kscreen-1.0.2.ebuild,v 1.1 2013/11/21 13:13:13 mrueg Exp $
+
+EAPI=5
+
+VIRTUALX_REQUIRED="test"
+DECLARATIVE_REQUIRED="always"
+KDE_LINGUAS="bs ca cs da de el es et fi fr ga gl hu it lt mr nl pt pt_BR ro ru
+sk sl sv tr ug uk zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="Alternative KDE screen management"
+HOMEPAGE="https://projects.kde.org/projects/kdereview/kscreen"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+ >=x11-libs/libkscreen-${PV}
+ >=dev-libs/qjson-0.8
+"
+RDEPEND="${DEPEND}"
+
+DISTPLAY_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
+}