summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/libdrm-git/COPYING (renamed from pcr/libdrm-libre-git/COPYING)0
-rw-r--r--pcr/libdrm-git/PKGBUILD (renamed from pcr/libdrm-libre-git/PKGBUILD)51
2 files changed, 22 insertions, 29 deletions
diff --git a/pcr/libdrm-libre-git/COPYING b/pcr/libdrm-git/COPYING
index 6e74c337c..6e74c337c 100644
--- a/pcr/libdrm-libre-git/COPYING
+++ b/pcr/libdrm-git/COPYING
diff --git a/pcr/libdrm-libre-git/PKGBUILD b/pcr/libdrm-git/PKGBUILD
index 37c7066fc..94b7dca85 100644
--- a/pcr/libdrm-libre-git/PKGBUILD
+++ b/pcr/libdrm-git/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-pkgname=libdrm-libre-git
-pkgver=20120909
+pkgname=libdrm-git
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
_pkgver=2.4.39
pkgrel=1
-pkgdesc='Userspace interface to kernel DRM services, without VMWare Graphics KMS API (vmwgfx)'
+pkgdesc='Userspace interface to kernel DRM services'
arch=(
i686
x86_64
@@ -27,25 +27,19 @@ options=(
)
url=http://dri.freedesktop.org/
provides=(
- ${pkgname%-libre-git}=$_pkgver
- ${pkgname%-libre-git}-libre=$_pkgver
- ${pkgname%-libre-git}-git
- ${pkgname%-libre-git}-nouveau1
+ ${pkgname%-git}=$_pkgver
+ ${pkgname%-git}-nouveau1
)
conflicts=(
- ${pkgname%-libre-git}
- ${pkgname%-libre-git}-libre
- ${pkgname%-libre-git}-git
- ${pkgname%-libre-git}-new
- ${pkgname%-libre-git}-nouveau
- ${pkgname%-libre-git}-nouveau1
- ${pkgname%-libre-git}-old
+ ${pkgname%-git}
+ ${pkgname%-git}-new
+ ${pkgname%-git}-nouveau
+ ${pkgname%-git}-nouveau1
+ ${pkgname%-git}-old
)
replaces=(
- ${pkgname%-libre-git}
- ${pkgname%-libre-git}-git
- ${pkgname%-libre-git}-new
- ${pkgname%-libre-git}-nouveau
+ ${pkgname%-git}-new
+ ${pkgname%-git}-nouveau
)
source=(
COPYING
@@ -88,15 +82,14 @@ build() {
sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \
radeon/Makefile.am
- ./autogen.sh
- ./configure --prefix=/usr \
- --disable-vmwgfx \
- --enable-exynos-experimental-api \
- --enable-intel \
- --enable-nouveau \
- --enable-omap-experimental-api \
- --enable-radeon \
- --enable-udev
+ ./autogen.sh --prefix=/usr \
+ --enable-exynos-experimental-api \
+ --enable-intel \
+ --enable-nouveau \
+ --enable-omap-experimental-api \
+ --enable-radeon \
+ --enable-udev \
+ --enable-vmwgfx
make V=0
}
@@ -108,6 +101,6 @@ check() {
package() {
cd $srcdir/$_gitname-build
make DESTDIR=$pkgdir install
- install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-libre-git}
- install -m644 ../COPYING $pkgdir/usr/share/licenses/${pkgname%-libre-git}
+ install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-git}
+ install -m644 ../COPYING $pkgdir/usr/share/licenses/${pkgname%-git}
}