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

Signed-off-by: Carl Zhang <[email protected]>
  • Loading branch information
XinfengZhang committed May 13, 2024
1 parent 1b7d71f commit 30b50b2
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 184 deletions.
5 changes: 0 additions & 5 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 All @@ -42,7 +41,6 @@ libva_source_h = \
va_backend.h \
va_backend_prot.h \
va_backend_vpp.h \
va_compat.h \
va_dec_av1.h \
va_dec_hevc.h \
va_dec_jpeg.h \
Expand Down Expand Up @@ -75,7 +73,6 @@ libva_source_h_priv = \

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

libva_cflags = \
Expand All @@ -91,7 +88,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 +142,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.

9 changes: 0 additions & 9 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 All @@ -21,7 +20,6 @@ libva_headers = [
'va_backend.h',
'va_backend_prot.h',
'va_backend_vpp.h',
'va_compat.h',
'va_dec_hevc.h',
'va_dec_jpeg.h',
'va_dec_vp8.h',
Expand Down Expand Up @@ -55,15 +53,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.

116 changes: 0 additions & 116 deletions va/va_compat.h

This file was deleted.

0 comments on commit 30b50b2

Please sign in to comment.