summaryrefslogtreecommitdiffstats
path: root/k9author/Makefile.am
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-05-17 12:02:27 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-05-19 17:40:38 +0200
commit83beb081801183920497d4ac3ee2ef8786911e08 (patch)
tree9f53cf8fa3f1c8a5c060c987a075f4f6985f7829 /k9author/Makefile.am
parent6e5bd8f2aecca675dd0d7b1da4cbb06f1044c541 (diff)
downloadk9copy-83beb081.tar.gz
k9copy-83beb081.zip
Implement ffmpeg version 5 support
Version 5.0 of ffmpeg drops a load of deprecated API functions causing k9copy to fail its build. The necessary changes have been made to enable k9copy to build against ffmpeg 5.0 as well as retaining support for older versions. Support for older pre-0.5.1 versions has been dropped as has runtime linking of the ffmpeg libraries. libswscale is now mandatory. Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit e71518b16cb4507712e2bf69e4902fc1689d9995)
Diffstat (limited to 'k9author/Makefile.am')
-rw-r--r--k9author/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/k9author/Makefile.am b/k9author/Makefile.am
index 618df34..91d406e 100644
--- a/k9author/Makefile.am
+++ b/k9author/Makefile.am
@@ -1,11 +1,11 @@
-AM_CPPFLAGS= -I$(srcdir) -I$(includedir) $(all_includes)
+AM_CPPFLAGS= -I$(srcdir) -I$(includedir) $(all_includes) $(FFMPEG_CFLAGS)
KDE_CXXFLAGS = $(ENABLE_PERMISSIVE_FLAG)
METASOURCES = AUTO
noinst_LTLIBRARIES = libk9author.la
-libk9author_la_LDFLAGS = $(all_libraries)
+libk9author_la_LDFLAGS = $(all_libraries) $(FFMPEG_LIBS)
libk9author_la_SOURCES = chapterEdit.ui import.ui k9avidecode.cpp k9avifile.cpp \
k9canvasselection.cpp k9chapteredit.cpp k9import.cpp k9importfiles.cpp k9lvitemimport.cpp \
k9menu.cpp k9menubutton.cpp k9menuedit.cpp k9menueditor.cpp k9newdvd.cpp \