From e3c49324372819e3aa0c8a7d98269b1487b793a1 Mon Sep 17 00:00:00 2001 From: fake Date: Mon, 11 Jul 2005 16:53:27 +0000 Subject: [PATCH] fake: mythtv: update to 0.18.1 mythtv-plugins: add package (now released combined) remove old stand-alone plugin pkgs mythtv-themes: add package (now released seperately) [2005061020182926589] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6151 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../fake/mythtv-plugins/mythtv-plugins.conf | 40 ++++++++++++++++++ .../fake/mythtv-plugins/mythtv-plugins.desc | 42 +++++++++++++++++++ package/fake/mythtv-themes/mythtv-themes.conf | 33 +++++++++++++++ package/fake/mythtv-themes/mythtv-themes.desc | 40 ++++++++++++++++++ package/fake/mythtv/mythtv.conf | 30 ++++--------- package/fake/mythtv/mythtv.desc | 4 +- 6 files changed, 165 insertions(+), 24 deletions(-) create mode 100644 package/fake/mythtv-plugins/mythtv-plugins.conf create mode 100644 package/fake/mythtv-plugins/mythtv-plugins.desc create mode 100644 package/fake/mythtv-themes/mythtv-themes.conf create mode 100644 package/fake/mythtv-themes/mythtv-themes.desc diff --git a/package/fake/mythtv-plugins/mythtv-plugins.conf b/package/fake/mythtv-plugins/mythtv-plugins.conf new file mode 100644 index 000000000..a230b4515 --- /dev/null +++ b/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" + diff --git a/package/fake/mythtv-plugins/mythtv-plugins.desc b/package/fake/mythtv-plugins/mythtv-plugins.desc new file mode 100644 index 000000000..722a2e8e8 --- /dev/null +++ b/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 +[M] fake + +[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/ + diff --git a/package/fake/mythtv-themes/mythtv-themes.conf b/package/fake/mythtv-themes/mythtv-themes.conf new file mode 100644 index 000000000..4de1a9543 --- /dev/null +++ b/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" + diff --git a/package/fake/mythtv-themes/mythtv-themes.desc b/package/fake/mythtv-themes/mythtv-themes.desc new file mode 100644 index 000000000..5547b0dbe --- /dev/null +++ b/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 +[M] fake + +[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/ + diff --git a/package/fake/mythtv/mythtv.conf b/package/fake/mythtv/mythtv.conf index e32073161..805174e83 100644 --- a/package/fake/mythtv/mythtv.conf +++ b/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 diff --git a/package/fake/mythtv/mythtv.desc b/package/fake/mythtv/mythtv.desc index 85aee09d7..900e96870 100644 --- a/package/fake/mythtv/mythtv.desc +++ b/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/