system_x265.diff 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. diff -Naur HandBrake-1.5.1/libhb/module.defs HandBrake-1.5.1.patched/libhb/module.defs
  2. --- HandBrake-1.5.1/libhb/module.defs 2022-01-10 14:11:37.000000000 -0500
  3. +++ HandBrake-1.5.1.patched/libhb/module.defs 2022-03-24 15:57:45.803548141 -0400
  4. @@ -129,10 +129,6 @@
  5. LIBHB.dll.libs += $(CONTRIB.build/)lib/libvpl.a
  6. endif
  7. -ifeq (1,$(FEATURE.x265))
  8. -LIBHB.dll.libs += $(CONTRIB.build/)lib/libx265.a
  9. -endif
  10. -
  11. ifneq ($(HAS.iconv),1)
  12. LIBHB.dll.libs += $(CONTRIB.build/)lib/libiconv.a
  13. else
  14. diff -Naur HandBrake-1.5.1/make/include/main.defs HandBrake-1.5.1.patched/make/include/main.defs
  15. --- HandBrake-1.5.1/make/include/main.defs 2022-01-10 14:11:37.000000000 -0500
  16. +++ HandBrake-1.5.1.patched/make/include/main.defs 2022-03-24 15:58:28.972263692 -0400
  17. @@ -40,13 +40,6 @@
  18. MODULES += contrib/fdk-aac
  19. endif
  20. -ifeq (1,$(FEATURE.x265))
  21. - MODULES += contrib/x265
  22. - MODULES += contrib/x265_8bit
  23. - MODULES += contrib/x265_10bit
  24. - MODULES += contrib/x265_12bit
  25. -endif
  26. -
  27. MODULES += contrib/libdav1d
  28. MODULES += contrib/zimg
  29. MODULES += contrib/ffmpeg
  30. diff -Naur HandBrake-1.5.1/test/module.defs HandBrake-1.5.1.patched/test/module.defs
  31. --- HandBrake-1.5.1/test/module.defs 2022-01-10 14:11:37.000000000 -0500
  32. +++ HandBrake-1.5.1.patched/test/module.defs 2022-03-24 15:59:19.957108790 -0400
  33. @@ -23,6 +23,10 @@
  34. TEST.GCC.l += fontconfig
  35. endif
  36. +ifeq (1,$(FEATURE.x265))
  37. + TEST.GCC.l += x265
  38. +endif
  39. +
  40. ifeq (1,$(FEATURE.qsv))
  41. TEST.GCC.l += vpl
  42. ifneq (,$(filter $(HOST.system),linux freebsd))