Installscript-make.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(make.conf: M)
 
(61 dazwischenliegende Versionen von 39 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
==Beschreibung==
 
Makefile ist identisch mit der [[Make.config.template]] aus den VDR Sourcen, siehe: [[VDR_Installation#Kompilieren|VDR Installation]].
 
Makefile ist identisch mit der [[Make.config.template]] aus den VDR Sourcen, siehe: [[VDR_Installation#Kompilieren|VDR Installation]].
  
Lediglich die Optionen der Plugins wurden hier zusammen gefasst.
+
Lediglich die Optionen der Plugins werden aus den Modulen in '''Make-<plugin>.config''' übertragen.
  
 +
==make.conf==
 +
{{Box Datei|../setup/config/make.conf|
 
<pre>
 
<pre>
 +
# ----------------------------------------------------------------------------
 
# User defined Makefile options for the Video Disk Recorder
 
# User defined Makefile options for the Video Disk Recorder
 +
# ----------------------------------------------------------------------------
 
#
 
#
 
# Change the parameters as necessary.
 
# Change the parameters as necessary.
Zeile 13: Zeile 18:
 
# $Id: Make.config.template 1.3 2003/08/09 11:03:25 kls Exp $
 
# $Id: Make.config.template 1.3 2003/08/09 11:03:25 kls Exp $
  
### The C compiler and options:
+
# ----------------------------------------------------------------------------
 +
# The C compiler and options
 +
# ----------------------------------------------------------------------------
  
 
#CC      = gcc
 
#CC      = gcc
 
#CFLAGS  = -O2
 
#CFLAGS  = -O2
 
#CXX      = g++
 
#CXX      = g++
#CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual
+
#CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
 +
#CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -D__user=
  
### The directory environment:
+
ifeq (exists, $(shell test -x /usr/bin/crux -o -d /usr/portage && echo exists))
 +
CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -D__user=
 +
endif
  
#DVBDIR   = ../DVB
+
ifdef PLUGIN
#MANDIR  = /usr/local/man
+
CFLAGS   += -fPIC
#BINDIR  = /usr/local/bin
+
CXXFLAGS += -fPIC
 +
VDR_APIVERSION = $(shell sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h)
 +
ifeq (exists, $(shell test $(VDR_APIVERSION) \> 1.6.0 && echo exists))
 +
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
 +
endif
 +
endif
  
#PLUGINDIR= ./PLUGINS
+
# ----------------------------------------------------------------------------
#PLUGINLIBDIR= $(PLUGINDIR)/lib
+
# The directory environment
#VIDEODIR = /video
+
# ----------------------------------------------------------------------------
  
### Includes and Defines (add further entries here):
+
PREFIX = /usr/local
 +
SRCDIR = $(PREFIX)/src
 +
VDRDIR = $(SRCDIR)/VDR
 +
PKG_CONFIG_PATH = $(PREFIX)/lib/pkgconfig:/usr/lib/pkgconfig
  
DEFINES += -D_GNU_SOURCE
+
ifeq (exists, $(shell test -d $(SRCDIR)/DVB && echo exists))
 +
DVBDIR = $(SRCDIR)/DVB
 +
else
 +
DVBDIR = /usr/src/linux
 +
endif
  
### plugins:
+
export PREFIX VDRDIR DVBDIR PKG_CONFIG_PATH
  
### burn
+
#MANDIR = $(PREFIX)/man
###
+
#BINDIR = $(PREFIX)/bin
### use DEV as DVD Writer (= -D --dvd=DEV in config/plugins/burn)
+
# set to ./locale to run VDR from within its source directory:
#DDVDDEV=/dev/dvd
+
LOCDIR = $(VDRDIR)/locale
### use DIR to store ISO images (= -i DIR --iso=DIR in config/plugins/burn)
+
#ISODIR=/video
+
### Enable Debuging
+
#DEBUG=1
+
  
### console
+
#PLUGINDIR = $(VDRDIR)/PLUGINS
###
+
#PLUGINLIBDIR = $(PLUGINDIR)/lib
#CONSOLE_USE_SHELL_INSTEAD_LOGIN=1
+
VIDEODIR = $(shell echo $${VIDEODIR:-/video0})
  
### femon
+
# ----------------------------------------------------------------------------
###
+
# Includes and Defines (add further entries here)
### added preliminary NTSC support
+
# ----------------------------------------------------------------------------
#NTSC_SYSTEM=1
+
  
### graphlcd
+
DEFINES += -D_GNU_SOURCE
###
+
ifeq (exists, $(shell test -d $(SRCDIR)/DVB && echo exists))
### to enable serdisplib-support in graphlcd
+
INCLUDES += -I$(DVBDIR)/include/dvb
#INCLUDE_SERDISPLIB=1
+
else
 +
INCLUDES += -I$(DVBDIR)/include
 +
endif
  
### graphtft
+
# ----------------------------------------------------------------------------
###
+
# Define if you want vdr to not run as root
### Install imlib2, set path below and uncomment the lines
+
# ----------------------------------------------------------------------------
### to enable support for dvb- and fb-devices.
+
HAVE_IMLIB = 1
+
### Install directFB and libsoftmpeg to use an directFB-output-device
+
### If you wont use libsoftmpeg, in future(dosent work at the moment) ffmpeg will be used for PbP.
+
### You can use only directFB without ffmpeg, imlib and libsoftmpeg, but without Pbp.
+
#HAVE_DFB = 1
+
#HAVE_SOFTMPEG = 1
+
### USE FASTMEMCPY WITH CPUACCEL
+
HAVE_FAST_MEMCPY = 1
+
### FIX FOR USING PVR350-FRAMEBUFFER
+
#HAVE_PVRFB = 1
+
### Enable Debuging
+
#DEBUG=1
+
  
### mediamvp
+
#VDR_USER = vdr
###
+
### Uncomment these if you have the appropriate libraries
+
HAVE_MAGICK = 1
+
### Set this to the version of ImageMagick that you have
+
MAGICK_VERSION = 6
+
HAVE_LIBJPEG = 1
+
HAVE_LIBXML2 = 1
+
#HAVE_LIBID3TAG = 1
+
### Uncomment this if you only have a single device in your vdr machine
+
#SINGLE_DEVICE = 1
+
  
### mp3 / mplayer
+
# ----------------------------------------------------------------------------
###
+
# The remote control
### uncomment the following line, if you want OSS sound output
+
# ----------------------------------------------------------------------------
#WITH_OSS_OUTPUT=1
+
### if you dont want one of the plugins
+
#WITHOUT_MP3=1
+
#WITHOUT_MPLAYER=1
+
### if you dont have libsndfile installed
+
#WITHOUT_LIBSNDFILE=1
+
### uncomment the following line, if you dont have libvorbisfile installed
+
#WITHOUT_LIBVORBISFILE=1
+
### if you want to include debug symbols
+
#DBG=1
+
  
### osdimage
+
LIRC_DEVICE = /dev/lircd
###
+
RCU_DEVICE = /dev/ttyS1
#DEBUG = 1
+
### recommended for 16-color-OSD
+
#HAVE_NETPBM = 1
+
  
### radio
+
# ----------------------------------------------------------------------------
###
+
# If your video directory will be on a VFAT partition
### If your Primary Device doesn't support Stillpicture, you can deactivate it here.
+
# ----------------------------------------------------------------------------
USE_STILLPICTURE=1
+
  
### sc
+
#VFAT = 1
###
+
### to enable Irdeto/Betacrypt support
+
IRDETO=1
+
### to enable Seca support (needs libcrypto)
+
SECA=1
+
### to enable Viaccess support
+
VIACCESS=1
+
### to enable Nagra support (needs libcrypto)
+
NAGRA=1
+
### to enable Conax support (needs libcrypto)
+
#CONAX=1
+
### to enable @SHL (SkyCrypt) support (needs libcrypto)
+
#SHL=1
+
### to enable Seca smartcard support (needs Phoenix ISO interface)
+
#SC_SECA=1
+
### to enable Cryptoworks smartcard support (needs Phoenix ISO interface)
+
#SC_CRYPTOWORKS=1
+
### to enable Irdeto smartcard support (needs Phoenix ISO interface)
+
#SC_IRDETO=1
+
### to enable Conax smartcard support (needs Phoenix ISO interface)
+
#SC_CONAX=1
+
### to enable Viaccess smartcard support (needs Phoenix ISO interface)
+
#SC_VIACCESS=1
+
### to enable cardserver clients (needs libcrypto) (see below)
+
#CARDCLIENT=1
+
### to compile with debugging information
+
#DBG=1
+
  
### softdevice
+
# ----------------------------------------------------------------------------
###
+
# Enable Debuging
### XV support by Stefan Lucke
+
# ----------------------------------------------------------------------------
XV_SUPPORT=1
+
### DFB is very experimental (works only with my matrox G200, comments are welcome)
+
#DFB_SUPPORT=1
+
### FB is unaccellerated and should work with any FB with 16bit color depth
+
FB_SUPPORT=1
+
### Vidix support by Vadim Catana
+
#VIDIX_SUPPORT=1
+
### Enable the usage from some deinterlacing pp-filters of libavcodec
+
#PP_LIBAVCODEC=1
+
### Set this if you want to use DPMS
+
LIBXDPMS_SUPPORT = 1
+
  
### text2skin
+
#DEBUG = 1
###
+
#DBG = 1
### Uncomment these if you have the appropriate libraries
+
HAVE_IMAGEMAGICK=1
+
#HAVE_IMLIB2=1
+
### comment this out if you don't want to use FreeType font rendering
+
HAVE_FREETYPE=1
+
  
### vdrrip
+
# ----------------------------------------------------------------------------
###
+
# Plugin(s)
### uncomment this line, if you want to encode DVD's
+
# ----------------------------------------------------------------------------
VDRRIP_DVD=1
+
  
### xine
+
INCLUDEFILE = $(shell echo $$PWD | sed 's,.*/,,;s,-.*,,')
###
+
ifeq (exists, $(shell test -e $(VDRDIR)/Make-$(INCLUDEFILE).config && echo exists))
### enable to fully support yaepg plugin
+
-include $(VDRDIR)/Make-$(INCLUDEFILE).config
#SET_VIDEO_WINDOW=1
+
endif
### enable to NOT change xines volume on VDRs request
+
#DONT_CHANGE_XINE_VOLUME=1
+
### LQ = low quality for minimum CPU usage
+
OSD_SCALING_MODE=0
+
### HQ = higher quality for horizontal resolutions >= 360
+
#OSD_SCALING_MODE=1
+
### SHQ = best quality but high CPU load
+
#OSD_SCALING_MODE=2
+
### auto SHQ = chooses SHQ for streams where width < 360 or height < 288 otherwise HQ
+
#OSD_SCALING_MODE=3
+
 
</pre>
 
</pre>
 +
}}
 +
 
[[Kategorie:Installscript]]
 
[[Kategorie:Installscript]]

Aktuelle Version vom 6. Februar 2009, 20:39 Uhr

[Bearbeiten] Beschreibung

Makefile ist identisch mit der Make.config.template aus den VDR Sourcen, siehe: VDR Installation.

Lediglich die Optionen der Plugins werden aus den Modulen in Make-<plugin>.config übertragen.

[Bearbeiten] make.conf

Datei
../setup/config/make.conf
# ----------------------------------------------------------------------------
# User defined Makefile options for the Video Disk Recorder
# ----------------------------------------------------------------------------
#
# Change the parameters as necessary.
#
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Make.config.template 1.3 2003/08/09 11:03:25 kls Exp $

# ----------------------------------------------------------------------------
# The C compiler and options
# ----------------------------------------------------------------------------

#CC       = gcc
#CFLAGS   = -O2
#CXX      = g++
#CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
#CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -D__user=

ifeq (exists, $(shell test -x /usr/bin/crux -o -d /usr/portage && echo exists))
CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -D__user=
endif

ifdef PLUGIN
CFLAGS   += -fPIC
CXXFLAGS += -fPIC
VDR_APIVERSION = $(shell sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h)
ifeq (exists, $(shell test $(VDR_APIVERSION) \> 1.6.0 && echo exists))
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
endif
endif

# ----------------------------------------------------------------------------
# The directory environment
# ----------------------------------------------------------------------------

PREFIX = /usr/local
SRCDIR = $(PREFIX)/src
VDRDIR = $(SRCDIR)/VDR
PKG_CONFIG_PATH = $(PREFIX)/lib/pkgconfig:/usr/lib/pkgconfig

ifeq (exists, $(shell test -d $(SRCDIR)/DVB && echo exists))
DVBDIR = $(SRCDIR)/DVB
else
DVBDIR = /usr/src/linux
endif

export PREFIX VDRDIR DVBDIR PKG_CONFIG_PATH

#MANDIR = $(PREFIX)/man
#BINDIR = $(PREFIX)/bin
# set to ./locale to run VDR from within its source directory:
LOCDIR  = $(VDRDIR)/locale

#PLUGINDIR = $(VDRDIR)/PLUGINS
#PLUGINLIBDIR = $(PLUGINDIR)/lib
VIDEODIR = $(shell echo $${VIDEODIR:-/video0})

# ----------------------------------------------------------------------------
# Includes and Defines (add further entries here)
# ----------------------------------------------------------------------------

DEFINES += -D_GNU_SOURCE
ifeq (exists, $(shell test -d $(SRCDIR)/DVB && echo exists))
INCLUDES += -I$(DVBDIR)/include/dvb
else
INCLUDES += -I$(DVBDIR)/include
endif

# ----------------------------------------------------------------------------
# Define if you want vdr to not run as root
# ----------------------------------------------------------------------------

#VDR_USER = vdr

# ----------------------------------------------------------------------------
# The remote control
# ----------------------------------------------------------------------------

LIRC_DEVICE = /dev/lircd
RCU_DEVICE = /dev/ttyS1

# ----------------------------------------------------------------------------
# If your video directory will be on a VFAT partition
# ----------------------------------------------------------------------------

#VFAT = 1

# ----------------------------------------------------------------------------
# Enable Debuging
# ----------------------------------------------------------------------------

#DEBUG = 1
#DBG = 1

# ----------------------------------------------------------------------------
# Plugin(s)
# ----------------------------------------------------------------------------

INCLUDEFILE = $(shell echo $$PWD | sed 's,.*/,,;s,-.*,,')
ifeq (exists, $(shell test -e $(VDRDIR)/Make-$(INCLUDEFILE).config && echo exists))
-include $(VDRDIR)/Make-$(INCLUDEFILE).config
endif