Magellan Linux

Contents of /smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.2.904_svn858-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1624 - (show annotations) (download)
Wed Mar 9 18:24:35 2011 UTC (13 years, 3 months ago) by niro
File size: 995 byte(s)
-split mesa compat
1 # $Id$
2
3 PNAME="xf86-video-openchrome"
4 PVER="0.2.904_svn858"
5 PBUILD="r3"
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 >= media-libs/mesa-dri-unichrome-7.10"
15
16 SDEPEND=">= x11-libs/libX11-1
17 >= x11-proto/xf86driproto-1"
18
19 SRCFILE="${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 MCORE_ONLY_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so"
23 sminclude xorg mcore-split
24
25 SRC_URI=(
26 http://www.openchrome.org/releases/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 )
29
30 UP2DATE="updatecmd http://www.openchrome.org/releases/ | lasttarball"
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35 cd ${SRCDIR}
36
37 # disable xvmc in openchrome-drivers
38 sed -i "s:XVMC=yes:XVMC=no:g" configure.ac || die
39
40 autoreconf --verbose --install --force || die
41 }
42
43 src_compile()
44 {
45 cd ${SRCDIR}
46
47 xorg_src_configure --enable-dri --disable-xvmc || die
48 mmake || die
49 }