Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68962 - win32codecs-20040916 - bad ebuild, missing codecs
Summary: win32codecs-20040916 - bad ebuild, missing codecs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-26 04:35 UTC by Michal Krenek
Modified: 2004-10-26 06:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Krenek 2004-10-26 04:35:27 UTC
If you emerge latest win32codecs-20040916 (needed by latest ~x86 mplayer), there are missing codecs (for example wmv8 codecs). This is caused by bad ebuild.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge win32codecs
2.
3.

Actual Results:  
Mplayer (and every other players which uses win32codecs, for example xine) can't
play wmv8 video.


win32codecs-20040916.ebuild looks like this:

DESCRIPTION="Win32 binary codecs for video and audio playback support"
SRC_URI="http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-${PV}.tar.bz2"
HOMEPAGE="http://www.mplayerhq.hu/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 -ppc -sparc -alpha"
IUSE="quicktime real"

S=${WORKDIR}/all-${PV}

src_install() {
        cd ${S}

        if use real
        then
                mkdir -p ${D}/usr/lib/real
                mv *so.6.0 ${D}/usr/lib/real
        fi

        if use quicktime
        then
                mkdir -p ${D}/usr/lib/win32
                mv *.qtx *.qts qtmlClient.dll  ${D}/usr/lib/win32
        fi

        mkdir -p ${D}/usr/lib/win32
        mv *.dll ${D}/usr/lib/win32
}

It is copying only *.dll files, but there are other files in the
all-20040916.tar.bz2 archive! If you change this line:
        mv *.dll ${D}/usr/lib/win32

To:
        mv *.dll *.ax *.acm *.vwp *.drv *.DLL ${D}/usr/lib/win32

...everything will be working as expected.
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-26 06:31:21 UTC
Changed in -r1, thanks.
Comment 2 Chris White (RETIRED) gentoo-dev 2004-10-26 06:55:37 UTC
Phosphan ended up getting the fix in there.