summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-10-08 10:08:03 +0000
committertnn <tnn@pkgsrc.org>2015-10-08 10:08:03 +0000
commite5682547afc7bb5c7316f175105ac77a1aa27883 (patch)
tree1186e55c138347e99a356ffa2a00d87a577a7138 /x11
parentb2bdda0b49e14a1119fa646b692317739519fa3c (diff)
downloadpkgsrc-e5682547afc7bb5c7316f175105ac77a1aa27883.tar.gz
fix build w/ current mesa. Based on patch from richard@
Diffstat (limited to 'x11')
-rw-r--r--x11/kde-workspace4/Makefile15
-rw-r--r--x11/kde-workspace4/PLIST8
-rw-r--r--x11/kde-workspace4/PLIST.Linux8
3 files changed, 16 insertions, 15 deletions
diff --git a/x11/kde-workspace4/Makefile b/x11/kde-workspace4/Makefile
index 8911d29250e..89979b4c33f 100644
--- a/x11/kde-workspace4/Makefile
+++ b/x11/kde-workspace4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2015/04/25 14:25:07 tnn Exp $
+# $NetBSD: Makefile,v 1.48 2015/10/08 10:08:03 tnn Exp $
DISTNAME= kde-workspace-4.11.14
PKGNAME= ${DISTNAME:S/-4/4-4/}
@@ -65,7 +65,7 @@ PLIST_SUBST+= KDE_VERSION=${_KDE_VERSION}
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
-PLIST_VARS+= utempter noutempter
+PLIST_VARS+= gles utempter noutempter
.if ${OPSYS} == "Linux" && exists(/usr/include/utempter.h)
PLIST.utempter= yes
.elif ${OPSYS} == "FreeBSD" && exists(/usr/include/utempter.h)
@@ -74,11 +74,6 @@ PLIST.utempter= yes
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
@@ -141,6 +136,12 @@ BUILDLINK_DEPMETHOD.qt4-tools= full
.include "../../lang/python/extension.mk"
.include "../../devel/libusb/buildlink3.mk"
.include "../../devel/qjson/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.if ${X11_TYPE} == "modular" && !empty(MESALIB_SUPPORTS_EGL:M[yY][eE][sS])
+PLIST.gles= yes
+.elif exists(${X11BASE:Q}/include/GLES2/gl2.h)
+PLIST.gles= yes
+.endif
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/qimageblitz/buildlink3.mk"
.include "../../security/polkit-qt/buildlink3.mk"
diff --git a/x11/kde-workspace4/PLIST b/x11/kde-workspace4/PLIST
index caf8f3f1d55..f70d7947393 100644
--- a/x11/kde-workspace4/PLIST
+++ b/x11/kde-workspace4/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2014/11/13 10:53:49 markd Exp $
+@comment $NetBSD: PLIST,v 1.9 2015/10/08 10:08:03 tnn Exp $
bin/genkdmconf
bin/kaccess
bin/kapplymousetheme
@@ -29,6 +29,7 @@ bin/ksysguard
bin/ksysguardd
bin/ksystraycmd
bin/kwin
+${PLIST.gles}bin/kwin_gles
${PLIST.noutempter}bin/kwrited
bin/oxygen-demo
bin/oxygen-settings
@@ -155,6 +156,7 @@ lib/kde4/kcm_keys.so
lib/kde4/kcm_krunner_kill.so
lib/kde4/kcm_ksplashthemes.so
lib/kde4/kcm_kwin4_effect_builtins.so
+${PLIST.gles}lib/kde4/kwin4_effect_gles_builtins.so
lib/kde4/kcm_kwin4_genericscripted.so
lib/kde4/kcm_kwin_scripts.so
lib/kde4/kcm_kwincompositing.so
@@ -339,6 +341,7 @@ lib/libkdeinit4_krunner.so
lib/libkdeinit4_ksmserver.so
lib/libkdeinit4_ksysguard.so
lib/libkdeinit4_kwin.so
+${PLIST.gles}lib/libkdeinit4_kwin_gles.so
lib/libkdeinit4_kwin_rules_dialog.so
lib/libkdeinit4_plasma-desktop.so
lib/libkdeinit4_plasma-netbook.so
@@ -367,6 +370,9 @@ lib/libksignalplotter.so.${KDE_VERSION}
lib/libkwineffects.so
lib/libkwineffects.so.1
lib/libkwineffects.so.1.0.0
+${PLIST.gles}lib/libkwinglesutils.so
+${PLIST.gles}lib/libkwinglesutils.so.1
+${PLIST.gles}lib/libkwinglesutils.so.1.0.0
lib/libkwinglutils.so
lib/libkwinglutils.so.1
lib/libkwinglutils.so.1.0.0
diff --git a/x11/kde-workspace4/PLIST.Linux b/x11/kde-workspace4/PLIST.Linux
index 7e162ed703a..ccb050cff6a 100644
--- a/x11/kde-workspace4/PLIST.Linux
+++ b/x11/kde-workspace4/PLIST.Linux
@@ -1,12 +1,6 @@
-@comment $NetBSD: PLIST.Linux,v 1.3 2014/03/26 13:24:52 jperkin Exp $
-${PLIST.gles}bin/kwin_gles
+@comment $NetBSD: PLIST.Linux,v 1.4 2015/10/08 10:08:03 tnn Exp $
lib/kde4/kcm_joystick.so
-${PLIST.gles}lib/kde4/kwin4_effect_gles_builtins.so
lib/kde4/libexec/backlighthelper
-${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