[Libreoffice-commits] core.git: avmedia/Module_avmedia.mk postprocess/Rdb_services.mk

Damjan Jovanovic damjan at apache.org
Tue Dec 27 16:20:13 UTC 2016


 avmedia/Module_avmedia.mk   |    2 +-
 postprocess/Rdb_services.mk |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4550d0f96435051156d17b7c31b02b22d269fd08
Author: Damjan Jovanovic <damjan at apache.org>
Date:   Sun Dec 18 21:16:34 2016 +0000

    DirectShow moved from DirectX to the Windows API
    
    at least 10 years ago, so don't require DirectX
    to build the avmediawin library which uses DirectShow.
    
    Patch by: me
    
    (cherry picked from commit 8a8dd41ed0bc8c9ecf1faa27761a56b5a8fedcc2)
    
    Change-Id: I10926cb3c34bf3986c0341c1151360f1dfd5a21e
    Reviewed-on: https://gerrit.libreoffice.org/32411
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/avmedia/Module_avmedia.mk b/avmedia/Module_avmedia.mk
index 3aebcab..d7625c8 100644
--- a/avmedia/Module_avmedia.mk
+++ b/avmedia/Module_avmedia.mk
@@ -51,7 +51,7 @@ $(eval $(call gb_Module_add_targets,avmedia,\
 ))
 endif
 
-ifneq ($(ENABLE_DIRECTX),)
+ifeq ($(OS),WNT)
 $(eval $(call gb_Module_add_targets,avmedia,\
 	Library_avmediawin \
 ))
diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk
index 5972458..e999d05 100644
--- a/postprocess/Rdb_services.mk
+++ b/postprocess/Rdb_services.mk
@@ -137,6 +137,7 @@ $(eval $(call gb_Rdb_add_components,services,\
 		vcl/vcl.macosx \
 	) \
 	$(if $(filter WNT,$(OS)), \
+		avmedia/source/win/avmediawin \
 		dtrans/source/generic/dtrans \
 		dtrans/util/dnd \
 		dtrans/util/ftransl \
@@ -188,7 +189,6 @@ $(eval $(call gb_Rdb_add_components,services,\
 		canvas/source/cairo/cairocanvas \
 	) \
 	$(if $(ENABLE_DIRECTX), \
-		avmedia/source/win/avmediawin \
 		canvas/source/directx/directx9canvas \
 		canvas/source/directx/gdipluscanvas \
 	) \


More information about the Libreoffice-commits mailing list