From 17c6f8d4ca8302b2aa36a3157503f7b97b4c14c9 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Fri, 20 Apr 2007 01:52:00 +0000 Subject: [PATCH] upstream bump. remove old version Package-Manager: portage-2.1.2.4 --- media-tv/mythtv/ChangeLog | 8 +- .../mythtv/files/digest-mythtv-0.19_p10505 | 6 - .../mythtv/files/digest-mythtv-0.20_p13288 | 6 + .../mythtv/files/mythtv-0.19-libdir.patch | 224 ------------------ ...10505.ebuild => mythtv-0.20_p13288.ebuild} | 154 ++++++------ 5 files changed, 100 insertions(+), 298 deletions(-) delete mode 100644 media-tv/mythtv/files/digest-mythtv-0.19_p10505 create mode 100644 media-tv/mythtv/files/digest-mythtv-0.20_p13288 delete mode 100644 media-tv/mythtv/files/mythtv-0.19-libdir.patch rename media-tv/mythtv/{mythtv-0.19_p10505.ebuild => mythtv-0.20_p13288.ebuild} (64%) diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog index 86a9c23f341c..57a70190cd09 100644 --- a/media-tv/mythtv/ChangeLog +++ b/media-tv/mythtv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/mythtv # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.147 2007/04/19 14:08:55 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.148 2007/04/20 01:52:00 cardoe Exp $ + +*mythtv-0.20_p13288 (20 Apr 2007) + + 20 Apr 2007; Doug Goldstein + +mythtv-0.20_p13288.ebuild, -mythtv-0.19_p10505.ebuild: + upstream bump. remove old version *mythtv-0.21_pre13285 (19 Apr 2007) *mythtv-0.20_p13271 (19 Apr 2007) diff --git a/media-tv/mythtv/files/digest-mythtv-0.19_p10505 b/media-tv/mythtv/files/digest-mythtv-0.19_p10505 deleted file mode 100644 index 4164a12f2e3a..000000000000 --- a/media-tv/mythtv/files/digest-mythtv-0.19_p10505 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 5f74a910401cb824fd30cf26968d804d mythtv-0.19-rev10505.patch.bz2 36022 -RMD160 2440ca9f1ac53d8ad5b0025c22dce1c66e98a041 mythtv-0.19-rev10505.patch.bz2 36022 -SHA256 4fa91ecff4ecb6c2ef09dc17f950f59a1f17dc90754eeff4a789923bcfb150e1 mythtv-0.19-rev10505.patch.bz2 36022 -MD5 ebba5829d264bb4de2f75cae936141f4 mythtv-0.19.tar.bz2 10162049 -RMD160 cd90bb3629df55f9e803d867cf59e378e9cace07 mythtv-0.19.tar.bz2 10162049 -SHA256 ca73641116d3bbc7d353a99348f9f8c9a156bcc756c90a6ed06f1498d9d9cd8f mythtv-0.19.tar.bz2 10162049 diff --git a/media-tv/mythtv/files/digest-mythtv-0.20_p13288 b/media-tv/mythtv/files/digest-mythtv-0.20_p13288 new file mode 100644 index 000000000000..92eff55a8847 --- /dev/null +++ b/media-tv/mythtv/files/digest-mythtv-0.20_p13288 @@ -0,0 +1,6 @@ +MD5 52bec1e0fadf7d24d6dcac3f773ddf74 mythtv-0.20.tar.bz2 12380677 +RMD160 d9ef5221a1d821f2f210e7ebb0c32a88625fb522 mythtv-0.20.tar.bz2 12380677 +SHA256 777ff60afa89426f0e52e49b0e7a7661ddb45b59d2ebbfdcbe07fd179e526ff3 mythtv-0.20.tar.bz2 12380677 +MD5 4b0e9d3aa0acf64ea09bb69b61b71fb0 mythtv-0.20_svn13288.patch.bz2 59106 +RMD160 3b5a60875417c0e6226869b56bafe49a064898ea mythtv-0.20_svn13288.patch.bz2 59106 +SHA256 839b2cce895292b93e6060aa118dec932f7e98e840343cb0f58993403202d2d6 mythtv-0.20_svn13288.patch.bz2 59106 diff --git a/media-tv/mythtv/files/mythtv-0.19-libdir.patch b/media-tv/mythtv/files/mythtv-0.19-libdir.patch deleted file mode 100644 index 8b1f436c3611..000000000000 --- a/media-tv/mythtv/files/mythtv-0.19-libdir.patch +++ /dev/null @@ -1,224 +0,0 @@ -diff -urN mythtv-0.19.orig/configure mythtv-0.19/configure ---- mythtv-0.19.orig/configure 2006-02-09 15:14:44.000000000 +0000 -+++ mythtv-0.19/configure 2006-03-14 13:12:41.000000000 +0000 -@@ -21,6 +21,7 @@ - compile_type="release" - prefix="/usr/local" - libdir="" -+libdir_name="lib" - mandir="" - bindir="" - cross_prefix="" -@@ -96,6 +97,7 @@ - echo " --compile-type=CTYPE one of release, profile, debug [$compile_type]" - echo " NOTE: profile is for sampling profilers" - echo " --prefix=PREFIX install in PREFIX [$prefix]" -+echo " --libdir-name=LIBNAME search/install libraries in PREFIX/LIBNAME [$libdir_name]" - #echo " --libdir=DIR install libs in DIR [PREFIX/lib]" - #echo " --mandir=DIR man documentation in DIR [PREFIX/man]" - echo " --disable-ccache disable compiler cache (ccache)" -@@ -606,6 +608,8 @@ - ;; - --prefix=*) prefix=`echo $opt | cut -d '=' -f 2`; force_prefix=yes - ;; -+ --libdir-name=*) libdir_name=`echo $opt | cut -d '=' -f 2`; -+ ;; - --libdir=*) libdir=`echo $opt | cut -d '=' -f 2`; force_prefix=yes - ;; - --mandir=*) mandir=`echo $opt | cut -d '=' -f 2` -@@ -889,7 +893,7 @@ - done - fi - -- LIBPATHS="`echo $LIBPATHS /lib /usr/lib /usr/local/lib /usr/X11R6/lib | sed s/'\/ '/' '/g` " -+ LIBPATHS="`echo $LIBPATHS /$libdir_name /usr/$libdir_name /usr/local/$libdir_name /usr/X11R6/$libdir_name | sed s/'\/ '/' '/g` " - - HAS_IT="no" - for LIBPATH in $LIBPATHS ; do -@@ -904,7 +908,7 @@ - { - HPATHS="/usr/local/include /usr/include /usr/include/g++-v3 /usr/X11R6/include" - INCL=`echo $DYLD_LIBRARY_PATH $LD_LIBRARY_PATH | sed s/':'/' '/g` -- HPATHS="$HPATHS `echo $INCL | sed s/lib/include/g` " -+ HPATHS="$HPATHS `echo $INCL | sed s/$libdir_name/include/g` " - - HAS_IT="no" - for HPATH in $HPATHS ; do -@@ -1918,7 +1922,7 @@ - fi - - if test x"$libdir" = x""; then --libdir="${prefix}/lib" -+libdir="${prefix}/${libdir_name}" - fi - - if test x"$mandir" = x""; then -@@ -2235,7 +2239,7 @@ - echo "#define FFMPEG_CONFIGURATION "'"'"$FFMPEG_CONFIGURATION"'"' >> $TMPH - - echo "PREFIX=$prefix" >> $MYTH_CONFIG_MAK --#echo "libdir=$libdir" >> $MYTH_CONFIG_MAK -+echo "LIBDIR=$libdir" >> $MYTH_CONFIG_MAK - #echo "bindir=$bindir" >> $MYTH_CONFIG_MAK - #echo "mandir=$mandir" >> $MYTH_CONFIG_MAK - #echo "MAKE=$make" >> $MYTH_CONFIG_MAK -diff -urN mythtv-0.19.orig/filters/filter-common.pro mythtv-0.19/filters/filter-common.pro ---- mythtv-0.19.orig/filters/filter-common.pro 2005-07-13 22:35:02.000000000 +0100 -+++ mythtv-0.19/filters/filter-common.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,7 +4,7 @@ - TEMPLATE = lib - CONFIG -= moc qt - CONFIG += plugin thread --target.path = $${PREFIX}/lib/mythtv/filters -+target.path = $${LIBDIR}/mythtv/filters - INSTALLS = target - - QMAKE_CFLAGS_RELEASE += -Wno-missing-prototypes -diff -urN mythtv-0.19.orig/libs/libavcodec/libavcodec.pro mythtv-0.19/libs/libavcodec/libavcodec.pro ---- mythtv-0.19.orig/libs/libavcodec/libavcodec.pro 2006-01-16 07:14:43.000000000 +0000 -+++ mythtv-0.19/libs/libavcodec/libavcodec.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,7 +4,7 @@ - TEMPLATE = lib - TARGET = mythavcodec-$$LIBVERSION - CONFIG += thread dll warn_off --target.path = $${PREFIX}/lib -+target.path = $${LIBDIR} - INSTALLS = target - - INCLUDEPATH = ../ ../../ ../libavutil -diff -urN mythtv-0.19.orig/libs/libavformat/libavformat.pro mythtv-0.19/libs/libavformat/libavformat.pro ---- mythtv-0.19.orig/libs/libavformat/libavformat.pro 2005-12-09 03:35:28.000000000 +0000 -+++ mythtv-0.19/libs/libavformat/libavformat.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,7 +4,7 @@ - TEMPLATE = lib - TARGET = mythavformat-$$LIBVERSION - CONFIG += thread dll warn_off --target.path = $${PREFIX}/lib -+target.path = $${LIBDIR} - INSTALLS = target - - INCLUDEPATH += ../ ../../ ../libavcodec ../libavutil ../libmythtv -diff -urN mythtv-0.19.orig/libs/libavutil/libavutil.pro mythtv-0.19/libs/libavutil/libavutil.pro ---- mythtv-0.19.orig/libs/libavutil/libavutil.pro 2005-12-09 03:35:28.000000000 +0000 -+++ mythtv-0.19/libs/libavutil/libavutil.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -5,7 +5,7 @@ - TARGET = mythavutil-$$LIBVERSION - CONFIG += thread dll warn_off - CONFIG -= qt --target.path = $${PREFIX}/lib -+target.path = $${LIBDIR} - INSTALLS = target - - INCLUDEPATH = ../ ../../ -diff -urN mythtv-0.19.orig/libs/libmyth/libmyth.pro mythtv-0.19/libs/libmyth/libmyth.pro ---- mythtv-0.19.orig/libs/libmyth/libmyth.pro 2005-12-09 03:35:28.000000000 +0000 -+++ mythtv-0.19/libs/libmyth/libmyth.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,7 +4,7 @@ - TEMPLATE = lib - TARGET = myth-$$LIBVERSION - CONFIG += thread dll --target.path = $${PREFIX}/lib -+target.path = $${LIBDIR} - INSTALLS = target - - QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2) -diff -urN mythtv-0.19.orig/libs/libmyth/mythcontext.cpp mythtv-0.19/libs/libmyth/mythcontext.cpp ---- mythtv-0.19.orig/libs/libmyth/mythcontext.cpp 2006-01-25 10:22:57.000000000 +0000 -+++ mythtv-0.19/libs/libmyth/mythcontext.cpp 2006-03-14 13:12:41.000000000 +0000 -@@ -186,6 +186,7 @@ - Settings *m_qtThemeSettings; - - QString m_installprefix; -+ QString m_installlibdir; - - bool m_gui; - bool m_backend; -@@ -258,7 +259,7 @@ - MythContextPrivate::MythContextPrivate(MythContext *lparent) - : parent(lparent), - m_settings(new Settings()), m_qtThemeSettings(new Settings()), -- m_installprefix(PREFIX), -+ m_installprefix(PREFIX), m_installlibdir(LIBDIR), - m_gui(false), m_backend(false), m_themeloaded(false), - m_menuthemepathname(QString::null), m_themepathname(QString::null), - m_backgroundimage(NULL), -@@ -1120,7 +1121,7 @@ - - QString MythContext::GetLibraryDir(void) - { -- return d->m_installprefix + "/lib/mythtv/"; -+ return d->m_installlibdir + "/mythtv/"; - } - - QString MythContext::GetThemesParentDir(void) -diff -urN mythtv-0.19.orig/libs/libmythmpeg2/libmythmpeg2.pro mythtv-0.19/libs/libmythmpeg2/libmythmpeg2.pro ---- mythtv-0.19.orig/libs/libmythmpeg2/libmythmpeg2.pro 2005-12-09 03:35:28.000000000 +0000 -+++ mythtv-0.19/libs/libmythmpeg2/libmythmpeg2.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,8 +4,6 @@ - TEMPLATE = lib - TARGET = mythmpeg2-$$LIBVERSION - CONFIG += thread staticlib warn_off --target.path = $${PREFIX}/lib --INSTALLS = target - - QMAKE_CFLAGS_RELEASE += -DPIC -fPIC -fno-common - QMAKE_CFLAGS_DEBUG += -DPIC -fPIC -fno-common -diff -urN mythtv-0.19.orig/libs/libmythsamplerate/libmythsamplerate.pro mythtv-0.19/libs/libmythsamplerate/libmythsamplerate.pro ---- mythtv-0.19.orig/libs/libmythsamplerate/libmythsamplerate.pro 2005-12-09 03:35:28.000000000 +0000 -+++ mythtv-0.19/libs/libmythsamplerate/libmythsamplerate.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,8 +4,6 @@ - TEMPLATE = lib - TARGET = mythsamplerate-$$LIBVERSION - CONFIG += thread staticlib warn_off --target.path = $${PREFIX}/lib --INSTALLS = target - - INCLUDEPATH += ../../ - -diff -urN mythtv-0.19.orig/libs/libmythsoundtouch/libmythsoundtouch.pro mythtv-0.19/libs/libmythsoundtouch/libmythsoundtouch.pro ---- mythtv-0.19.orig/libs/libmythsoundtouch/libmythsoundtouch.pro 2005-12-09 03:35:28.000000000 +0000 -+++ mythtv-0.19/libs/libmythsoundtouch/libmythsoundtouch.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,8 +4,6 @@ - TEMPLATE = lib - TARGET = mythsoundtouch-$$LIBVERSION - CONFIG += thread staticlib warn_off --target.path = $${PREFIX}/lib --INSTALLS = target - - INCLUDEPATH += ../../libs/libavcodec ../.. - -diff -urN mythtv-0.19.orig/libs/libmythtv/libmythtv.pro mythtv-0.19/libs/libmythtv/libmythtv.pro ---- mythtv-0.19.orig/libs/libmythtv/libmythtv.pro 2006-01-13 08:11:45.000000000 +0000 -+++ mythtv-0.19/libs/libmythtv/libmythtv.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,7 +4,7 @@ - TEMPLATE = lib - TARGET = mythtv-$$LIBVERSION - CONFIG += thread dll --target.path = $${PREFIX}/lib -+target.path = $${LIBDIR} - INSTALLS = target - - INCLUDEPATH += ../.. .. -diff -urN mythtv-0.19.orig/libs/libmythui/libmythui.pro mythtv-0.19/libs/libmythui/libmythui.pro ---- mythtv-0.19.orig/libs/libmythui/libmythui.pro 2006-01-10 06:09:06.000000000 +0000 -+++ mythtv-0.19/libs/libmythui/libmythui.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -4,7 +4,7 @@ - TEMPLATE = lib - TARGET = mythui-$$LIBVERSION - CONFIG += debug thread dll --target.path = $${PREFIX}/lib -+target.path = $${LIBDIR} - INSTALLS = target - - INCLUDEPATH += ../libmyth -diff -urN mythtv-0.19.orig/settings.pro mythtv-0.19/settings.pro ---- mythtv-0.19.orig/settings.pro 2006-01-11 14:40:52.000000000 +0000 -+++ mythtv-0.19/settings.pro 2006-03-14 13:12:41.000000000 +0000 -@@ -56,6 +56,7 @@ - DEFINES += _GNU_SOURCE - DEFINES += _FILE_OFFSET_BITS=64 - DEFINES += PREFIX=\"$${PREFIX}\" -+DEFINES += LIBDIR=\"$${LIBDIR}\" - - # construct linking path - diff --git a/media-tv/mythtv/mythtv-0.19_p10505.ebuild b/media-tv/mythtv/mythtv-0.20_p13288.ebuild similarity index 64% rename from media-tv/mythtv/mythtv-0.19_p10505.ebuild rename to media-tv/mythtv/mythtv-0.20_p13288.ebuild index 1f24c9b6b6df..7071ebd37e59 100644 --- a/media-tv/mythtv/mythtv-0.19_p10505.ebuild +++ b/media-tv/mythtv/mythtv-0.20_p13288.ebuild @@ -1,48 +1,40 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.19_p10505.ebuild,v 1.11 2007/01/05 03:44:44 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.20_p13288.ebuild,v 1.1 2007/04/20 01:52:00 cardoe Exp $ -inherit flag-o-matic multilib eutils qt3 - -PATCHREV="${PV#*_p}" -MY_PV="${PV%_*}" +inherit mythtv flag-o-matic multilib eutils qt3 DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org/" -SRC_URI="http://ftp.osuosl.org/pub/mythtv/${PN}-${MY_PV}.tar.bz2 - http://dev.gentoo.org/~cardoe/files/${PN}-${MY_PV}-rev${PATCHREV}.patch.bz2" - -LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc ~ppc64 x86" +KEYWORDS="~amd64 ~ppc ~x86" IUSE_VIDEO_CARDS="video_cards_i810 video_cards_nvidia video_cards_via" -IUSE="alsa altivec backendonly debug dbox2 dvb dvd frontendonly ieee1394 jack joystick lcd lirc mmx vorbis opengl xvmc ${IUSE_VIDEO_CARDS}" +IUSE="alsa altivec autostart backendonly crciprec debug dbox2 dts dvb dvd freebox frontendonly hdhomerun ieee1394 ivtv jack joystick lcd lirc mmx vorbis opengl perl xvmc ${IUSE_VIDEO_CARDS}" RDEPEND=">=media-libs/freetype-2.0 >=media-sound/lame-3.93.1 - || ( ( x11-libs/libX11 - x11-libs/libXext - x11-libs/libXinerama - x11-libs/libXv - x11-libs/libXrandr - x11-libs/libXxf86vm - ) - virtual/x11 ) + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXinerama + x11-libs/libXv + x11-libs/libXrandr + x11-libs/libXxf86vm xvmc? ( - || ( x11-libs/libXvMC virtual/x11 ) + x11-libs/libXvMC video_cards_nvidia? ( || ( x11-drivers/nvidia-drivers x11-drivers/nvidia-legacy-drivers ) ) - video_cards_via? ( || ( x11-drivers/xf86-video-via virtual/x11 ) ) - video_cards_i810? ( || ( x11-drivers/xf86-video-i810 virtual/x11 ) ) + video_cards_via? ( x11-drivers/xf86-video-via ) + video_cards_i810? ( x11-drivers/xf86-video-i810 ) ) $(qt_min_version 3.3) virtual/mysql alsa? ( >=media-libs/alsa-lib-0.9 ) + dts? ( media-libs/libdts ) dvd? ( media-libs/libdvdnav media-libs/libdts ) dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers ) + ivtv? ( media-tv/ivtv ) jack? ( media-sound/jack-audio-connection-kit ) lcd? ( app-misc/lcdproc ) lirc? ( app-misc/lirc ) @@ -52,10 +44,14 @@ RDEPEND=">=media-libs/freetype-2.0 >=sys-libs/libavc1394-0.5.0 >=media-libs/libiec61883-1.0.0 ) || ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.34 ) - ! ${D}/etc/env.d/95mythtv + + insinto /home/mythtv + newins "${FILESDIR}"/bash_profile .bash_profile + newins "${FILESDIR}"/xinitrc .xinitrc + fi + fi } pkg_preinst() { - enewuser mythtv -1 "-1" -1 ${MYTHTV_GROUPS} || die "Problem adding mythtv user" - usermod -G ${MYTHTV_GROUPS} mythtv + enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} || die "Problem adding mythtv user" + usermod -a -G ${MYTHTV_GROUPS} mythtv + + export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/" } pkg_postinst() { - einfo "Want MythFrontend to alway run? Run the following:" - einfo " #crontab -e -u mythtv" - einfo "And add the following:" - einfo "* * * * * /usr/bin/runmythfe &" - echo - echo - einfo "To always have MythBackend running and available run the following:" - einfo "rc-update add mythbackend default" - echo - ewarn "Your recordings folder must be owned by the user 'mythtv' now" - ewarn "chown -R mythtv /path/to/store" + if ! use backendonly; then + echo + elog "Want mythfrontend to start automatically?" + elog "Set USE=autostart. Details can be found at:" + elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" + fi + + if ! use frontendonly; then + echo + elog "To always have MythBackend running and available run the following:" + elog "rc-update add mythbackend default" + echo + ewarn "Your recordings folder must be owned by the user 'mythtv' now" + ewarn "chown -R mythtv /path/to/store" + fi + + if use autostart; then + echo + elog "Please add the following to your /etc/inittab file at the end of" + elog "the TERMINALS section" + elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8" + fi + } -- 2.26.2