From b1b35d20ce6b70330b23a9d056dcb44b58795bd6 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 22 Dec 2014 15:23:54 +0100 Subject: KDE 5 for Slackware current (post-14.1) (16sep2014) The KDE 5 Software Compilation no longer exists as such. The components are now: - Frameworks 5.2.0 - Plasma 5.0.2 These packages need to be installed on top of the most recent KDE 4.14.x because Applications tarballs which build on top of Frameworks and Plasma have not yet been released. --- deps/qt5/profile.d/qt5.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 deps/qt5/profile.d/qt5.sh (limited to 'deps/qt5/profile.d/qt5.sh') diff --git a/deps/qt5/profile.d/qt5.sh b/deps/qt5/profile.d/qt5.sh new file mode 100644 index 0000000..8ee075e --- /dev/null +++ b/deps/qt5/profile.d/qt5.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# Environment variables for the Qt package. +# +# It's best to use the generic directory to avoid +# compiling in a version-containing path: +if [ -d /usr/lib@LIBDIRSUFFIX@/qt5 ]; then + QT5DIR=/usr/lib@LIBDIRSUFFIX@/qt5 +else + # Find the newest Qt directory and set $QT5DIR to that: + for qtd in /usr/lib@LIBDIRSUFFIX@/qt5-* ; do + if [ -d $qtd ]; then + QT5DIR=$qtd + fi + done +fi +PATH="$PATH:$QT5DIR/bin" +export QT5DIR -- cgit v1.2.3