Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 56527 Details for
Bug 89206
MythTV-0.18 is out
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mythtv-0.18.ebuild
mythtv-0.18.ebuild (text/plain), 5.50 KB, created by
James Gater
on 2005-04-17 09:42:48 UTC
(
hide
)
Description:
mythtv-0.18.ebuild
Filename:
MIME Type:
Creator:
James Gater
Created:
2005-04-17 09:42:48 UTC
Size:
5.50 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >inherit myth flag-o-matic eutils toolchain-funcs > >DESCRIPTION="Homebrew PVR project" >HOMEPAGE="http://www.mythtv.org/" >SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="alsa arts cle266 directfb dvb ieee1394 jack lcd lirc nvidia oggvorbis opengl xv X" # mmx " > >DEPEND=">=media-libs/freetype-2.0 > >=media-sound/lame-3.93.1 > >=x11-libs/qt-3.1 > dev-db/mysql > alsa? ( >=media-libs/alsa-lib-0.9 ) > >=sys-apps/sed-4 > arts? ( kde-base/arts ) > directfb? ( dev-libs/DirectFB ) > dvb? ( media-libs/libdvb ) > jack? ( media-sound/jack ) > lcd? ( app-misc/lcdproc ) > lirc? ( app-misc/lirc ) > nvidia? ( media-video/nvidia-glx ) > oggvorbis? ( media-libs/libvorbis ) > opengl? ( virtual/opengl ) > > || ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.34 )" > >RDEPEND="${DEPEND} > !media-tv/mythfrontend" > >pkg_setup() { > > local qt_use="$(</var/db/pkg/`best_version x11-libs/qt`/USE)" > if ! has mysql ${qt_use} ; then > eerror "Qt is missing MySQL support. Please add > eerror 'mysql' to your USE flags, and re-emerge Qt." > die "Qt needs MySQL support" > fi > > if use nvidia; then > echo > ewarn "You enabled the 'nvidia' USE flag, you must have a GeForce 4 or" > ewarn "greater to use this. Otherwise, you'll have crashes with MythTV" > echo > fi > >} > >setup_pro() { > myconf= > ># if [ "${ARCH}" == "amd64" ] || ! use mmx; then ># myconf="${myconf} --disable-mmx" ># fi > > # tested on different versions on gcc, P4, celeron & athlon-xp, and all bork on postProcess_MMX > # with mmx enabled, so disabled for all architectures for now - FIXME > myconf="${myconf} --disable-mmx" > > if ! use alsa ; then > sed -e 's:EXTRA_LIBS += $$CONFIG_AUDIO_ALSA_LIBS:#EXTRA_LIBS += $$CONFIG_AUDIO_ALSA_LIBS:' \ > -i 'settings.pro' || die "disable alsa failed" > myconf="${myconf} --disable-audio-alsa" > fi > > if ! use arts ; then > sed -e 's:EXTRA_LIBS += $$CONFIG_AUDIO_ARTS_LIBS:#EXTRA_LIBS += $$CONFIG_AUDIO_ARTS_LIBS:' \ > -e 's:QMAKE_CXXFLAGS += $$CONFIG_AUDIO_ARTS_CFLAGS:#QMAKE_CXXFLAGS += $$CONFIG_AUDIO_ARTS_CFLAGS:' \ > -i 'settings.pro' || die "disable arts failed" > myconf="${myconf} --disable-audio-arts" > fi > > if use nvidia && use cle266; then > die "You can not have USE="cle266" and USE="nvidia" at the same time. Must disable one or the other." > fi > > if use cle266 ; then > myconf="${myconf} --enable-xvmc-vld" > else # needed because nvidia and cle266 are not compatible > myconf="${myconf} --disable-xvmc-vld" > fi > > if use directfb ; then > myconf="${myconf} --enable-directfb" > else > sed -e 's:EXTRA_LIBS += $$CONFIG_DIRECTFB_LIBS:#EXTRA_LIBS += $$CONFIG_DIRECTFB_LIBS:' \ > -e 's:QMAKE_CXXFLAGS += $$CONFIG_DIRECTFB_CXXFLAGS:#QMAKE_CXXFLAGS += $$CONFIG_DIRECTFB_CXXFLAGS:' \ > -i 'settings.pro' || die "disable directfb failed" > myconf="${myconf} --disable-directfb" > fi > > > if use dvb ; then > myconf="${myconf} --enable-dvb --enable-dvb-eit --dvb-path=/usr/src/linux/include/" > fi > > if ! use ieee1394 ; then > sed -e 's:EXTRA_LIBS += $$CONFIG_FIREWIRE_LIBS:#EXTRA_LIBS += $$CONFIG_FIREWIRE_LIBS:' \ > -i 'settings.pro' || die "failed to disable firewire support" > myconf="${myconf} --disable-firewire" > fi > > if ! use jack ; then > sed -e 's:EXTRA_LIBS += EXTRA_LIBS += $$CONFIG_AUDIO_JACK_LIBS:#EXTRA_LIBS += $$CONFIG_AUDIO_JACK_LIBS:' \ > -i 'settings.pro' || die "disable jack failed" > myconf="${myconf} --disable-audio-jack" > fi > > if ! use lirc ; then > sed -e 's:LIRC_LIBS = $$CONFIG_LIRC_LIBS:#LIRC_LIBS = $$CONFIG_LIRC_LIBS:' \ > -i 'settings.pro' || die "disable lirc failed" > myconf="${myconf} --disable-lirc" > fi > > if use opengl ; then > myconf="${myconf} --enable-opengl-vsync" > else > sed -e 's:EXTRA_LIBS += $$CONFIG_OPENGL_VSYNC_LIBS:#EXTRA_LIBS += $$CONFIG_OPENGL_VSYNC_LIBS:' \ > -i 'settings.pro' || die "disable opengl failed" > myconf="${myconf} --disable-opengl-vsync" > fi > > if use oggvorbis ; then > myconf="${myconf} --enable-vorbis" > fi > > if use nvidia ; then > myconf="${myconf} --enable-xvmc" > else > sed -e 's:EXTRA_LIBS += $$CONFIG_XVMC_LIBS:#EXTRA_LIBS += $$CONFIG_XVMC_LIBS:' \ > -i 'settings.pro' || die "disable nvidia xvmc failed" > myconf="${myconf} --disable-xvmc" > fi > > if ! use xv ; then > sed -e 's:EXTRA_LIBS += $$CONFIG_XV_LIBS:#EXTRA_LIBS += $$CONFIG_XV_LIBS:' \ > -i 'settings.pro' || die "disable xv failed" > myconf="${myconf} --disable-xv" > fi > > if ! use X ; then > myconf="${myconf} --disable-x11" > fi >} > >src_unpack() { > > # Fix bugs 40964 and 42943. > filter-flags -fforce-addr -fPIC > > # fix bug 67832, 81610, etc > is-flag "-march=pentium4" && replace-flags "-O3" "-O2" > is-flag "-march=pentium4" && replace-flags "-0s" "-O2" > is-flag "-march=athlon-xp" && replace-flags "-O3" "-O2" > > myth_src_unpack || die "unpack failed" > > cd ${S} >} > >src_compile() { > export QMAKESPEC="linux-g++" > econf ${myconf} || die > > qmake -o "Makefile" "${PN}.pro" > make qmake || die > emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die > >} > >src_install() { > myth_src_install || die "install failed" > newbin "setup/setup" "mythsetup" > > insinto /usr/share/mythtv/database > doins database/* > > exeinto /usr/share/mythtv > doexe "${FILESDIR}/mythfilldatabase.cron" > > exeinto /etc/init.d > newexe "${FILESDIR}/mythbackend.rc6" mythbackend > insinto /etc/conf.d > newins "${FILESDIR}/mythbackend.conf" mythbackend > > dodoc keys.txt docs/*.{txt,pdf} > dohtml docs/*.html > > keepdir /var/{log,run}/mythtv >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 89206
:
56513
|
56524
| 56527 |
56687