You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.4 KiB

#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ooo/config.in
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if pkgcheck ooo X; then
menu_begin MENU_PKG_OOO 'OpenOffice.org (Ximian build features)'
# Widgets
#
CFGTEMP_PKG_OOO_WIDGETS_LIST="none OOO_widgets"
pkgcheck gtk+ X && var_append CFGTEMP_PKG_OOO_WIDGETS_LIST ' ' \
"gnome GTK_native_widgets"
pkgcheck arts X && var_append CFGTEMP_PKG_OOO_WIDGETS_LIST ' ' \
"kde KDE_native_widgets"
choice SDECFG_PKG_OOO_WIDGETS none $CFGTEMP_PKG_OOO_WIDGETS_LIST
# if [ "$SDECFG_PKG_OOO_WIDGETS" = "gnome" ]; then
# bool 'Enable bonobo bindings' SDECFG_PKG_OOO_BONOBO 0
# fi
# Icons
#
if pkgcheck '(gtk+|arts)' X; then
comment 'Select (additional) icon sets.'
#FIXME: download location bool 'Bluecurve' SDECFG_PKG_OOO_ICONS_BLUECURVE 1
pkgcheck gtk+ X && bool 'Gnome' SDECFG_PKG_OOO_ICONS_GNOME 1
pkgcheck arts X && bool 'KDE' SDECFG_PKG_OOO_ICONS_KDE 1
fi
# TODO: docdir
menu_end
fi