Magellan Linux

Contents of /trunk/todo/vmware-video-codec/vmware-video-codec-6.0.0.45731-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2625 - (show annotations) (download)
Thu Jul 9 20:40:39 2009 UTC (15 years, 3 months ago) by niro
File size: 1482 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/vmware-video-codec/vmware-video-codec-6.0.0.45731-r1.smage2,v 1.3 2008/02/07 14:23:54 niro Exp $
2
3 PNAME="vmware-video-codec"
4 PVER="6.0.0.45731"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="testing"
9
10 DESCRIPTION="VMWare vmnc video codec, needed to play vmware encoded video files."
11 HOMEPAGE="http://www.vmware.com/"
12
13 DEPEND=""
14
15 SRCFILE="vmnc.dll-${PVER}"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mtools
19
20 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
21
22 src_install()
23 {
24 install -d ${SRCDIR}
25 cd ${SRCDIR}
26
27 install -d ${BINDIR}/usr/$(mlibdir)/win32 || die
28 minstallexec -s ${SRCFILE} /usr/$(mlibdir)/win32/vmnc.dll || die
29
30 echo 'videocodec vmnc' > mplayer-vmnc.conf || die
31 echo ' info "VMware video"' >> mplayer-vmnc.conf || die
32 echo ' status working' >> mplayer-vmnc.conf || die
33 echo ' fourcc VMnc' >> mplayer-vmnc.conf || die
34 echo ' driver vfw' >> mplayer-vmnc.conf || die
35 echo ' dll "vmnc.dll"' >> mplayer-vmnc.conf || die
36 echo ' out BGR24,BGR15,BGR8 query,flip' >> mplayer-vmnc.conf || die
37
38 minstalldocs mplayer-vmnc.conf || die
39 }
40
41 postinstall()
42 {
43 echo
44 echo "If you want mplayer to play files encoded with this video format,"
45 echo "than add following lines to your '/etc/mplayer/codecs.conf':"
46 echo
47 echo ' videocodec vmnc'
48 echo ' info "VMware video"'
49 echo ' status working'
50 echo ' fourcc VMnc'
51 echo ' driver vfw'
52 echo ' dll "vmnc.dll"'
53 echo ' out BGR24,BGR15,BGR8 query,flip'
54 echo
55 }

Properties

Name Value
svn:keywords Id