summaryrefslogtreecommitdiff
path: root/user/xf86-video-intel/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-09-09 02:52:04 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-09-09 02:52:04 +0000
commit3ec633a8721f565e4a3c1ada321e7aa00a941cc6 (patch)
treeb602587814a183134d65e3d1c11d224c97df0d5b /user/xf86-video-intel/APKBUILD
parent9646527822e71a04a78c86b1f2c655d26170d359 (diff)
parent645d1f85d03a49fbb2a2bf82299eba0f6391706c (diff)
downloadpackages-3ec633a8721f565e4a3c1ada321e7aa00a941cc6.tar.gz
packages-3ec633a8721f565e4a3c1ada321e7aa00a941cc6.tar.bz2
packages-3ec633a8721f565e4a3c1ada321e7aa00a941cc6.tar.xz
packages-3ec633a8721f565e4a3c1ada321e7aa00a941cc6.zip
Merge branch 'ddx' into 'master'
user/xf86-video-intel: pull in, use snapshot instead of patch See merge request !50
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"