summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-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"