mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
New Theme nOpacityGreen and vdr1.7.36 adapted makefile
This commit is contained in:
parent
e50f2f798c
commit
1c28bba0a5
20
Makefile
20
Makefile
@ -17,10 +17,10 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
|
|||||||
|
|
||||||
# Use package data if installed...otherwise assume we're under the VDR source directory:
|
# Use package data if installed...otherwise assume we're under the VDR source directory:
|
||||||
PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
|
PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
|
||||||
LIBDIR = $(DESTDIR)$(call PKGCFG,libdir)
|
LIBDIR = $(call PKGCFG,libdir)
|
||||||
LOCDIR = $(DESTDIR)$(call PKGCFG,locdir)
|
LOCDIR = $(call PKGCFG,locdir)
|
||||||
PLGCFG = $(call PKGCFG,plgcfg)
|
PLGCFG = $(call PKGCFG,plgcfg)
|
||||||
CONFDIR= $(DESTDIR)$(call PKGCFG,configdir)
|
VDRCONFDIR= $(call PKGCFG,configdir)
|
||||||
TMPDIR ?= /tmp
|
TMPDIR ?= /tmp
|
||||||
|
|
||||||
### The compiler options:
|
### The compiler options:
|
||||||
@ -59,14 +59,14 @@ all: $(SOFILE) i18n
|
|||||||
### Implicit rules:
|
### Implicit rules:
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $<
|
||||||
|
|
||||||
### Dependencies:
|
### Dependencies:
|
||||||
|
|
||||||
MAKEDEP = $(CXX) -MM -MG
|
MAKEDEP = $(CXX) -MM -MG
|
||||||
DEPFILE = .dependencies
|
DEPFILE = .dependencies
|
||||||
$(DEPFILE): Makefile
|
$(DEPFILE): Makefile
|
||||||
@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
|
@$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
|
||||||
|
|
||||||
-include $(DEPFILE)
|
-include $(DEPFILE)
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ $(DEPFILE): Makefile
|
|||||||
PODIR = po
|
PODIR = po
|
||||||
I18Npo = $(wildcard $(PODIR)/*.po)
|
I18Npo = $(wildcard $(PODIR)/*.po)
|
||||||
I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
|
I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
|
||||||
I18Nmsgs = $(addprefix $(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
|
I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
|
||||||
I18Npot = $(PODIR)/$(PLUGIN).pot
|
I18Npot = $(PODIR)/$(PLUGIN).pot
|
||||||
|
|
||||||
%.mo: %.po
|
%.mo: %.po
|
||||||
@ -88,7 +88,7 @@ $(I18Npot): $(wildcard *.c)
|
|||||||
msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<
|
msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
$(I18Nmsgs): $(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
|
$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
|
||||||
install -D -m644 $< $@
|
install -D -m644 $< $@
|
||||||
|
|
||||||
.PHONY: i18n
|
.PHONY: i18n
|
||||||
@ -101,11 +101,11 @@ $(SOFILE): $(OBJS)
|
|||||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -lMagick++ -o $@
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -lMagick++ -o $@
|
||||||
|
|
||||||
install-lib: $(SOFILE)
|
install-lib: $(SOFILE)
|
||||||
install -D $^ $(LIBDIR)/$^.$(APIVERSION)
|
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
||||||
|
|
||||||
install-themes:
|
install-themes:
|
||||||
@mkdir -p $(CONFDIR)/themes
|
@mkdir -p $(DESTDIR)$(VDRCONFDIR)/themes
|
||||||
cp themes/* $(CONFDIR)/themes
|
cp themes/* $(DESTDIR)$(VDRCONFDIR)/themes
|
||||||
|
|
||||||
install: install-lib install-i18n install-themes
|
install: install-lib install-i18n install-themes
|
||||||
|
|
||||||
|
28
themes/tvguide-nOpacitygreen.theme
Normal file
28
themes/tvguide-nOpacitygreen.theme
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
Description = nOpacity Green
|
||||||
|
clrBackground = FF000000
|
||||||
|
clrBackgroundOSD = FF000000
|
||||||
|
clrGrid1 = EE555555
|
||||||
|
clrGrid1Blending = 90000000
|
||||||
|
clrGrid2 = EE888888
|
||||||
|
clrGrid2Blending = 90000000
|
||||||
|
clrHighlight = EE006600
|
||||||
|
clrHighlightBlending = 22000000
|
||||||
|
clrFont = FFFFFFFF
|
||||||
|
clrFontHeader = FFFFFFFF
|
||||||
|
clrFontButtons = FFFFFFFF
|
||||||
|
clrHeader = EE888888
|
||||||
|
clrHeaderBlending = 90000000
|
||||||
|
clrBorder = EE006600
|
||||||
|
clrTimeline1 = BBFFFFFF
|
||||||
|
clrTimeline1Blending = 90828282
|
||||||
|
clrTimeline2 = BB000000
|
||||||
|
clrTimeline2Blending = 903F3F3F
|
||||||
|
clrButtonRed = 99BB0000
|
||||||
|
clrButtonRedBorder = FFBB0000
|
||||||
|
clrButtonGreen = 9900BB00
|
||||||
|
clrButtonGreenBorder = FF00BB00
|
||||||
|
clrButtonYellow = 99BBBB00
|
||||||
|
clrButtonYellowBorder = FFBBBB00
|
||||||
|
clrButtonBlue = 990000BB
|
||||||
|
clrButtonBlueBorder = FF0000BB
|
||||||
|
clrButtonBlend = DD000000
|
Loading…
Reference in New Issue
Block a user