summaryrefslogtreecommitdiff
path: root/pcr/libdrm-git/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-09 17:00:36 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-09 17:00:36 -0300
commitc1bdb51abaa5f646407bb54c4b8f302967b9812a (patch)
tree461fd8d0f3e5fe42055a5dc7e78a74dfc8ab717b /pcr/libdrm-git/PKGBUILD
parent99f979239dd697e6d4e4c50b60636eb71c2634f1 (diff)
downloadabslibre-c1bdb51abaa5f646407bb54c4b8f302967b9812a.tar.gz
abslibre-c1bdb51abaa5f646407bb54c4b8f302967b9812a.tar.bz2
abslibre-c1bdb51abaa5f646407bb54c4b8f302967b9812a.zip
libdrm-libre{-git}: add packages to {libre,pcr}, lib{egl,drm}-git: drop old packages
Diffstat (limited to 'pcr/libdrm-git/PKGBUILD')
-rw-r--r--pcr/libdrm-git/PKGBUILD82
1 files changed, 0 insertions, 82 deletions
diff --git a/pcr/libdrm-git/PKGBUILD b/pcr/libdrm-git/PKGBUILD
deleted file mode 100644
index 823631073..000000000
--- a/pcr/libdrm-git/PKGBUILD
+++ /dev/null
@@ -1,82 +0,0 @@
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-# Arch libdrm Maintainers:
-# Jan de Groot
-# Andreas Radke
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=libdrm-git
-pkgver=20120905
-pkgrel=2
-pkgdesc='Userspace interface to kernel DRM services'
-arch=(
- i686
- x86_64
- mips64el
-)
-license=(
- MIT
-)
-depends=(
- libpciaccess
- )
-makedepends=(
- cairo
- git
- valgrind
-)
-options=(
- !libtool
-)
-url=http://dri.freedesktop.org/
-provides=(
- ${pkgname%-git}
- ${pkgname%-git}-nouveau1
-)
-conflicts=(
- ${pkgname%-git}
- ${pkgname%-git}-nouveau1
-)
-
-_gitroot=git://git.freedesktop.org/git/mesa/drm
-_gitname=drm
-
-build() {
- cd $srcdir
- msg 'Connecting to GIT server....'
-
- if [[ -d $_gitname ]]; then
- cd $_gitname && git pull origin
- msg 'The local files are updated.'
- else
- git clone $_gitroot $_gitname
- fi
-
- msg 'GIT checkout done or server timeout'
- msg 'Starting build...'
-
- rm -rf $srcdir}/$_gitname-build
- git clone $srcdir/$_gitname $srcdir/$_gitname-build
- cd $srcdir/$_gitname-build
-
- sed -i 's/PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)//' configure.ac
-
- ./autogen.sh
- ./configure --prefix=/usr \
- --enable-udev \
- --enable-intel \
- --enable-radeon \
- --enable-nouveau \
- --enable-vmwgfx
- make V=1
-}
-
-check() {
- cd $srcdir/$_gitname-build
- make -k check
-}
-
-package() {
- cd $srcdir/$_gitname-build
- make DESTDIR=$pkgdir install
-}