New package: libdri2-git.

This commit is contained in:
Juan RP 2014-01-27 13:32:41 +01:00
parent a99a0952b8
commit cdbdc70d19
3 changed files with 38 additions and 0 deletions

View File

@ -1451,3 +1451,4 @@ libgoffice-0.10.so.10 goffice-0.10.9_1
libc++.so.1 libcxx-3.4_1
libopenobex.so.2 openobex-1.7.1_1
libnotmuch.so.3 libnotmuch-0.17_2
libdri2.so.1 libdri2-0.1_1

1
srcpkgs/libdri2-devel-git Symbolic link
View File

@ -0,0 +1 @@
libdri2-git

View File

@ -0,0 +1,36 @@
# Template file for 'libdri2-git'
pkgname=libdri2-git
version=20140127
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="automake libtool pkg-config xorg-util-macros"
makedepends="dri2proto libXfixes-devel libXext-devel libdrm-devel"
short_desc="Library for the DRI2 extension to the X Window System"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="https://github.com/robclark/libdri2"
provides="libdri2-1.0_1"
replaces="libdri2>=0"
do_fetch() {
git clone git://github.com/robclark/libdri2 ${pkgname}-${version}
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libdri2-devel-git_package() {
short_desc+=" - development files"
depends="libX11-devel libXext-devel ${sourcepkg}>=${version}_${revision}"
provides="libdri2-devel-1.0_1"
replaces="libdri2-devel>=0"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}