|
|
|
@ -35,7 +35,7 @@ newhacks:
|
|
|
|
|
label=`grep '<screensaver.*_label' /etc/xscreensaver/$$name.xml | sed -e 's#^.*_label=\"\(.*\)\".*$$#\1#'` ;\
|
|
|
|
|
f=$(srcdir)/ScreenSavers/$$name.desktop ;\
|
|
|
|
|
sed -e "s#@NAME@#$$name#; s#@LABEL@#$$label#" $(srcdir)/ScreenSavers/xscreensaver.template > $$f; \
|
|
|
|
|
if ldd /usr/lib/xscreensaver/$$name 2>&1 | grep libGL; then sed -e "s,@GL1@,X-KDE-Type=OpenGL,; s,@GL2@,X-KDE-Category=OpenGL Screen Savers," $$f > $$f.new && mv $$f.new $$f; else grep -v @GL $$f > $$f.new && mv $$f.new $$f; fi ;\
|
|
|
|
|
if ldd /usr/lib/xscreensaver/$$name 2>&1 | grep libGL; then sed -e "s,@GL1@,X-TDE-Type=OpenGL,; s,@GL2@,X-TDE-Category=OpenGL Screen Savers," $$f > $$f.new && mv $$f.new $$f; else grep -v @GL $$f > $$f.new && mv $$f.new $$f; fi ;\
|
|
|
|
|
fi; \
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|