termux-packages/packages/libde265/disable_tools.patch
Lucy Phipps dbd3323798
libde265: only decoding
use libx265 for encoding. patches from debian
2021-08-04 23:39:04 +01:00

42 lines
932 B
Diff

Description: Disable building of some internal tools that no longer link
because internal symbols are no longer exported.
Author: Joachim Bauch <bauch@struktur.de>
--- a/dec265/Makefile.am
+++ b/dec265/Makefile.am
@@ -1,5 +1,5 @@
-bin_PROGRAMS = dec265 hdrcopy
+bin_PROGRAMS = dec265
AM_CPPFLAGS = -I$(top_srcdir)/libde265 -I$(top_srcdir)
@@ -9,12 +9,6 @@
dec265_LDADD = ../libde265/libde265.la -lstdc++
dec265_SOURCES = dec265.cc
-hdrcopy_DEPENDENCIES = ../libde265/libde265.la
-hdrcopy_CXXFLAGS =
-hdrcopy_LDFLAGS =
-hdrcopy_LDADD = ../libde265/libde265.la -lstdc++
-hdrcopy_SOURCES = hdrcopy.cc
-
if HAVE_VIDEOGFX
dec265_CXXFLAGS += $(VIDEOGFX_CFLAGS)
dec265_LDFLAGS += $(VIDEOGFX_LIBS)
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,13 +8,6 @@
SUBDIRS+=dec265
endif
-if ENABLE_ENCODER
-SUBDIRS+=enc265
-endif
-
-SUBDIRS+=tools
-SUBDIRS+=acceleration-speed
-
if ENABLE_SHERLOCK265
SUBDIRS+=sherlock265
endif