[mythtv-users] mythgallery-cvs gentoo patch
Adrian Burden
aburden at onegeeksopinion.com
Mon Jan 19 17:17:10 EST 2004
In case anyone needs it a patch for the mythgallery-cvs to use configure.
This is my first patch for a Gentoo ebuild so let me know if there is a
problem.
--- orig/mythgallery-cvs-20031229.ebuild 2003-12-30
11:18:03.000000000 +0000
+++ mythgallery-cvs-20031229.ebuild 2004-01-19 10:01:48.000000000 +0000
@@ -12,6 +12,7 @@
KEYWORDS="~x86"
DEPEND=">=sys-apps/sed-4
+ opengl? ( virtual/opengl =dev-libs/fftw-2* )
|| ( >=media-tv/mythtv-cvs-${PV}
>=media-tv/mythfrontend-cvs-${PV} )"
RDEPEND="${DEPEND}
@@ -43,11 +44,14 @@
}
src_compile() {
+ local myconf
+ myconf="${myconf} `use_enable X opengl`"
local cpu="`get-flag march || get-flag mcpu`"
if [ "${cpu}" ] ; then
sed -e "s:pentiumpro:${cpu}:g" -i "settings.pro" || die
"sed failed"
fi
+ econf ${myconf}
qmake -o "Makefile" "mythgallery.pro"
emake || die "compile problem"
}
More information about the mythtv-users
mailing list