Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33204 Details for
Bug 53403
mythtv ebuilds shouldnt require x11, breaks with qt-embedded
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mythtv-0.15.1.ebuild.patch
blah.patch (text/plain), 2.48 KB, created by
Chris Bainbridge (RETIRED)
on 2004-06-14 03:11:27 UTC
(
hide
)
Description:
mythtv-0.15.1.ebuild.patch
Filename:
MIME Type:
Creator:
Chris Bainbridge (RETIRED)
Created:
2004-06-14 03:11:27 UTC
Size:
2.48 KB
patch
obsolete
>--- /usr/portage/media-tv/mythtv/mythtv-0.15.1.ebuild 2004-06-08 03:14:04.000000000 +0100 >+++ mythtv-0.15.1.ebuild 2004-06-14 11:08:10.392145688 +0100 >@@ -15,12 +15,12 @@ > > DEPEND=">=media-libs/freetype-2.0 > >=media-sound/lame-3.93.1 >- >=x11-libs/qt-3.1 >+ X? ( >=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 ) >+ directfb? ( dev-libs/DirectFB >=x11-libs/qt-embedded-3.1 ) > dvb? ( media-libs/libdvb ) > lcd? ( app-misc/lcdproc ) > lirc? ( app-misc/lirc ) >@@ -33,7 +33,7 @@ > !media-tv/mythfrontend" > > pkg_setup() { >- local qt_use="$(</var/db/pkg/`best_version x11-libs/qt`/USE)" >+ local qt_use="$(</var/db/pkg/`best_version x11-libs/qt-embedded`/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." >@@ -94,7 +94,7 @@ > sed -e 's:#CONFIG += using_directfb:CONFIG += using_directfb:' \ > -e 's:#EXTRA_LIBS += `directfb:EXTRA_LIBS += `directfb:' \ > -e 's:#QMAKE_CXXFLAGS += `directfb:QMAKE_CXXFLAGS += `directfb:' \ >- -i 'settings.pro' || die "enable arts sed failed" >+ -i 'settings.pro' || die "enable directfb sed failed" > fi > if use dvb ; then > sed -e 's:#CONFIG += using_dvb:CONFIG += using_dvb:' \ >@@ -121,17 +121,32 @@ > sed -e 's:#CONFIG += using_viahwslice:CONFIG += using_viahwslice:' \ > -e 's:#DEFINES += USING_VIASLICE:DEFINES += USING_VIASLICE:' \ > -e 's:#EXTRA_LIBS += -lddmpeg:EXTRA_LIBS += -lddmpeg:' \ >- -i 'settings.pro' || die "enable lirc sed failed" >+ -i 'settings.pro' || die "enable cle266 sed failed" > fi > if use opengl ; then > sed -e 's:#DEFINES += USING_OPENGL_VSYNC:DEFINES += USING_OPENGL_VSYNC:' \ > -e 's:#EXTRA_LIBS += -lGL -lGLU:EXTRA_LIBS += -lGL -lGLU:' \ > -i 'settings.pro' || die "enable opgenl sed failed" > fi >+ >+ if ! use X ; then >+ sed -e 's:CONFIG += using_x11:#CONFIG += using_x11:' \ >+ -i 'settings.pro' || die "disable x11 failed" >+ fi >+ >+ if ! use xv ; then >+ sed -e 's:CONFIG += using_xv:#CONFIG += using_xv:' \ >+ -e 's:EXTRA_LIBS += -L/usr/X11:#EXTRA_LIBS += -L/usr/X11:' \ >+ -i 'settings.pro' || die "disable xv failed" >+ fi > >+ sed -i -e "s:-O3::g" -e "s:-fomit-frame-pointer::g" settings.pro >+ > qmake -o "Makefile" "${PN}.pro" > > econf || die "econf failed" >+ sed -i -e "s:OPTFLAGS=.*:OPTFLAGS=${CFLAGS}:g" config.mak >+ sed -i -e "s:-fno-exceptions:-fexceptions:g" programs/mythfilldatabase/Makefile > emake -j1 || die "compile problem" > } >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 53403
: 33204