pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kde-workspace4 Only enable gles files if the gles ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08a6098aa5e8
branches:  trunk
changeset: 632367:08a6098aa5e8
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Mar 26 13:24:52 2014 +0000

description:
Only enable gles files if the gles header exists.

diffstat:

 x11/kde-workspace4/Makefile    |   7 ++++++-
 x11/kde-workspace4/PLIST.Linux |  14 +++++++-------
 2 files changed, 13 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r c21a6b747bfe -r 08a6098aa5e8 x11/kde-workspace4/Makefile
--- a/x11/kde-workspace4/Makefile       Wed Mar 26 13:24:35 2014 +0000
+++ b/x11/kde-workspace4/Makefile       Wed Mar 26 13:24:52 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2014/02/12 23:18:49 tron Exp $
+# $NetBSD: Makefile,v 1.35 2014/03/26 13:24:52 jperkin Exp $
 
 DISTNAME=      kde-workspace-${_KDE_VERSION}
 PKGNAME=       ${DISTNAME:S/-4/4-4/}
@@ -67,6 +67,11 @@
 PLIST.noutempter=      yes
 .endif
 
+PLIST_VARS+=   gles
+.if ${OPSYS} == "Linux" && exists(/usr/include/GLES2/gl2.h)
+PLIST.gles=            yes
+.endif
+
 .if ${OPSYS} == "Linux"
 CONF_FILES+=           ${PREFIX}/share/examples/kde4-dbus/org.kde.powerdevil.backlighthelper.conf \
                        ${PKG_SYSCONFDIR}/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf
diff -r c21a6b747bfe -r 08a6098aa5e8 x11/kde-workspace4/PLIST.Linux
--- a/x11/kde-workspace4/PLIST.Linux    Wed Mar 26 13:24:35 2014 +0000
+++ b/x11/kde-workspace4/PLIST.Linux    Wed Mar 26 13:24:52 2014 +0000
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST.Linux,v 1.2 2013/12/12 00:14:26 markd Exp $
-bin/kwin_gles
+@comment $NetBSD: PLIST.Linux,v 1.3 2014/03/26 13:24:52 jperkin Exp $
+${PLIST.gles}bin/kwin_gles
 lib/kde4/kcm_joystick.so
-lib/kde4/kwin4_effect_gles_builtins.so
+${PLIST.gles}lib/kde4/kwin4_effect_gles_builtins.so
 lib/kde4/libexec/backlighthelper
-lib/libkdeinit4_kwin_gles.so
-lib/libkwinglesutils.so
-lib/libkwinglesutils.so.1
-lib/libkwinglesutils.so.1.0.0
+${PLIST.gles}lib/libkdeinit4_kwin_gles.so
+${PLIST.gles}lib/libkwinglesutils.so
+${PLIST.gles}lib/libkwinglesutils.so.1
+${PLIST.gles}lib/libkwinglesutils.so.1.0.0
 share/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
 share/examples/kde4-dbus/org.kde.powerdevil.backlighthelper.conf
 share/kde4/services/joystick.desktop



Home | Main Index | Thread Index | Old Index