From a92a085d1d70d48a09907eae67aea913708ef4b9 Mon Sep 17 00:00:00 2001 From: Barrett17 Date: Mon, 18 Feb 2019 23:19:29 +0100 Subject: [PATCH] BuildFeatures: Add libdvdnav and libdvdcss deps --- build/jam/BuildFeatures | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/build/jam/BuildFeatures b/build/jam/BuildFeatures index 3bc2a00fee..11111f7388 100644 --- a/build/jam/BuildFeatures +++ b/build/jam/BuildFeatures @@ -590,6 +590,40 @@ if [ IsPackageAvailable ilmbase_devel ] { } +# libdvdread +if [ IsPackageAvailable libdvdread_devel ] { + ExtractBuildFeatureArchives libdvdread : + file: base libdvdread + runtime: lib + file: devel libdvdread_devel + depends: base + libraries: $(developLibDir)/libdvdread.so.4 + headers: $(developHeadersDir) + ; + + EnableBuildFeatures libdvdread ; +} else { + Echo "libdvdread support not available on $(TARGET_PACKAGING_ARCH)" ; +} + + +# libdvdnav +if [ IsPackageAvailable libdvdnav_devel ] { + ExtractBuildFeatureArchives libdvdnav : + file: base libdvdnav + runtime: lib + file: devel libdvdnav_devel + depends: base + libraries: $(developLibDir)/libdvdnav.so.4 + headers: $(developHeadersDir) + ; + + EnableBuildFeatures libdvdnav ; +} else { + Echo "libdvdnav support not available on $(TARGET_PACKAGING_ARCH)" ; +} + + # libwebp if [ IsPackageAvailable libwebp_devel ] { if $(HAIKU_PACKAGING_ARCH) = x86 && $(TARGET_PACKAGING_ARCH) = x86_gcc2 {