[Lunar-commits] <moonbase> mythtv-plugins: Adding new module for extra MythTV plugins

Jon South striker at lunar-linux.org
Tue Oct 21 12:36:43 CEST 2008


commit 66ec82661abcef1a9b509eddfa9298140797486f
Author: Jon South <striker at lunar-linux.org>
Date:   Tue Oct 21 03:36:43 2008 -0700

    mythtv-plugins: Adding new module for extra MythTV plugins
---
 video/mythtv-plugins/BUILD     |   16 ++++++++++++++++
 video/mythtv-plugins/CONFIGURE |   17 +++++++++++++++++
 video/mythtv-plugins/DEPENDS   |   26 ++++++++++++++++++++++++++
 video/mythtv-plugins/DETAILS   |   13 +++++++++++++
 4 files changed, 72 insertions(+), 0 deletions(-)

diff --git a/video/mythtv-plugins/BUILD b/video/mythtv-plugins/BUILD
new file mode 100644
index 0000000..d5441f7
--- /dev/null
+++ b/video/mythtv-plugins/BUILD
@@ -0,0 +1,16 @@
+(
+
+  sedit "s:PREFIX = .*:PREFIX=/usr:" settings.pro &&
+  sedit "s:#CONFIG += using_alsa:CONFIG += using_alsa:" settings.pro &&
+  sedit "s:#ALSA_LIBS = -lasound:ALSA_LIBS = -lasound:" settings.pro &&
+  sedit "s:QMAKE_CXXFLAGS_RELEASE = .*:QMAKE_CXXFLAGS_RELEASE = $CXXFLAGS:" settings.pro &&
+  sedit "s:DEFINES += MMX:DEFINES += MMX SSE" &&
+
+  . /etc/profile.d/qt3.rc &&
+  ./configure --prefix=/usr        &&
+
+  qmake mythplugins.pro                &&
+
+  default_make
+
+) > $C_FIFO 2>&1
diff --git a/video/mythtv-plugins/CONFIGURE b/video/mythtv-plugins/CONFIGURE
new file mode 100644
index 0000000..58d12d1
--- /dev/null
+++ b/video/mythtv-plugins/CONFIGURE
@@ -0,0 +1,17 @@
+mquery MYTH_OPENGL "Enable OpenGL Support in MythMusic and MythGallery?" y "--enable-opengl" "--disable-opengl"
+mquery MYTH_ARCHIVE "Enable MythArchve Plugin?" y "--enable-mytharchive" "--disable-mytharchive"
+if [[ "$MYTH_ARCHIVE" == "y" ]]; then
+  mquery MYTH_ARCH_DVD "MythArchve: Enable DVD creation?" y "--enable-create-dvd" "--disable-create-dvd"
+  mquery MYTH_ARCH_NATIVE "MythArchve: Enable native archive creation?" y "--enable-create-archive" "--disable-create-archive"
+fi
+mquery MYTH_CONTROLS "Enable MythControls Plugin?" y "--enable-mythcontrols" "--disable-mythcontrols"
+mquery MYTH_FLIX "Enable MythFlix Plugin (NetFlix Integration)?" y "--enable-mythflix" "--disable-mythflix"
+mquery MYTH_GALLERY "Enable MythGallery Plugin?" y "--enable-mythgallery" "--disable-mythgallery"
+mquery MYTH_GAME "Enable MythGame Plugin?" y "--enable-mythgame" "--disable-mythgame"
+mquery MYTH_MOVIES "Enable MythMovies Plugin (Local theater listings)?" y "--enable-mythmovies" "--disable-mythmovies"
+mquery MYTH_MUSIC "Enable MythMusic (Integrated music player)?" y "--enable-mythmusic" "--disable-mythmusic"
+mquery MYTH_NEWS "Enable MythNews Plugin (RSS feeds)?" y "--enable-mythnews" "--disable-mythnews"
+mquery MYTH_PHONE "Enable MythPhone Plugin?" y "--enable-mythphone" "--disable-mythphone"
+mquery MYTH_VIDEO "Enable MythVideo Plugin (To play additional video types)?" y "--enable-mythvideo" "--disable-mythvideo"
+mquery MYTH_WEATHER "Enable MythWeather Plugin?" y "--enable-mythweather" "--disable-mythweather"
+mquery MYTH_ZONEMINDER "Enable MythZoneMinder Plugin (CCTV security camera interface)?" y "--enable-mythzoneminder" "--disable-mythzoneminder"
diff --git a/video/mythtv-plugins/DEPENDS b/video/mythtv-plugins/DEPENDS
new file mode 100644
index 0000000..90d4074
--- /dev/null
+++ b/video/mythtv-plugins/DEPENDS
@@ -0,0 +1,26 @@
+# Base
+depends qt3
+depends mysql
+depends freetype2
+
+# MythBrowser
+optional_depends "kdelibs3" "--enable-mythbrowser" "--disable-mythbrowser" "Enable MythBrowser Plugin"
+
+# MythGallery
+depends tiff
+optional_depends "libexif" "--enable-exif --enable-new-exif" "--disable-exif" "MythGallery: Enable reading of EXIF headers"
+
+# MythMusic
+depends lame
+depends libmad
+depends libvorbis
+depends flac
+depends libcdaudio
+depends cdparanoia
+depends lame
+depends taglib
+optional_depends fftw3 "--enable-fftw" "" "MythMusic: Visualization support"
+optional_depends fftw "--enable-fftw" "" "MythMusic: Visualization support"
+optional_depends libvisual "--enable-libvisual" "--disable-libvisual" "MythMusic: Visualization support"
+optional_depends faad "--enable-aac" "--enable-aac" "MythMusic: AAC Support"
+optional_depends SDL "--enable-sdl" "--enable-sdl" "MythMusic: Synaesthesia output"
diff --git a/video/mythtv-plugins/DETAILS b/video/mythtv-plugins/DETAILS
new file mode 100644
index 0000000..450bee2
--- /dev/null
+++ b/video/mythtv-plugins/DETAILS
@@ -0,0 +1,13 @@
+          MODULE=mythtv-plugins
+         VERSION=0.21
+          SOURCE=mythplugins-$VERSION.tar.bz2
+      SOURCE_URL=http://www.mythtv.org/mc/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/mythplugins-$VERSION
+      SOURCE_VFY=sha1:58e763a614a7a44d028b4b00050cb479dd7bfc0e
+        WEB_SITE=http://www.mythtv.org
+         ENTERED=20040304
+         UPDATED=20081021
+           SHORT="Additional MythTV Plugins"
+cat << EOF
+Several MythTV plugins providing extra functionality.
+EOF


More information about the Lunar-commits mailing list