summaryrefslogtreecommitdiff
path: root/user/xf86-video-intel/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-03 11:45:34 -0400
committerMax Rees <maxcrees@me.com>2018-09-04 15:23:34 -0400
commit645d1f85d03a49fbb2a2bf82299eba0f6391706c (patch)
treeb2e73d41b2ebe4862bf01d3ed849da0cabfca129 /user/xf86-video-intel/APKBUILD
parent745fc5ef96cbf0d81c35baed546df9636e3b94a2 (diff)
downloadpackages-645d1f85d03a49fbb2a2bf82299eba0f6391706c.tar.gz
packages-645d1f85d03a49fbb2a2bf82299eba0f6391706c.tar.bz2
packages-645d1f85d03a49fbb2a2bf82299eba0f6391706c.tar.xz
packages-645d1f85d03a49fbb2a2bf82299eba0f6391706c.zip
user/xf86-video-intel: pull in, use snapshot instead of patch
Diffstat (limited to 'user/xf86-video-intel/APKBUILD')
-rw-r--r--user/xf86-video-intel/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/user/xf86-video-intel/APKBUILD b/user/xf86-video-intel/APKBUILD
new file mode 100644
index 000000000..6c9f0d745
--- /dev/null
+++ b/user/xf86-video-intel/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=xf86-video-intel
+verbase=2.99.917
+pkgver=${verbase}_git20180803
+pkgrel=0
+pkgdesc="Legacy X.Org driver for Intel graphics cards"
+url="https://xorg.freedesktop.org"
+arch="x86 x86_64"
+options="!check" # No test suite.
+license="MIT"
+subpackages="$pkgname-doc"
+depends="mesa-dri-intel"
+makedepends="xorg-server-dev libxi-dev libdrm-dev mesa-dev libxvmc-dev
+ xcb-util-dev eudev-dev util-macros autoconf automake libtool xorgproto
+ "
+source="https://dev.sick.bike/$pkgname-$pkgver.tar.gz"
+giturl="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git"
+reporev="3d395062ce73f85e8340218df01c2ebf4bc25023"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ autoreconf -vif
+}
+
+build() {
+ cd "$builddir"
+ export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-xvmc \
+ --disable-selective-werror \
+ --with-default-dri=3
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+ rm "$pkgdir"/usr/libexec/xf86-video-intel-backlight-helper
+}
+
+sha512sums="a96e627ed1b3fb6b66f02caaafb0f94967df9a2409158aacc9d8958538ef47bd84176ce71a4785f21944beb764450b1560c6dc59eef435f75959e27704be41f1 xf86-video-intel-2.99.917_git20180803.tar.gz"