2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'libdrm'.
|
|
|
|
pkgname=libdrm
|
2012-05-11 04:00:46 +02:00
|
|
|
version=2.4.34
|
2009-03-19 05:40:50 +01:00
|
|
|
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-05-11 04:00:46 +02:00
|
|
|
configure_args="--enable-udev --enable-vmwgfx-experimental-api"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="automake pkg-config glibc-devel libudev-devel libpciaccess-devel"
|
2012-06-03 09:08:53 +02:00
|
|
|
revision=1
|
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 04:49:34 +02:00
|
|
|
short_desc="Userspace interface to kernel DRM services"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-12 11:16:33 +02:00
|
|
|
homepage="http://dri.freedesktop.org/"
|
|
|
|
license="MIT"
|
2012-05-11 04:00:46 +02:00
|
|
|
checksum=a468570e7c85107b7c2f8eaceeebaa8f8a0da86482618f445bb74fa0b0d0f8d0
|
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 04:49:34 +02: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 05:40:50 +01:00
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel"
|
2011-08-12 11:16:33 +02:00
|
|
|
|
2010-10-22 03:30:26 +02:00
|
|
|
|
2011-10-30 06:09:00 +01:00
|
|
|
pre_configure() {
|
2012-03-17 07:53:16 +01:00
|
|
|
sed -i "/.*PTHREADSTUBS.*/d" configure.ac
|
|
|
|
sed -i -e "s/@PTHREADSTUBS_LIBS@//g" \
|
|
|
|
-e "s/\$(PTHREADSTUBS_CFLAGS)//g" \
|
|
|
|
nouveau/Makefile.am radeon/Makefile.am intel/Makefile.am
|
2011-08-12 11:16:33 +02:00
|
|
|
autoreconf -fi
|
2011-12-05 17:42:21 +01:00
|
|
|
sed -i 's/tests//g' Makefile.in
|
2010-10-22 03:30:26 +02:00
|
|
|
}
|