| … | |
… | |
| 5 | # * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g" |
5 | # * for amd64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -g" |
| 6 | |
6 | |
| 7 | # What you can set: |
7 | # What you can set: |
| 8 | VERSION="3.6.3.2" |
8 | VERSION="3.6.3.2" |
| 9 | BINVERSION="3.6.3.2" |
9 | BINVERSION="3.6.3.2" |
| 10 | OPTS="-q" |
10 | OPTS="-v" |
| 11 | USEFILE="/etc/portage/package.use/libreo" |
11 | USEFILE="/etc/portage/package.use/libreo" |
| 12 | MYPKGDIR="$( portageq pkgdir )" |
12 | MYPKGDIR="$( portageq pkgdir )" |
| 13 | ################################################ |
13 | ################################################ |
| 14 | |
14 | |
| 15 | die() { |
15 | die() { |
| … | |
… | |
| 42 | die "Missing something in your system" |
42 | die "Missing something in your system" |
| 43 | fi |
43 | fi |
| 44 | done |
44 | done |
| 45 | |
45 | |
| 46 | # first the default subset of useflags |
46 | # first the default subset of useflags |
| 47 | IUSES_BASE="bash-completion -binfilter branding cups dbus graphite gstreamer gtk nsplugin python vba webdav xmlsec -aqua -jemalloc -mysql -nlpsolver -odk -opengl -pdfimport -postgres -svg" |
47 | IUSES_BASE="bash-completion branding cups dbus gstreamer gtk opengl svg vba webdav -aqua -binfilter -jemalloc -mysql -odk -postgres" |
|
|
48 | |
|
|
49 | ENABLE_EXTENSIONS="presenter-console presenter-minimizer" |
|
|
50 | DISABLE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher" |
|
|
51 | |
|
|
52 | for lo_xt in ${ENABLE_EXTENSIONS}; do |
|
|
53 | IUSES_BASE+=" libreoffice_extensions_${lo_xt}" |
|
|
54 | done |
|
|
55 | for lo_xt in ${DISABLE_EXTENSIONS}; do |
|
|
56 | IUSES_BASE+=" -libreoffice_extensions_${lo_xt}" |
|
|
57 | done |
|
|
58 | unset lo_xt |
| 48 | |
59 | |
| 49 | # now for the options |
60 | # now for the options |
| 50 | IUSES_J="java" |
61 | IUSES_J="java libreoffice_extensions_nlpsolver" |
| 51 | IUSES_NJ="-java" |
62 | IUSES_NJ="-java" |
| 52 | IUSES_G="gnome eds" |
63 | IUSES_G="gnome eds" |
| 53 | IUSES_NG="-gnome -eds" |
64 | IUSES_NG="-gnome -eds" |
| 54 | IUSES_K="kde" |
65 | IUSES_K="kde" |
| 55 | IUSES_NK="-kde" |
66 | IUSES_NK="-kde" |