sync with OpenBSD -current
This commit is contained in:
parent
b5b25afdb8
commit
2c72e27ed2
147 changed files with 41128 additions and 10 deletions
51
lib/libva/pkgconfig/Makefile.am
Normal file
51
lib/libva/pkgconfig/Makefile.am
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Copyright (c) 2007 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the
|
||||
# "Software"), to deal in the Software without restriction, including
|
||||
# without limitation the rights to use, copy, modify, merge, publish,
|
||||
# distribute, sub license, and/or sell copies of the Software, and to
|
||||
# permit persons to whom the Software is furnished to do so, subject to
|
||||
# the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice (including the
|
||||
# next paragraph) shall be included in all copies or substantial portions
|
||||
# of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
# IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
|
||||
# ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
pcfiles = libva.pc
|
||||
if USE_DRM
|
||||
pcfiles += libva-drm.pc
|
||||
endif
|
||||
if USE_X11
|
||||
pcfiles += libva-x11.pc
|
||||
endif
|
||||
if USE_GLX
|
||||
pcfiles += libva-glx.pc
|
||||
endif
|
||||
if USE_WAYLAND
|
||||
pcfiles += libva-wayland.pc
|
||||
endif
|
||||
|
||||
all_pcfiles_in = libva.pc.in
|
||||
all_pcfiles_in += libva-drm.pc.in
|
||||
all_pcfiles_in += libva-x11.pc.in
|
||||
all_pcfiles_in += libva-glx.pc.in
|
||||
all_pcfiles_in += libva-wayland.pc.in
|
||||
|
||||
pkgconfigdir = @pkgconfigdir@
|
||||
pkgconfig_DATA = $(pcfiles)
|
||||
|
||||
EXTRA_DIST = $(all_pcfiles_in) meson.build
|
||||
|
||||
DISTCLEANFILES = $(pcfiles)
|
||||
|
||||
# Extra clean files so that maintainer-clean removes *everything*
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
12
lib/libva/pkgconfig/libva-drm.pc.in
Normal file
12
lib/libva/pkgconfig/libva-drm.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
display=drm
|
||||
|
||||
Name: libva-${display}
|
||||
Description: Userspace Video Acceleration (VA) ${display} interface
|
||||
Requires: libva
|
||||
Version: @VA_API_VERSION@
|
||||
Libs: -L${libdir} -lva-${display}
|
||||
Cflags: -I${includedir}
|
12
lib/libva/pkgconfig/libva-glx.pc.in
Normal file
12
lib/libva/pkgconfig/libva-glx.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
display=glx
|
||||
|
||||
Name: libva-${display}
|
||||
Description: Userspace Video Acceleration (VA) ${display} interface
|
||||
Requires: libva
|
||||
Version: @VA_API_VERSION@
|
||||
Libs: -L${libdir} -lva-${display}
|
||||
Cflags: -I${includedir}
|
12
lib/libva/pkgconfig/libva-wayland.pc.in
Normal file
12
lib/libva/pkgconfig/libva-wayland.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
display=wayland
|
||||
|
||||
Name: libva-${display}
|
||||
Description: Userspace Video Acceleration (VA) ${display} interface
|
||||
Requires: libva wayland-client
|
||||
Version: @VA_API_VERSION@
|
||||
Libs: -L${libdir} -lva-${display}
|
||||
Cflags: -I${includedir}
|
12
lib/libva/pkgconfig/libva-x11.pc.in
Normal file
12
lib/libva/pkgconfig/libva-x11.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
display=x11
|
||||
|
||||
Name: libva-${display}
|
||||
Description: Userspace Video Acceleration (VA) ${display} interface
|
||||
Requires: libva
|
||||
Version: @VA_API_VERSION@
|
||||
Libs: -L${libdir} -lva-${display}
|
||||
Cflags: -I${includedir}
|
12
lib/libva/pkgconfig/libva.pc.in
Normal file
12
lib/libva/pkgconfig/libva.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
driverdir=@LIBVA_DRIVERS_PATH@
|
||||
libva_version=@LIBVA_VERSION@
|
||||
|
||||
Name: libva
|
||||
Description: Userspace Video Acceleration (VA) core interface
|
||||
Version: @VA_API_VERSION@
|
||||
Libs: -L${libdir} -lva
|
||||
Cflags: -I${includedir}
|
60
lib/libva/pkgconfig/meson.build
Normal file
60
lib/libva/pkgconfig/meson.build
Normal file
|
@ -0,0 +1,60 @@
|
|||
pkg = import('pkgconfig')
|
||||
|
||||
vars = ['libva_version=' + libva_version, 'va_api_version=' + va_api_version]
|
||||
|
||||
va_vars = vars + ['driverdir=' + driverdir]
|
||||
pkg.generate(libva,
|
||||
description: 'Userspace Video Acceleration (VA) core interface',
|
||||
filebase: 'libva',
|
||||
variables: va_vars,
|
||||
version: va_api_version)
|
||||
|
||||
if WITH_DRM
|
||||
drm_vars = vars + ['display=drm']
|
||||
pkg.generate(libva_drm,
|
||||
description: 'Userspace Video Acceleration (VA) DRM interface',
|
||||
filebase: 'libva-drm',
|
||||
requires: 'libva',
|
||||
variables: drm_vars,
|
||||
version: va_api_version)
|
||||
endif
|
||||
|
||||
if WITH_X11
|
||||
x11_vars = vars + ['display=x11']
|
||||
pkg.generate(libva_x11,
|
||||
description: 'Userspace Video Acceleration (VA) X11 interface',
|
||||
filebase: 'libva-x11',
|
||||
requires: 'libva',
|
||||
variables: x11_vars,
|
||||
version: va_api_version)
|
||||
endif
|
||||
|
||||
if WITH_GLX
|
||||
glx_vars = vars + ['display=glx']
|
||||
pkg.generate(libva_glx,
|
||||
description: 'Userspace Video Acceleration (VA) GLX interface',
|
||||
filebase: 'libva-glx',
|
||||
requires: 'libva',
|
||||
variables: glx_vars,
|
||||
version: va_api_version)
|
||||
endif
|
||||
|
||||
if WITH_WAYLAND
|
||||
wayland_vars = vars + ['display=wayland']
|
||||
pkg.generate(libva_wayland,
|
||||
description: 'Userspace Video Acceleration (VA) Wayland interface',
|
||||
filebase: 'libva-wayland',
|
||||
requires: 'libva, wayland-client',
|
||||
variables: wayland_vars,
|
||||
version: va_api_version)
|
||||
endif
|
||||
|
||||
if WITH_WIN32
|
||||
win32_vars = vars + ['display=win32']
|
||||
pkg.generate(libva_win32,
|
||||
description: 'Userspace Video Acceleration (VA) Win32 interface',
|
||||
filebase: 'libva-win32',
|
||||
requires: 'libva',
|
||||
variables: win32_vars,
|
||||
version: va_api_version)
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue