Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libva
Commits
899c0571
Commit
899c0571
authored
Feb 09, 2011
by
Austin Yuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build issue
Signed-off-by:
Austin Yuan
<
shengquan.yuan@gmail.com
>
parent
45987380
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
3 deletions
+31
-3
Makefile.am
Makefile.am
+5
-1
configure.ac
configure.ac
+7
-0
libva-egl.pc.in
libva-egl.pc.in
+13
-0
libva.spec
libva.spec
+1
-1
va/Makefile.am
va/Makefile.am
+5
-1
No files found.
Makefile.am
View file @
899c0571
...
...
@@ -30,12 +30,16 @@ if BUILD_I965_DRIVER
SUBDIRS
+=
i965_drv_video
endif
pcfiles
=
libva.pc libva-tpi.pc
libva-egl.pc
pcfiles
=
libva.pc libva-tpi.pc
pcfiles
+=
libva-x11.pc
if
USE_GLX
pcfiles
+=
libva-glx.pc
endif
if
USE_EGL
pcfiles
+=
libva-egl.pc
endif
pkgconfigdir
=
@pkgconfigdir@
pkgconfig_DATA
=
$(pcfiles)
...
...
configure.ac
View file @
899c0571
...
...
@@ -134,6 +134,11 @@ fi
AC_SUBST(GL_DEPS_CFLAGS)
AC_SUBST(GL_DEPS_LIBS)
AM_CONDITIONAL(USE_GLX, test "$USE_GLX" = "yes")
AM_CONDITIONAL(USE_EGL, test "$USE_EGL" = "yes")
# TBD: Check for EGL
USE_EGL="yes"
# Make sure drivers use the correctly versioned __vaDriverInit*() function name
VA_DRIVER_INIT_FUNC="__vaDriverInit_${LIBVA_MAJOR_VERSION}_${LIBVA_MINOR_VERSION}"
...
...
@@ -202,6 +207,8 @@ AS_IF([test x$enable_dummy_driver = xyes], [DRIVERS="dummy $DRIVERS"])
echo " Drivers: ${DRIVERS}"
AS_IF([test x$USE_GLX = xyes], [BACKENDS="glx $BACKENDS"])
AS_IF([test x$USE_EGL = xyes], [BACKENDS="egl $BACKENDS"])
BACKENDS="x11 $BACKENDS"
AS_IF([test x$enable_dummy_backend = xyes], [BACKENDS="dummy
$BACKENDS"])
...
...
libva-egl.pc.in
0 → 100644
View file @
899c0571
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
display=egl
Name: libva-${display}
Description: Userspace Video Acceleration (VA) ${display} interface
Requires: libva
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lva-${display}
Cflags: -I${includedir}
libva.spec
View file @
899c0571
...
...
@@ -2,7 +2,7 @@
%define libversion 1.0.8
Name: libva
Version: %{libversion}
Version: %{libversion}
MFLD
Release: 0.0
License: MIT
Source: %{name}-%{version}.tar.bz2
...
...
va/Makefile.am
View file @
899c0571
...
...
@@ -74,13 +74,17 @@ libva_glx_backend =
libva_glx_backenddir
=
endif
# tbd: make it configurable?
if
USE_EGL
libva_egl_backend
=
libva-egl.la
libva_egl_backenddir
=
egl
libva_egl_la_SOURCES
=
libva_egl_la_LIBADD
=
$(libvacorelib)
egl/libva_egl.la libva-x11.la
$(GL_DEPS_LIBS)
-ldl
libva_egl_la_LDFLAGS
=
$(LDADD)
libva_egl_la_DEPENDENCIES
=
$(libvacorelib)
egl/libva_egl.la libva-x11.la
else
libva_egl_backend
=
libva_egl_backenddir
=
endif
lib_LTLIBRARIES
=
libva.la libva-tpi.la
$(libva_x11_backend)
$(libva_dummy_backend)
$(libva_glx_backend)
$(libva_egl_backend)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment