Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 19 years ago
parent
commit
e3c4932437
6 changed files with 165 additions and 24 deletions
  1. +40
    -0
      package/fake/mythtv-plugins/mythtv-plugins.conf
  2. +42
    -0
      package/fake/mythtv-plugins/mythtv-plugins.desc
  3. +33
    -0
      package/fake/mythtv-themes/mythtv-themes.conf
  4. +40
    -0
      package/fake/mythtv-themes/mythtv-themes.desc
  5. +8
    -22
      package/fake/mythtv/mythtv.conf
  6. +2
    -2
      package/fake/mythtv/mythtv.desc

+ 40
- 0
package/fake/mythtv-plugins/mythtv-plugins.conf

@ -0,0 +1,40 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/fake/mythvideo/mythvideo.conf
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if [ -z "$ROCKCFG_PKG_MYTHTV_PREFIX" ] ; then
prefix=opt/mythtv
else
prefix=$ROCKCFG_PKG_MYTHTV_PREFIX
fi
set_confopt
# for mythdvd
pkginstalled transcode && var_append confopt ' ' "--enable-transcode"
var_append confopt ' ' "--enable-vcd"
# for mythmusic
pkginstalled fftw && var_append confopt ' ' "--enable-fftw"
hook_add premake 1 "qmake PREFIX=$root/$prefix mythplugins.pro"

+ 42
- 0
package/fake/mythtv-plugins/mythtv-plugins.desc

@ -0,0 +1,42 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/fake/mythtv-plugins/mythtv-plugins.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] the default plugin-collection for MythTV
[T] This plugin plugin package for MythTV consists of the former packages
[T] mythbrowser, mythdvd, mythgallery, mythgame, mythmysuc, mythnews,
[T] mythphone, mythvideo mythweather and mythweb.
[U] http://www.mythtv.org
[A] John Danner <johndanner@untzuntz.com>
[M] fake <fake@rapidnetworks.de>
[C] extra/multimedia
[L] GPL
[S] Stable
[V] 0.18.1
[P] X -?---5---9 127.100
[D] 2068162428 mythplugins-0.18.1.tar.bz2 http://www.mythtv.org/mc/

+ 33
- 0
package/fake/mythtv-themes/mythtv-themes.conf

@ -0,0 +1,33 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/fake/mythvideo/mythvideo.conf
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if [ -z "$ROCKCFG_PKG_MYTHTV_PREFIX" ] ; then
prefix=opt/mythtv
else
prefix=$ROCKCFG_PKG_MYTHTV_PREFIX
fi
set_confopt
hook_add premake 1 "qmake PREFIX=$root/$prefix myththemes.pro"

+ 40
- 0
package/fake/mythtv-themes/mythtv-themes.desc

@ -0,0 +1,40 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/fake/mythtv-themes/mythtv-themes.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] the additional theme-collection for MythTV
[T] Additional themes for MythTV
[U] http://www.mythtv.org
[A] John Danner <johndanner@untzuntz.com>
[M] fake <fake@rapidnetworks.de>
[C] extra/multimedia
[L] GPL
[S] Stable
[V] 0.18
[P] X -?---5---9 127.100
[D] 1397678836 myththemes-0.18.tar.bz2 http://www.mythtv.org/mc/

+ 8
- 22
package/fake/mythtv/mythtv.conf

@ -29,47 +29,33 @@ fi
set_confopt
mythtv_premake() {
mythtv_preconf() {
# enable dvb support if we have some includes to feed to mythtv
for dvbdir in $root/usr/include $root/usr/src/linux*/include ; do
if [ -f $dvbdir/linux/dvb/frontend.h ] ; then
echo "CONFIG += using_dvb" >> settings.pro
echo "DEFINES += USING_DVB" >> settings.pro
echo "INCLUDEPATH += $dvbdir" >> settings.pro
var_append confopt ' ' "--enable-dvb --dvb-path=$dvbdir"
break
fi
done
if pkginstalled alsa ; then
echo "CONFIG += using_alsa" >> settings.pro
echo "ALSA_LIBS = -lasound" >> settings.pro
fi
if pkginstalled lirc ; then
echo "CONFIG += using_lirc" >> settings.pro
echo "LIRC_LIBS = -llirc_client" >> settings.pro
fi
# nvidia's XvMC is the only supported. we will never see this in a build-target,
# but maybe in an emerge-package of someone who read this - like you and me ;)
if [ ! -z "`ls $root/usr/X11R6/lib/libXvMCNVIDIA.so* 2>/dev/null`" ] ; then
echo "CONFIG += using_xvmc" >> settings.pro
echo "DEFINES += USING_XVMC" >> settings.pro
echo "EXTRA_LIBS += -lXvMCNVIDIA -lXvMC" >> settings.pro
if [ -n "`ls $root/usr/X11R6/lib/libXvMCNVIDIA.so* 2>/dev/null`" ] ; then
var_append confopt ' ' "--enable-xvmc"
fi
qmake PREFIX=$root/$prefix mythtv.pro
# this one causes problems, so we skip it
var_append confopt ' ' '--disable-audio-arts'
}
mythtv_postmake() {
cp setup/setup $root/$prefix/bin/mythsetup
cp -r configfiles $docdir/examples
# this fixes dependency detection
mkdir -p $root/$prefix/lib/mythtv/plugins
}
hook_add premake 1 mythtv_premake
hook_add preconf 1 mythtv_preconf
hook_add premake 1 "qmake mythtv.pro"
hook_add postmake 5 mythtv_postmake

+ 2
- 2
package/fake/mythtv/mythtv.desc

@ -41,8 +41,8 @@
[L] GPL
[S] Stable
[V] 0.17
[V] 0.18.1
[P] X -?---5---9 127.300
[D] 1213138810 mythtv-0.17.tar.bz2 http://www.mythtv.org/mc/
[D] 2166550594 mythtv-0.18.1.tar.bz2 http://www.mythtv.org/mc/

Loading…
Cancel
Save