2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'libdrm'.
|
|
|
|
pkgname=libdrm
|
2013-12-03 22:29:56 +00:00
|
|
|
version=2.4.50
|
2013-04-19 19:29:53 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-28 06:17:44 +00:00
|
|
|
configure_args="--enable-udev"
|
|
|
|
hostmakedepends="libtool automake pkg-config"
|
2013-03-24 09:21:58 +00:00
|
|
|
makedepends="libudev-devel libpciaccess-devel"
|
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-08-12 09:16:33 +00:00
|
|
|
homepage="http://dri.freedesktop.org/"
|
|
|
|
license="MIT"
|
2012-06-07 22:36:14 +00:00
|
|
|
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
|
2013-12-03 22:29:56 +00:00
|
|
|
checksum=3823d24cda800c2cd36995e01830b890edb8fb1bebf97d5ea4318b8c3933b045
|
2009-03-19 04:40:50 +00:00
|
|
|
|
2011-10-30 05:09:00 +00:00
|
|
|
pre_configure() {
|
2013-10-12 06:29:46 +00:00
|
|
|
sed -e '/pthread-stubs/d' -i configure.ac
|
2011-08-12 09:16:33 +00:00
|
|
|
autoreconf -fi
|
2010-10-22 01:30:26 +00:00
|
|
|
}
|
2013-04-12 17:13:19 +00:00
|
|
|
|
|
|
|
libdrm-devel_package() {
|
2013-11-17 04:58:23 +00:00
|
|
|
depends="libudev-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-15 20:11:18 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 17:13:19 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-02 23:29:17 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 17:13:19 +00:00
|
|
|
#vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libdrm_package() {
|
|
|
|
pkg_install() {
|
2013-04-19 19:29:53 +00:00
|
|
|
vmove all
|
2013-04-12 17:13:19 +00:00
|
|
|
}
|
|
|
|
}
|