diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-05-04 16:45:32 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-05-04 17:36:46 +0200 |
commit | d0e099fb5fce0954a36767b62026477448600f68 (patch) | |
tree | efdd98b2b60b3e46b03d9c62865a995c7876b6c1 | |
parent | 08f94626efc530713802f4f97615a5117e8596d2 (diff) |
fdo#60924 autoinstall - gbuild/scp2: add kde module
Change-Id: Id1a836da9b97ba2b542b68cfa650fede523b0a0e
-rw-r--r-- | Repository.mk | 3 | ||||
-rw-r--r-- | scp2/AutoInstallLibs_kde.mk | 12 | ||||
-rw-r--r-- | scp2/InstallModule_kde.mk | 2 | ||||
-rw-r--r-- | scp2/Module_scp2.mk | 1 | ||||
-rw-r--r-- | scp2/source/kde/module_kde.scp | 4 | ||||
-rw-r--r-- | solenv/gbuild/Helper.mk | 2 |
6 files changed, 22 insertions, 2 deletions
diff --git a/Repository.mk b/Repository.mk index d7716469e62d..f46ac63ee436 100644 --- a/Repository.mk +++ b/Repository.mk @@ -217,6 +217,9 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \ endif +$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,KDE, \ +)) + $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,OOO, \ avmedia \ $(if $(DISABLE_SCRIPTING),,basctl) \ diff --git a/scp2/AutoInstallLibs_kde.mk b/scp2/AutoInstallLibs_kde.mk new file mode 100644 index 000000000000..11f65ee929bc --- /dev/null +++ b/scp2/AutoInstallLibs_kde.mk @@ -0,0 +1,12 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_AutoInstallLibs_AutoInstallLibs,kde,KDE,LIBO_LIB_FILE,auto_Kde_Lib)) + +# vim: set noet sw=4 ts=4: diff --git a/scp2/InstallModule_kde.mk b/scp2/InstallModule_kde.mk index 9d0a9bd498d7..11d5f96305e8 100644 --- a/scp2/InstallModule_kde.mk +++ b/scp2/InstallModule_kde.mk @@ -9,6 +9,8 @@ $(eval $(call gb_InstallModule_InstallModule,scp2/kde)) +$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/kde,kde)) + $(eval $(call gb_InstallModule_define_if_set,scp2/kde,\ ENABLE_KDE \ ENABLE_KDE4 \ diff --git a/scp2/Module_scp2.mk b/scp2/Module_scp2.mk index 41fbf961f407..4173445d8417 100644 --- a/scp2/Module_scp2.mk +++ b/scp2/Module_scp2.mk @@ -10,6 +10,7 @@ $(eval $(call gb_Module_Module,scp2)) $(eval $(call gb_Module_add_targets,scp2,\ + AutoInstallLibs_kde \ AutoInstallLibs_ooo \ AutoInstallLibs_ure \ AutoInstallLibs_writer \ diff --git a/scp2/source/kde/module_kde.scp b/scp2/source/kde/module_kde.scp index f1bc11caa0f6..9d3719516a51 100644 --- a/scp2/source/kde/module_kde.scp +++ b/scp2/source/kde/module_kde.scp @@ -27,6 +27,8 @@ #include "macros.inc" +#include "AutoInstallLibs/kde" + #if defined( ENABLE_KDE ) || defined( ENABLE_KDE4 ) Module gid_Module_Optional_Kde ParentID = gid_Module_Optional; @@ -34,7 +36,7 @@ Module gid_Module_Optional_Kde PackageInfo = "packinfo_office.txt"; MOD_NAME_DESC(MODULE_OPTIONAL_KDE); Styles = (); - Files = ( + Files = (auto_Kde_Lib_ALL #ifdef ENABLE_KDE gid_File_Lib_Kdebe #ifdef ENABLE_KDE4 diff --git a/solenv/gbuild/Helper.mk b/solenv/gbuild/Helper.mk index e0a61ccb4a83..ded46b9f1eda 100644 --- a/solenv/gbuild/Helper.mk +++ b/solenv/gbuild/Helper.mk @@ -118,7 +118,7 @@ endef define gb_Helper_init_registries gb_Executable_VALIDGROUPS := UREBIN SDK OOO NONE gb_Library_VALIDGROUPS := OOOLIBS PLAINLIBS_NONE PLAINLIBS_URE PLAINLIBS_OOO RTVERLIBS UNOLIBS_URE UNOVERLIBS EXTENSIONLIBS -gb_Library_VALIDINSTALLMODULES := OOO URE WRITER +gb_Library_VALIDINSTALLMODULES := KDE OOO URE WRITER gb_StaticLibrary_VALIDGROUPS := PLAINLIBS gb_Jar_VALIDGROUPS := URE OOO OXT NONE |