summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-08-25 02:23:04 +1000
committerMichael Palimaka <kensington@gentoo.org>2015-08-25 02:23:39 +1000
commit66e5963cf0a150d1b00e46b038d65889d8810f5a (patch)
treefb1c52bfe2c5f8b8e419f5122d0400c9b20caf94 /kde-misc/kscreen/kscreen-1.0.71_p20150824.ebuild
parentkde-misc/kscreen: fix typo in variable name. (diff)
downloadgentoo-66e5963cf0a150d1b00e46b038d65889d8810f5a.tar.gz
gentoo-66e5963cf0a150d1b00e46b038d65889d8810f5a.tar.bz2
gentoo-66e5963cf0a150d1b00e46b038d65889d8810f5a.zip
kde-misc/kscreen: add upstream snapshot.
This fixes a few crashes and build failure with kde-base/kdelibs-4.14.11. Gentoo-bug: 558580 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-misc/kscreen/kscreen-1.0.71_p20150824.ebuild')
-rw-r--r--kde-misc/kscreen/kscreen-1.0.71_p20150824.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/kde-misc/kscreen/kscreen-1.0.71_p20150824.ebuild b/kde-misc/kscreen/kscreen-1.0.71_p20150824.ebuild
new file mode 100644
index 000000000000..16786c8d3f6e
--- /dev/null
+++ b/kde-misc/kscreen/kscreen-1.0.71_p20150824.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 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="Alternative KDE 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 ~ppc ~ppc64 ~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
+}