From d079d8e18844f5f1bd7313f9642dc3f2e440e8c8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 23 Apr 2014 12:33:23 +0000 Subject: main/xf86-video-modesetting: moved from testing --- main/xf86-video-modesetting/APKBUILD | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 main/xf86-video-modesetting/APKBUILD (limited to 'main/xf86-video-modesetting') diff --git a/main/xf86-video-modesetting/APKBUILD b/main/xf86-video-modesetting/APKBUILD new file mode 100644 index 0000000000..50e5b59ec1 --- /dev/null +++ b/main/xf86-video-modesetting/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Carlo Landmeter +# Maintainer: Natanael Copa +pkgname=xf86-video-modesetting +pkgver=0.8.1 +pkgrel=0 +pkgdesc="X.org generic modesetting video drive" +url="http://cgit.freedesktop.org/xorg/driver/xf86-video-modesetting/" +arch="all" +license="custom" +depends="" +depends_dev="xorg-server-dev udev-dev libdrm-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-modesetting-$pkgver.tar.bz2" + +_builddir="$srcdir"/xf86-video-modesetting-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1 +} + +md5sums="eb275e1ff0031897bcf23e2e5cb8655a xf86-video-modesetting-0.8.1.tar.bz2" +sha256sums="3ba8d8d7cb679497abc6486e2e843f8ea1582d830a27448ed4c90413e58312ca xf86-video-modesetting-0.8.1.tar.bz2" +sha512sums="1f18a90653a5e72f0285c7b4640051b63f7795e6c8ffb7e4055982c09ef5902c182657e4441292e8ebb42ef21cf730156b744603aa63bb8d803d8f5df55404b7 xf86-video-modesetting-0.8.1.tar.bz2" -- cgit v1.2.3