Module submission - mythplugins

larry@scrudgeware.org larry at scrudgeware.org
Wed Aug 24 16:25:23 UTC 2005


module name       : mythplugins
suggested section : video
update (y/n)      : n
bugfix (y/n)      : n
security (y/n)    : n

This is a new module.

scrudge

-------------- next part --------------
--- mythplugins/BUILD	1969-12-31 18:00:00.000000000 -0600
+++ mythplugins/BUILD	2005-08-24 10:54:48.000000000 -0500
@@ -0,0 +1,19 @@
+(
+	. /etc/profile.d/qt3.rc
+	sedit "s:PREFIX = .*:PREFIX=/usr:" settings.pro
+	#if use alsa
+	sedit "s:#CONFIG += using_alsa:CONFIG += using_alsa:" settings.pro
+	sedit "s:#ALSA_LIBS = -lasound:ALSA_LIBS = -lasound:" settings.pro
+	#fi
+	sedit "s:QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentiumpro -fomit-frame-pointer:QMAKE_CXXFLAGS_RELEASE = $CXXFLAGS:" settings.pro
+	sedit "s:DEFINES += MMX:DEFINES += MMX SSE"
+	./configure		\
+	--prefix=/usr		\
+	$OPTS                   &&
+	qmake mythplugins.pro	&&
+	make 			&&
+	prepare_install		&&
+	make install		
+
+) > $C_FIFO 2>&1
+
--- mythplugins/CONFIGURE	1969-12-31 18:00:00.000000000 -0600
+++ mythplugins/CONFIGURE	2005-08-18 10:32:27.000000000 -0500
@@ -0,0 +1,129 @@
+################
+#### OpenGL ####
+if query "enable OpenGL (Music and Gallery)" y ; then
+  OPTS=$OPTS" --enable-opengl"
+  lin glut
+fi
+
+################
+#### MythBrowser ####
+if query "build the mythbrowser plugin" y ; then
+  OPTS=$OPTS" --enable-mythbrowser"
+  lin kdevelop3
+else
+  OPTS=$OPTS" --disable-mythbrowser"
+fi
+
+################
+#### MythDVD ####
+if query "build the mythdvd plugin" y ; then
+  OPTS=$OPTS" --enable-mythdvd"
+  lin -p libdvdcss  \
+      libdvdread \
+      nasm       \
+      mjpegtools \
+      xvidcore   \
+      a52dec     \
+      libfame    \
+      MPlayer
+
+  if query "enable DVD ripping and transcoding" n ; then
+    OPTS=$OPTS" --enable-transcode"
+    lin -p transcode
+  fi
+
+  if query "enable VCD playing" n ; then
+    OPTS=$OPTS" --enable-vcd"
+    lin -p xine
+  fi
+else
+  OPTS=$OPTS" --disable-mythdvd"
+fi
+
+################
+#### MythGallery ####
+if query "build the mythgallery plugin" y ; then
+  OPTS=$OPTS" --enable-mythgallery"
+
+  if query "enable reading of EXIF headers" n ; then
+    OPTS=$OPTS" --enable-exif"
+    lin -p libexif
+  fi
+else
+  OPTS=$OPTS" --disable-mythgallery"
+fi
+
+################
+#### MythGame ####
+if query "build the mythgame plugin" y ; then
+  OPTS=$OPTS" --enable-mythgame"
+  lin -p zlib
+else
+  OPTS=$OPTS" --disable-mythgame"
+fi
+
+################
+#### MythMusic ####
+if query "build the mythmusic plugin" y ; then
+  OPTS=$OPTS" --enable-mythmusic"
+  lin -p libmad       \
+         vorbis-tools \
+	 flac         \
+	 libcdaudio   \
+	 cdparanoia
+
+  if query "enable fftw visualizers" n ; then
+    OPTS=$OPTS" --enable-fftw"
+    lin -p fftw
+  fi
+
+  if query "use SDL for the synaesthesia output" n ; then
+    OPTS=$OPTS" --enable-sdl"
+    lin -p SDL
+  fi
+
+  if query "enable AAC/MP4 audio file decompression" n ; then
+    OPTS=$OPTS" --enable-aac"
+    lin -p faad
+  fi
+else
+  OPTS=$OPTS" --disable-mythmusic"
+fi
+
+################
+#### MythNews ####
+if query "build the mythnews plugin" y ; then
+  OPTS=$OPTS" --enable-mythnews"
+else
+  OPTS=$OPTS" --disable-mythnews"
+fi
+
+################
+#### MythPhone ####
+if query "build the mythphone plugin" y ; then
+  OPTS=$OPTS" --enable-mythphone"
+
+#  if query "enable festival TTS Engine" n ; then
+#    OPTS=$OPTS" --enable-festival"
+#  fi
+else
+  OPTS=$OPTS" --disable-mythphone"
+fi
+
+################
+#### MythVideo ####
+if query "build the mythvideo plugin" y ; then
+  OPTS=$OPTS" --enable-mythvideo"
+else
+  OPTS=$OPTS" --disable-mythvideo"
+fi
+
+################
+#### MythWeather ####
+if query "build the mythweather plugin" y ; then
+  OPTS=$OPTS" --enable-mythweather"
+else
+  OPTS=$OPTS" --disable-mythweather"
+fi
+
+echo 'OPTS='\"$OPTS\" >> $MODULE_CONFIG
--- mythplugins/DEPENDS	1969-12-31 18:00:00.000000000 -0600
+++ mythplugins/DEPENDS	2005-08-24 10:54:48.000000000 -0500
@@ -0,0 +1,127 @@
+################
+#### OpenGL ####
+optional_depends "glut"		   				\
+                "--enable-opengl"  				\
+                "--disable-opengl" 				\
+	        "to enable OpenGL (Music and Gallery)"		&&
+
+#####################
+#### MythBrowser ####
+optional_depends "kdevelop3"					\
+                 "--enable-mythbrowser"				\
+                 "--disable-mythbrowser"			\
+                 "Needed to build the mythbrowser plugin" 	&&
+
+#################
+#### MythDVD ####
+if query "build the mythdvd plugin" y ; then
+  OPTS=$OPTS" --enable-mythdvd"
+  depends libdvdcss	&&
+  depends libdvdread	&& 
+  depends nasm		&&
+  depends mjpegtools	&&
+  depends xvidcore	&&
+  depends a52dec	&&
+  depends libfame	&&
+  depends MPlayer	&&
+
+  optional_depends "transcode"					\
+                   "--enable-transcode"				\
+                   ""						\
+		   "to enable DVD Ripping"			&&
+
+  optional_depends "xine-ui"					\
+                   "--enable-vcd"				\
+		   ""						\
+		   "To enable VCD playing" 
+    OPTS=$OPTS" --enable-vcd"					
+else
+  OPTS=$OPTS" --disable-mythdvd"
+fi								&&
+
+#####################
+#### MythGallery ####
+if query "build the mythgallery plugin" y ; then
+  OPTS=$OPTS" --enable-mythgallery"
+  optional_depends "libexif"					\
+                   "--enable-exif"				\
+		   ""						\
+                   "To enable reading of EXIF headers" 		
+else
+  OPTS=$OPTS" --disable-mythgallery"
+fi								&&
+
+##################
+#### MythGame ####
+optional_depends "zlib"						\
+                 "--enable-mythgame"				\
+		 "--disable-mythgame"				\
+		 "To build the mythgame plugin"			&&
+
+###################
+#### MythMusic ####
+if query "build the mythmusic plugin" y ; then
+  OPTS=$OPTS" --enable-mythmusic"
+  depends libmad       &&
+  depends libid3tag    &&
+  depends vorbis-tools &&
+  depends flac         &&
+  depends libcdaudio   &&
+  depends cdparanoia   &&
+
+  optional_depends "fftw"					\
+                   "--enable-fftw"				\
+		   ""						\
+                   "To enable fftw visualizers" 		&&
+
+  optional_depends "SDL"					\
+                   "--enable-sdl"				\
+		   ""						\
+		   "To use SDL for the synaesthesia output"	&&
+
+
+  optional_depends "faad"					\
+                   "--enable-aac"				\
+		   ""						\
+		   "To enable AAC/MP4 audio file decompression" 
+else
+  OPTS=$OPTS" --disable-mythmusic"
+fi								&&
+
+##################
+#### MythNews ####
+if query "build the mythnews plugin" y ; then
+  OPTS=$OPTS" --enable-mythnews"
+else
+  OPTS=$OPTS" --disable-mythnews"
+fi								&&
+
+###################
+#### MythPhone ####
+if query "build the mythphone plugin" y ; then
+  OPTS=$OPTS" --enable-mythphone"
+
+#  if query "enable festival TTS Engine" n ; then
+#    OPTS=$OPTS" --enable-festival"
+#  fi
+else
+  OPTS=$OPTS" --disable-mythphone"
+fi								&&
+
+###################
+#### MythVideo ####
+if query "build the mythvideo plugin" y ; then
+  OPTS=$OPTS" --enable-mythvideo"
+else
+  OPTS=$OPTS" --disable-mythvideo"
+fi								&&
+
+#####################
+#### MythWeather ####
+if query "build the mythweather plugin" y ; then
+  OPTS=$OPTS" --enable-mythweather"
+else
+  OPTS=$OPTS" --disable-mythweather"
+fi								&&
+
+echo 'OPTS='\"$OPTS\" >> $MODULE_CONFIG
--- mythplugins/DETAILS	1969-12-31 18:00:00.000000000 -0600
+++ mythplugins/DETAILS	2005-08-24 10:54:48.000000000 -0500
@@ -0,0 +1,14 @@
+          MODULE=mythplugins
+         VERSION=0.18.1
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=http://www.mythtv.org/mc/
+      SOURCE_VFY=md5:1d94d19e2a13c24a408ced9b6c4f5b47
+        WEB_SITE=http://www.mythtv.org
+         ENTERED=20050614
+         UPDATED=20050614
+     SHORT="Plugins Package for MythTV"
+cat << EOF
+All the official MythTV plugins - MythBrowser, MythDVD, 
+MythGallery, MythGame, MythMusic, MythNews, MythPhone, 
+MythVideo, MythWeather, and MythWeb.
+EOF
-------------- next part --------------
lvu submit mythplugins a55648a16dcf4e581522ac7377fb0333  -
2.4.29 2.4.25-ll-r5.0.0 gcc-3.3.3 glibc-2.3.3


More information about the Lunar mailing list