diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-07-13 19:08:01 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2009-07-13 19:08:01 +0300 |
commit | 2a448802b7a8683cbfed601f2d6f7e4aaafca845 (patch) | |
tree | d5573594eb710b6b6d0af4a49f6b256f7dceb08e /Makefile | |
parent | 3f538caf8075997f51b27019160b93482c1c6b39 (diff) | |
download | vdr-plugin-text2skin-2a448802b7a8683cbfed601f2d6f7e4aaafca845.tar.gz vdr-plugin-text2skin-2a448802b7a8683cbfed601f2d6f7e4aaafca845.tar.bz2 |
Add support for building with GraphicsMagick.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -6,8 +6,9 @@ STRIP=strip # Text2Skin if you use Imlib2! (That's why I actually implemented ImageMagick) # TBD: is this still true? -# Define only one of these. +# Define only one of these, leave others commented out. HAVE_IMAGEMAGICK=1 +#HAVE_GRAPHICSMAGICK=1 #HAVE_IMLIB2=1 # not recommended @@ -82,6 +83,12 @@ ifdef HAVE_IMAGEMAGICK LIBS += $(shell pkg-config --libs ImageMagick++) endif +ifdef HAVE_GRAPHICSMAGICK + DEFINES += -DHAVE_IMAGEMAGICK # yep, really HAVE_IMAGEMAGICK + INCLUDES += $(shell pkg-config --cflags GraphicsMagick++) + LIBS += $(shell pkg-config --libs GraphicsMagick++) +endif + ifdef DEBUG CXXFLAGS += -g -fno-inline DEFINES += -DDEBUG |