summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/libreoffice-bin/files')
-rw-r--r--app-office/libreoffice-bin/files/50-libreoffice-bin3
-rw-r--r--app-office/libreoffice-bin/files/wrapper.in4
2 files changed, 7 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/files/50-libreoffice-bin b/app-office/libreoffice-bin/files/50-libreoffice-bin
new file mode 100644
index 0000000..1c30771
--- /dev/null
+++ b/app-office/libreoffice-bin/files/50-libreoffice-bin
@@ -0,0 +1,3 @@
+SEARCH_DIRS_MASK="@GENTOO_PORTAGE_EPREFIX@/usr/lib/libreoffice
+@GENTOO_PORTAGE_EPREFIX@/usr/lib32/libreoffice
+@GENTOO_PORTAGE_EPREFIX@/usr/lib64/libreoffice"
diff --git a/app-office/libreoffice-bin/files/wrapper.in b/app-office/libreoffice-bin/files/wrapper.in
new file mode 100644
index 0000000..1a50a54
--- /dev/null
+++ b/app-office/libreoffice-bin/files/wrapper.in
@@ -0,0 +1,4 @@
+#!/bin/sh
+export OOO_EXTRA_ARG=''
+unset PYTHONPATH
+@GENTOO_PORTAGE_EPREFIX@/usr/LIBDIR/libreoffice/program/soffice "$@"