2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'libdrm'.
|
|
|
|
pkgname=libdrm
|
2011-03-05 00:37:48 +00:00
|
|
|
version=2.4.24
|
2009-03-19 04:40:50 +00:00
|
|
|
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
|
Added compositeproto-0.4, damageproto-1.1.0, evieext-1.0.2,
glproto-1.4.9, libXi-1.1.3, libdrm-2.3.1, randrproto-1.2.2,
recordproto-1.13.2, renderproto-0.9.3, resourceproto-1.0.2,
scrnsaverproto-1.1.0, trapproto-3.4.3, videoproto-2.2.2,
xf86dgaproto-2.0.3 and xf86driproto-2.0.4.
Holy fuck... I'm really hating all those small packages...
--HG--
extra : convert_revision : baf6128476e2b444eecc425f31273f083bfb31ab
2008-10-02 02:49:34 +00:00
|
|
|
build_style=gnu_configure
|
2010-02-17 17:30:48 +00:00
|
|
|
configure_args="--enable-udev --enable-vmwgfx-experimental-api
|
|
|
|
--enable-nouveau-experimental-api"
|
Added compositeproto-0.4, damageproto-1.1.0, evieext-1.0.2,
glproto-1.4.9, libXi-1.1.3, libdrm-2.3.1, randrproto-1.2.2,
recordproto-1.13.2, renderproto-0.9.3, resourceproto-1.0.2,
scrnsaverproto-1.1.0, trapproto-3.4.3, videoproto-2.2.2,
xf86dgaproto-2.0.3 and xf86driproto-2.0.4.
Holy fuck... I'm really hating all those small packages...
--HG--
extra : convert_revision : baf6128476e2b444eecc425f31273f083bfb31ab
2008-10-02 02:49:34 +00:00
|
|
|
short_desc="Userspace interface to kernel DRM services"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-03-05 00:37:48 +00:00
|
|
|
checksum=c7012381f64458af9f291d913309448aac7dd23a28dc86c6970e4bf38effb6a5
|
Added compositeproto-0.4, damageproto-1.1.0, evieext-1.0.2,
glproto-1.4.9, libXi-1.1.3, libdrm-2.3.1, randrproto-1.2.2,
recordproto-1.13.2, renderproto-0.9.3, resourceproto-1.0.2,
scrnsaverproto-1.1.0, trapproto-3.4.3, videoproto-2.2.2,
xf86dgaproto-2.0.3 and xf86driproto-2.0.4.
Holy fuck... I'm really hating all those small packages...
--HG--
extra : convert_revision : baf6128476e2b444eecc425f31273f083bfb31ab
2008-10-02 02:49:34 +00:00
|
|
|
long_desc="
|
|
|
|
This package provides a library which offers a userspace interface
|
|
|
|
to kernel DRM (Direct Rendering Manager) services for access to
|
|
|
|
graphics hardware."
|
2009-03-19 04:40:50 +00:00
|
|
|
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2009-12-07 09:46:34 +00:00
|
|
|
Add_dependency run glibc
|
2010-01-14 15:58:55 +00:00
|
|
|
Add_dependency run libudev
|
2010-10-22 01:30:26 +00:00
|
|
|
Add_dependency build automake
|
2010-01-14 15:58:55 +00:00
|
|
|
Add_dependency build pkg-config
|
2009-12-07 09:46:34 +00:00
|
|
|
Add_dependency build glibc-devel
|
2010-01-14 15:58:55 +00:00
|
|
|
Add_dependency build libudev-devel
|
2010-10-22 01:30:26 +00:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
2011-03-05 00:37:48 +00:00
|
|
|
sed -i -e "s|cairo.h|cairo/cairo.h|" tests/modetest/modetest.c
|
2011-01-09 14:43:13 +00:00
|
|
|
cd ${wrksrc} && libtoolize -f && aclocal && autoconf && automake
|
2010-10-22 01:30:26 +00:00
|
|
|
}
|