summaryrefslogtreecommitdiff
path: root/recipes/mythtv/files
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/mythtv/files
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/mythtv/files')
-rw-r--r--recipes/mythtv/files/armv5te/configh6
-rw-r--r--recipes/mythtv/files/armv5te/configmak3
-rw-r--r--recipes/mythtv/files/armv6/configh8
-rw-r--r--recipes/mythtv/files/armv6/configmak3
-rw-r--r--recipes/mythtv/files/armv7a/configh14
-rw-r--r--recipes/mythtv/files/armv7a/configmak6
-rw-r--r--recipes/mythtv/files/configh2
-rw-r--r--recipes/mythtv/files/configmak0
-rw-r--r--recipes/mythtv/files/prefix-etc.patch11
-rw-r--r--recipes/mythtv/files/settings.pro119
10 files changed, 172 insertions, 0 deletions
diff --git a/recipes/mythtv/files/armv5te/configh b/recipes/mythtv/files/armv5te/configh
new file mode 100644
index 0000000000..46c647e2d5
--- /dev/null
+++ b/recipes/mythtv/files/armv5te/configh
@@ -0,0 +1,6 @@
+#define HAVE_LLRINT 1
+#define HAVE_ROUNDF 1
+#define ARCH_ARMV4L 1
+#define ENABLE_ARMV4L 1
+#define HAVE_ARMV5TE 1
+#define ENABLE_ARMV5TE 1
diff --git a/recipes/mythtv/files/armv5te/configmak b/recipes/mythtv/files/armv5te/configmak
new file mode 100644
index 0000000000..aa9978515d
--- /dev/null
+++ b/recipes/mythtv/files/armv5te/configmak
@@ -0,0 +1,3 @@
+ARCH_ARMV4L=yes
+HAVE_ARMV5TE=yes
+
diff --git a/recipes/mythtv/files/armv6/configh b/recipes/mythtv/files/armv6/configh
new file mode 100644
index 0000000000..2301e723d6
--- /dev/null
+++ b/recipes/mythtv/files/armv6/configh
@@ -0,0 +1,8 @@
+#define HAVE_LLRINT 1
+#define HAVE_ROUNDF 1
+#define ARCH_ARMV4L 1
+#define ENABLE_ARMV4L 1
+#define HAVE_ARMV5TE 1
+#define ENABLE_ARMV5TE 1
+#define HAVE_ARMV6 1
+#define ENABLE_ARMV6 1
diff --git a/recipes/mythtv/files/armv6/configmak b/recipes/mythtv/files/armv6/configmak
new file mode 100644
index 0000000000..4db5dc0dfd
--- /dev/null
+++ b/recipes/mythtv/files/armv6/configmak
@@ -0,0 +1,3 @@
+ARCH_ARMV4L=yes
+HAVE_ARMV5TE=yes
+HAVE_ARMV6=yes
diff --git a/recipes/mythtv/files/armv7a/configh b/recipes/mythtv/files/armv7a/configh
new file mode 100644
index 0000000000..245e40f56a
--- /dev/null
+++ b/recipes/mythtv/files/armv7a/configh
@@ -0,0 +1,14 @@
+#define HAVE_LLRINT 1
+#define HAVE_ROUNDF 1
+#define ARCH_ARMV4L 1
+#define ENABLE_ARMV4L 1
+#define HAVE_ARMV5TE 1
+#define ENABLE_ARMV5TE 1
+#define HAVE_ARMV6 1
+#define ENABLE_ARMV6 1
+#define HAVE_ARMV6T2 1
+#define ENABLE_ARMV6T2 1
+#define HAVE_ARMVFP 1
+#define ENABLE_ARMVFP 1
+#define HAVE_NEON 1
+#define ENABLE_NEON 1
diff --git a/recipes/mythtv/files/armv7a/configmak b/recipes/mythtv/files/armv7a/configmak
new file mode 100644
index 0000000000..50d549f794
--- /dev/null
+++ b/recipes/mythtv/files/armv7a/configmak
@@ -0,0 +1,6 @@
+ARCH_ARMV4L=yes
+HAVE_ARMV5TE=yes
+HAVE_ARMV6=yes
+HAVE_ARMV6T2=yes
+HAVE_ARMVFP=yes
+HAVE_NEON=yes
diff --git a/recipes/mythtv/files/configh b/recipes/mythtv/files/configh
new file mode 100644
index 0000000000..2fe7658383
--- /dev/null
+++ b/recipes/mythtv/files/configh
@@ -0,0 +1,2 @@
+#define HAVE_LLRINT 1
+#define HAVE_ROUNDF 1
diff --git a/recipes/mythtv/files/configmak b/recipes/mythtv/files/configmak
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/recipes/mythtv/files/configmak
diff --git a/recipes/mythtv/files/prefix-etc.patch b/recipes/mythtv/files/prefix-etc.patch
new file mode 100644
index 0000000000..fd6aaf9179
--- /dev/null
+++ b/recipes/mythtv/files/prefix-etc.patch
@@ -0,0 +1,11 @@
+--- mythtv/libs/libmyth/oldsettings.cpp.old 2004-09-24 22:09:11.000000000 +0100
++++ mythtv/libs/libmyth/oldsettings.cpp 2004-09-24 22:09:38.000000000 +0100
+@@ -116,7 +116,7 @@
+ if (ReadSettings(setname))
+ result = true;
+
+- setname = prefix + "/etc/mythtv/" + filename;
++ setname = "/etc/mythtv/" + filename;
+ if (ReadSettings(setname))
+ result = true;
+
diff --git a/recipes/mythtv/files/settings.pro b/recipes/mythtv/files/settings.pro
new file mode 100644
index 0000000000..816fd06887
--- /dev/null
+++ b/recipes/mythtv/files/settings.pro
@@ -0,0 +1,119 @@
+#CONFIG += debug
+CONFIG += release
+
+PREFIX = /usr
+
+LIBVERSION = 0.16
+
+INCLUDEPATH += $${PREFIX}/include
+INCLUDEPATH *= /usr/local/include
+
+DEFINES += _GNU_SOURCE
+DEFINES += _FILE_OFFSET_BITS=64
+DEFINES += PREFIX=\"$${PREFIX}\"
+
+release {
+ DEFINES += MMX
+ QMAKE_CXXFLAGS_RELEASE = -O3 -march=i586 -fomit-frame-pointer
+ macx {
+ DEFINES -= MMX
+ # Don't use -O3, it causes some Qt moc methods to go missing
+ QMAKE_CXXFLAGS_RELEASE = -O2
+ }
+ QMAKE_CFLAGS_RELEASE = $${QMAKE_CXXFLAGS_RELEASE}
+}
+
+EXTRA_LIBS = -lfreetype -lmp3lame
+
+unix:linux*: {
+ CONFIG += linux backend
+ DEFINES += CONFIG_VIDEO4LINUX
+}
+unix:freebsd*: {
+ CONFIG += freebsd backend
+ DEFINES += CONFIG_VIDEO4LINUX
+}
+
+# X11 support
+CONFIG += using_x11
+
+# Default Xv support
+CONFIG += using_xv
+EXTRA_LIBS += -lXinerama -lXv -lX11 -lXext -lXxf86vm
+
+# IVTV (PVR-x50) support. Disable if building on Windows.
+CONFIG += using_ivtv
+DEFINES += USING_IVTV
+
+# LCDProc support
+#DEFINES += LCD_DEVICE
+
+# Default audio output, OSS
+CONFIG += using_oss
+DEFINES += USING_OSS
+
+# Native ALSA support
+#CONFIG += using_alsa
+#ALSA_LIBS = -lasound
+
+# Native ARTS support
+#CONFIG += using_arts
+#ARTS_LIBS = -L/opt/kde3/lib -ldl -lartsc -lpthread
+#EXTRA_LIBS += -L/opt/kde3/lib -ldl -lartsc -lpthread
+#INCLUDEPATH += /opt/kde3/include
+# For Mandrake, use the following:
+#ARTS_LIBS = -ldl -lartsc -lpthread
+#EXTRA_LIBS += -ldl -lartsc -lpthread
+#INCLUDEPATH += /usr/include/artsc
+
+# DVB support
+CONFIG += using_dvb
+DEFINES += USING_DVB
+# Note: INCLUDEPATH should point to the directory with
+# 'linux/dvb/frontend.h', not the directory with frontend.h
+#INCLUDEPATH += /usr/src/linuxtv-dvb-1.0.1/include
+
+# Native lirc support
+CONFIG += using_lirc
+LIRC_LIBS = -llirc_client
+
+# XvMC support, modify as necessary.
+#CONFIG += using_xvmc
+#DEFINES += USING_XVMC
+#EXTRA_LIBS += -lXvMCNVIDIA -lXvMC
+
+# XvMC_VLD support, modify as necessary. Incompatible with normal XvMC support.
+CONFIG += using_xvmc using_xvmc_vld
+DEFINES += USING_XVMC USING_XVMC_VLD
+EXTRA_LIBS += -lviaXvMC -lXvMC
+
+# DirectFB support
+#CONFIG += using_directfb
+#EXTRA_LIBS += `directfb-config --libs`
+#QMAKE_CXXFLAGS += `directfb-config --cflags`
+
+# Windows support
+#CONFIG += win32
+#DEFINES += _WIN32
+
+# Mac OS X support
+macx {
+ # For source that uses Qt, Q_OS_MACX is defined.
+ # For source that uses config.h, CONFIG_DARWIN is defined.
+ # For other source (e.g. libmythtv), we define this
+ DEFINES += CONFIG_DARWIN
+}
+
+# DirectX support
+#CONFIG += using_directx
+#DEFINES += USING_DIRECTX
+
+# OpenGL support for vertical retrace sync
+#DEFINES += USING_OPENGL_VSYNC
+#EXTRA_LIBS += -lGL -lGLU
+#CONFIG += using_opengl
+
+# Allow use of XrandR to change display resolutions
+#CONFIG += using_xrandr
+#DEFINES += USING_XRANDR
+