diff options
author | 2004-09-12 10:07:19 +0000 | |
---|---|---|
committer | 2004-09-12 10:07:19 +0000 | |
commit | 07678f4aaeba71a55c334e122df9d61efc46e337 (patch) | |
tree | 136b466e488e732309d58cd862699fb357990b65 /media-tv/mythtv/mythtv-0.16.ebuild | |
parent | !nomirror (Manifest recommit) (diff) | |
download | gentoo-2-07678f4aaeba71a55c334e122df9d61efc46e337.tar.gz gentoo-2-07678f4aaeba71a55c334e122df9d61efc46e337.tar.bz2 gentoo-2-07678f4aaeba71a55c334e122df9d61efc46e337.zip |
Closing #63672
Diffstat (limited to 'media-tv/mythtv/mythtv-0.16.ebuild')
-rw-r--r-- | media-tv/mythtv/mythtv-0.16.ebuild | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/media-tv/mythtv/mythtv-0.16.ebuild b/media-tv/mythtv/mythtv-0.16.ebuild index 094997ffe593..a9de4b2a4537 100644 --- a/media-tv/mythtv/mythtv-0.16.ebuild +++ b/media-tv/mythtv/mythtv-0.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.16.ebuild,v 1.4 2004/09/10 18:01:54 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.16.ebuild,v 1.5 2004/09/12 10:07:19 aliz Exp $ inherit myth flag-o-matic @@ -31,9 +31,6 @@ DEPEND=">=media-libs/freetype-2.0 RDEPEND="${DEPEND} !media-tv/mythfrontend" -# Fix bugs 40964 and 42943. -filter-flags -fforce-addr -fPIC - pkg_setup() { if use X; then QTP=x11-libs/qt; else QTP=x11-libs/qt-embedded; fi local qt_use="$(</var/db/pkg/`best_version ${QTP}`/USE)" @@ -139,6 +136,14 @@ setup_pro() { -i 'settings.pro' || die "enable xrandr sed failed" } +src_unpack() { + # Fix bugs 40964 and 42943. + filter-flags -fforce-addr -fPIC + + myth_src_unpack +} + + src_compile() { export QMAKESPEC="linux-g++" @@ -146,7 +151,13 @@ src_compile() { sed -i -e "s:OPTFLAGS=.*:OPTFLAGS=${CFLAGS}:g" config.mak qmake -o "Makefile" "${PN}.pro" - make || die + make qmake || die + emake -C libs/libavcodec || die + emake -C libs/libavformat || die + emake -C libs/libmyth || die + emake -C libs/libmythtv || die + emake -C libs || die + emake || die } src_install() { |