Magellan Linux

Annotation of /smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.2.904_svn858-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1033 - (hide annotations) (download)
Fri Dec 17 01:03:50 2010 UTC (13 years, 4 months ago) by niro
Original Path: smage/trunk/extras/xf86-video-openchrome/xf86-video-openchrome-0.2.904_svn858-r1.smage2
File size: 1035 byte(s)
-disabled unneeded xvmc dep
1 niro 1031 # $Id: xf86-video-openchrome-0.2.904_svn841-r1.smage2 523 2010-05-08 01:46:32Z niro $
2    
3     PNAME="xf86-video-openchrome"
4     PVER="0.2.904_svn858"
5     PBUILD="r1"
6    
7     PCATEGORIE="x11-drivers"
8     STATE="unstable"
9    
10     DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices."
11     HOMEPAGE="http://xorg.freedesktop.org"
12    
13     DEPEND=">= x11-libs/libdrm-2.4.23"
14    
15     SDEPEND=">= x11-libs/libX11-1
16     >= x11-proto/xf86driproto-1"
17    
18     SRCFILE="${PNAME}-${PVER}.tar.gz"
19     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20    
21     MCORE_ONLY_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so"
22     sminclude xorg mcore-split
23    
24     SRC_URI=(
25     http://www.openchrome.org/releases/${SRCFILE}
26     mirror://${PNAME}/${SRCFILE}
27     )
28    
29     UP2DATE="updatecmd http://www.openchrome.org/releases/ | lasttarball"
30    
31 niro 1032 src_prepare()
32     {
33     munpack ${SRCFILE} || die
34     cd ${SRCDIR}
35 niro 1033
36     # disable xvmc in openchrome-drivers
37     sed -i "s:XVMC=yes:XVMC=no:g" configure.ac || die
38    
39 niro 1032 autoreconf --verbose --install --force || die
40     }
41    
42 niro 1031 src_compile()
43     {
44     cd ${SRCDIR}
45    
46 niro 1033 xorg_src_configure --enable-dri --disable-xvmc || die
47 niro 1031 mmake || die
48     }