summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-05-04 16:45:32 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2013-05-04 17:36:46 +0200
commitd0e099fb5fce0954a36767b62026477448600f68 (patch)
treeefdd98b2b60b3e46b03d9c62865a995c7876b6c1 /scp2
parent08f94626efc530713802f4f97615a5117e8596d2 (diff)
fdo#60924 autoinstall - gbuild/scp2: add kde module
Change-Id: Id1a836da9b97ba2b542b68cfa650fede523b0a0e
Diffstat (limited to 'scp2')
-rw-r--r--scp2/AutoInstallLibs_kde.mk12
-rw-r--r--scp2/InstallModule_kde.mk2
-rw-r--r--scp2/Module_scp2.mk1
-rw-r--r--scp2/source/kde/module_kde.scp4
4 files changed, 18 insertions, 1 deletions
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