Magellan Linux

Contents of /smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.3.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5523 - (show annotations) (download)
Thu Mar 27 14:08:31 2014 UTC (10 years, 2 months ago) by niro
File size: 836 byte(s)
-rebuild against xorg-server-1.15
1 # $Id$
2
3 PNAME="xf86-video-openchrome"
4 PVER="0.3.3"
5 PBUILD="r2"
6
7 PCAT="x11-drivers"
8
9 DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices."
10 HOMEPAGE="http://xorg.freedesktop.org"
11
12 DEPEND="== virtual/X-ABI-VIDEODRV-15
13 >= x11-libs/libdrm-2.4.52"
14 # >= media-libs/mesa-gallium-swrast-10"
15
16 SDEPEND=">= x11-libs/libX11-1
17 >= x11-proto/xf86driproto-1"
18
19 SRCFILE="${PNAME}-${PVER}.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 ALX_PKG_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so"
23 sminclude xorg alx-split
24
25 UP2DATE="updatecmd_xorg ${PNAME}"
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # disable xvmc in openchrome-drivers
33 sed -i "s:XVMC=yes:XVMC=no:g" configure.ac || die
34 mautoreconf || die
35 }
36
37 src_compile()
38 {
39 cd ${SRCDIR}
40
41 xorg_src_configure --enable-dri --disable-xvmc || die
42 mmake || die
43 }