From 645d1f85d03a49fbb2a2bf82299eba0f6391706c Mon Sep 17 00:00:00 2001 From: Max Rees Date: Fri, 3 Aug 2018 11:45:34 -0400 Subject: user/xf86-video-intel: pull in, use snapshot instead of patch --- user/xf86-video-intel/APKBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 user/xf86-video-intel/APKBUILD (limited to 'user/xf86-video-intel') 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 +# Maintainer: Max Rees +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" -- cgit v1.2.3-70-g09d2