[arch-commits] Commit in libmfx (3 files)
Maxime Gauduin
alucryd at archlinux.org
Tue Apr 30 09:14:12 UTC 2019
Date: Tuesday, April 30, 2019 @ 09:14:12
Author: alucryd
Revision: 456671
archrelease: copy trunk to community-x86_64
Added:
libmfx/repos/
libmfx/repos/community-x86_64/
libmfx/repos/community-x86_64/PKGBUILD
(from rev 456670, libmfx/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: libmfx/repos/community-x86_64/PKGBUILD (from rev 456670, libmfx/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2019-04-30 09:14:12 UTC (rev 456671)
@@ -0,0 +1,44 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Bermond <danielbermond at gmail.com>
+
+pkgname=libmfx
+pkgver=1.25
+pkgrel=3
+pkgdesc='Intel Media SDK dispatcher library'
+arch=(x86_64)
+url=https://github.com/lu-zero/mfx_dispatch
+license=(BSD)
+depends=(
+ libva.so
+ libva-drm.so
+ libva-x11.so
+)
+makedepends=(git)
+provides=(libmfx.so)
+source=(git+https://github.com/lu-zero/mfx_dispatch.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+prepare() {
+ cd mfx_dispatch
+
+ sed "s/1\.23/${pkgver}/" -i configure.ac
+ autoreconf -fiv
+}
+
+build() {
+ cd mfx_dispatch
+
+ ./configure \
+ --prefix=/usr \
+ --enable-shared \
+ --with-libva_drm=yes \
+ --with-libva_x11=yes
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C mfx_dispatch install
+ install -Dm 644 mfx_dispatch/LICENSE -t "${pkgdir}"/usr/share/licenses/libmfx
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list