summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/libva/Makefile33
-rw-r--r--multimedia/libva/distinfo2
-rw-r--r--multimedia/libva/pkg/DESCR4
-rw-r--r--multimedia/libva/pkg/PLIST48
4 files changed, 87 insertions, 0 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile
new file mode 100644
index 0000000..828618d
--- /dev/null
+++ b/multimedia/libva/Makefile
@@ -0,0 +1,33 @@
+COMMENT = an implementation of VA-API (Video Acceleration API)
+
+V = 2.22.0
+DISTNAME = libva-${V}
+
+CATEGORIES = multimedia
+HOMEPAGE = https://github.com/intel/libva
+
+SHARED_LIBS = va 2.22 # 2.22
+SHARED_LIBS += va-drm 2.22 # 2.22
+SHARED_LIBS += va-glx 0.0 # 0.0
+SHARED_LIBS += va-x11 2.22 # 2.22
+SHARED_LIBS += va-wayland 0.0 # 0.0
+
+GH_ACCOUNT = intel
+GH_PROJECT = libva
+GH_TAGNAME = 2.22.0
+
+# MIT
+PERMIT_PACKAGE = yes
+
+MODULES = devel/meson xenocara
+
+WANTLIB = GL Xext Xfixes X11-xcb X11 xcb xcb-dri3 drm
+
+BUILD_DEPENDS = sysutils/libdrm \
+ x11/libXext \
+ x11/libXfixes \
+ x11/libxcb \
+ wayland/wayland
+
+.include <bsd.port.mk>
+
diff --git a/multimedia/libva/distinfo b/multimedia/libva/distinfo
new file mode 100644
index 0000000..a4a358f
--- /dev/null
+++ b/multimedia/libva/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libva-2.22.0.tar.gz) = RnxBjCZAoXjGuq1b4uANVphCEjdjuAUHchq4frevhzU=
+SIZE (libva-2.22.0.tar.gz) = 301705
diff --git a/multimedia/libva/pkg/DESCR b/multimedia/libva/pkg/DESCR
new file mode 100644
index 0000000..2621c26
--- /dev/null
+++ b/multimedia/libva/pkg/DESCR
@@ -0,0 +1,4 @@
+VA-API is an open-source library and API specification, which provides
+access to graphics hardware acceleration capabilities for video
+processing. It consists of a main library and driver-specific
+acceleration backends for each supported hardware vendor.
diff --git a/multimedia/libva/pkg/PLIST b/multimedia/libva/pkg/PLIST
new file mode 100644
index 0000000..a49fca4
--- /dev/null
+++ b/multimedia/libva/pkg/PLIST
@@ -0,0 +1,48 @@
+include/va/va.h
+include/va/va_backend.h
+include/va/va_backend_glx.h
+include/va/va_backend_prot.h
+include/va/va_backend_vpp.h
+include/va/va_backend_wayland.h
+include/va/va_compat.h
+include/va/va_dec_av1.h
+include/va/va_dec_hevc.h
+include/va/va_dec_jpeg.h
+include/va/va_dec_vp8.h
+include/va/va_dec_vp9.h
+include/va/va_dec_vvc.h
+include/va/va_dri2.h
+include/va/va_dri3.h
+include/va/va_dricommon.h
+include/va/va_drm.h
+include/va/va_drmcommon.h
+include/va/va_egl.h
+include/va/va_enc_av1.h
+include/va/va_enc_h264.h
+include/va/va_enc_hevc.h
+include/va/va_enc_jpeg.h
+include/va/va_enc_mpeg2.h
+include/va/va_enc_vp8.h
+include/va/va_enc_vp9.h
+include/va/va_fei.h
+include/va/va_fei_h264.h
+include/va/va_fei_hevc.h
+include/va/va_glx.h
+include/va/va_prot.h
+include/va/va_str.h
+include/va/va_tpi.h
+include/va/va_trace.h
+include/va/va_version.h
+include/va/va_vpp.h
+include/va/va_wayland.h
+include/va/va_x11.h
+@lib lib/libva-drm.so.${LIBva-drm_VERSION}
+@lib lib/libva-glx.so.${LIBva-glx_VERSION}
+@lib lib/libva-wayland.so.${LIBva-wayland_VERSION}
+@lib lib/libva-x11.so.${LIBva-x11_VERSION}
+@lib lib/libva.so.${LIBva_VERSION}
+lib/pkgconfig/libva-drm.pc
+lib/pkgconfig/libva-glx.pc
+lib/pkgconfig/libva-wayland.pc
+lib/pkgconfig/libva-x11.pc
+lib/pkgconfig/libva.pc