Skip to content

Commit

Permalink
va: remove older 0.32 and 0.33 support
Browse files Browse the repository at this point in the history
libva version 2.x should be compatible with 2.x series , not 1.x series
and 0.x series
reserve va_compat.h , because maybe some existing usage refer this file

Signed-off-by: Carl Zhang <[email protected]>
  • Loading branch information
XinfengZhang committed May 15, 2024
1 parent 1b7d71f commit 98d45d5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 66 deletions.
4 changes: 0 additions & 4 deletions va/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ LDADD = \

libva_source_c = \
va.c \
va_compat.c \
va_str.c \
va_trace.c \
$(NULL)
Expand Down Expand Up @@ -75,7 +74,6 @@ libva_source_h_priv = \

libva_ldflags = \
$(LDADD) -no-undefined \
-Wl,-version-script,${srcdir}/libva.syms \
$(NULL)

libva_cflags = \
Expand All @@ -91,7 +89,6 @@ noinst_HEADERS = $(libva_source_h_priv)
libva_la_SOURCES = $(libva_source_c)
libva_la_CFLAGS = $(libva_cflags)
libva_la_LDFLAGS = $(libva_ldflags)
libva_la_DEPENDENCIES = libva.syms
libva_la_LIBADD = $(LIBVA_LIBS)

if USE_DRM
Expand Down Expand Up @@ -146,7 +143,6 @@ DISTCLEANFILES = \
$(NULL)

EXTRA_DIST = \
libva.syms \
va_version.h.in \
meson.build \
libva.def \
Expand Down
9 changes: 0 additions & 9 deletions va/libva.syms

This file was deleted.

8 changes: 0 additions & 8 deletions va/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ version_file = configure_file(

libva_sources = [
'va.c',
'va_compat.c',
'va_str.c',
'va_trace.c',
]
Expand Down Expand Up @@ -55,15 +54,8 @@ libva_headers_priv = [
'va_trace.h',
]

libva_sym = 'libva.syms'
libva_sym_arg = '-Wl,-version-script,' + '@0@/@1@'.format(meson.current_source_dir(), libva_sym)

libva_link_args = []
libva_link_depends = []
if cc.links('', name: '-Wl,--version-script', args: ['-shared', libva_sym_arg])
libva_link_args = libva_sym_arg
libva_link_depends = libva_sym
endif

install_headers(libva_headers, subdir : 'va')

Expand Down
45 changes: 0 additions & 45 deletions va/va_compat.c

This file was deleted.

0 comments on commit 98d45d5

Please sign in to comment.