Adapt to moved Color class

Color moved from libscscreensaver to libscgui, because it's more
generic than for just screensavers. This forced me to add a libscgui
dependency to all plugins.
This commit is contained in:
Bob Polis 2024-11-27 12:18:52 +01:00
parent d7f7bf274a
commit 8dd1a0f44f
11 changed files with 23 additions and 6 deletions

View File

@ -1,4 +1,5 @@
#include "Default.hpp"
#include <libscgui.hpp>
#include <libscscreensaver.hpp>
class Default : public ScreensaverPlugin {

View File

@ -1,4 +1,6 @@
LDLIBS := -lcairo -lscscreensaver
LDLIBS := -lcairo -lscscreensaver -lscgui
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
UNAME_S := $(shell uname -s)
PROJ := $(shell basename $$(pwd))
PLUGIN := $(PROJ).saver

View File

@ -1,5 +1,6 @@
#include "FadingRects.hpp"
#include <libscscreensaver.hpp>
#include <libscgui.hpp>
#include <libscnumerics.hpp>
#include <vector>
#include <algorithm>

View File

@ -1,4 +1,6 @@
LDLIBS := -lcairo -lscscreensaver -lscnumerics
LDLIBS := -lcairo -lscscreensaver -lscnumerics -lscgui
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
UNAME_S := $(shell uname -s)
PROJ := $(shell basename $$(pwd))
PLUGIN := $(PROJ).saver

View File

@ -1,4 +1,5 @@
#include "Grid.hpp"
#include <libscgui.hpp>
#include <libscscreensaver.hpp>
#include <libscnumerics.hpp>
#include <vector>

View File

@ -1,4 +1,6 @@
LDLIBS := -lcairo -lscscreensaver -lscnumerics
LDLIBS := -lcairo -lscscreensaver -lscnumerics -lscgui
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
UNAME_S := $(shell uname -s)
PROJ := $(shell basename $$(pwd))
PLUGIN := $(PROJ).saver

View File

@ -1,4 +1,5 @@
#include "Huey.hpp"
#include <libscgui.hpp>
#include <libscscreensaver.hpp>
#include <sstream>
#include <iomanip>

View File

@ -1,4 +1,6 @@
LDLIBS := -lcairo -lscscreensaver
LDLIBS := -lcairo -lscscreensaver -lscgui
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
UNAME_S := $(shell uname -s)
PROJ := $(shell basename $$(pwd))
PLUGIN := $(PROJ).saver

View File

@ -1,4 +1,5 @@
#include "Whirling.hpp"
#include <libscgui.hpp>
#include <libscscreensaver.hpp>
#include <vector>
#include <cmath>

View File

@ -1,4 +1,6 @@
LDLIBS := -lcairo -lscscreensaver
LDLIBS := -lcairo -lscscreensaver -lscgui
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
UNAME_S := $(shell uname -s)
PROJ := $(shell basename $$(pwd))
PLUGIN := $(PROJ).saver

View File

@ -1,4 +1,6 @@
LDLIBS := -lcairo -lscscreensaver
LDLIBS := -lcairo -lscscreensaver -lscgui
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
UNAME_S := $(shell uname -s)
PROJ := $(shell basename $$(pwd))
PLUGIN := $(PROJ).saver