Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/xf86-video-openchrome/xf86-video-openchrome-0.2.904_svn1014-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3288 - (show annotations) (download)
Fri Nov 4 09:33:01 2011 UTC (12 years, 6 months ago) by niro
File size: 914 byte(s)
auto added: ver bump to 0.2.904_svn1014-r1
1 # $Id$
2
3 PNAME="xf86-video-openchrome"
4 PVER="0.2.904_svn1014"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-drivers"
8
9 DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices."
10 HOMEPAGE="http://xorg.freedesktop.org"
11
12 DEPEND=">= x11-libs/libdrm-2.4.26
13 >= x11-libs/libXv-1
14 >= x11-libs/libXvMC-1
15 >= media-libs/mesa-dri-unichrome-7.10"
16
17 SDEPEND=">= x11-libs/libX11-1
18 >= x11-proto/xf86driproto-1"
19
20 SRCFILE="${PNAME}-${PVER}.tar.gz"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 ALX_ONLY_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so"
24 sminclude xorg alx-split
25
26 SRC_URI=(
27 http://www.openchrome.org/releases/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd http://www.openchrome.org/releases/ | lasttarball"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 autoreconf --verbose --install --force || die
39 }
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44
45 xorg_src_configure --enable-dri || die
46 mmake || die
47 }