[arch-commits] Commit in intel-media-driver/repos (2 files)

Daniel Bermond dbermond at archlinux.org
Sun May 30 15:12:24 UTC 2021


    Date: Sunday, May 30, 2021 @ 15:12:24
  Author: dbermond
Revision: 950400

archrelease: copy trunk to community-staging-x86_64

Added:
  intel-media-driver/repos/community-staging-x86_64/
  intel-media-driver/repos/community-staging-x86_64/PKGBUILD
    (from rev 950399, intel-media-driver/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: intel-media-driver/repos/community-staging-x86_64/PKGBUILD (from rev 950399, intel-media-driver/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-30 15:12:24 UTC (rev 950400)
@@ -0,0 +1,29 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=intel-media-driver
+pkgver=21.2.1
+pkgrel=1
+pkgdesc="Intel Media Driver for VAAPI — Broadwell+ iGPUs"
+arch=(x86_64)
+url="https://github.com/intel/media-driver/"
+license=(MIT BSD)
+depends=(gcc-libs intel-gmmlib libva libpciaccess)
+makedepends=(cmake)
+source=("${url}"/archive/${pkgname%-*}-${pkgver}.tar.gz)
+sha256sums=('7f4ac4a7679d96fe659494e90a395d99ce7db475eb16f73dc617cbeef536a9d1')
+
+build() {
+  cmake -B build -S ${pkgname#*-}-${pkgname%-*}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DINSTALL_DRIVER_SYSCONF=OFF \
+    -DMEDIA_BUILD_FATAL_WARNINGS=OFF \
+    -Wno-dev
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="$pkgdir" install
+  install -Dm644 ${pkgname#*-}-${pkgname%-*}-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list