commit:     20daeb992dfaa00e2793b5f9d5e670e382b1db1a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 00:44:42 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 16 01:52:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20daeb99

app-office/libreoffice: add Valgrind annotation support

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-office/libreoffice/libreoffice-7.5.3.2.ebuild  | 4 +++-
 app-office/libreoffice/libreoffice-7.5.9999.ebuild | 4 +++-
 app-office/libreoffice/libreoffice-9999.ebuild     | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/app-office/libreoffice/libreoffice-7.5.3.2.ebuild 
b/app-office/libreoffice/libreoffice-7.5.3.2.ebuild
index 941b2c21607a..772e63c73d8e 100644
--- a/app-office/libreoffice/libreoffice-7.5.3.2.ebuild
+++ b/app-office/libreoffice/libreoffice-7.5.3.2.ebuild
@@ -84,7 +84,7 @@ unset ADDONS_SRC
 LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
 
 IUSE="accessibility base bluetooth +branding clang coinmp +cups custom-cflags 
+dbus debug eds firebird
-googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
+googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test 
valgrind vulkan
 $(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
@@ -243,6 +243,7 @@ DEPEND="${COMMON_DEPEND}
                media-fonts/dejavu
                media-fonts/liberation-fonts
        )
+       valgrind? ( dev-util/valgrind )
 "
 RDEPEND="${COMMON_DEPEND}
        acct-group/libreoffice
@@ -534,6 +535,7 @@ src_configure() {
                $(use_with googledrive gdrive-client-secret 
${google_default_client_secret})
                $(use_with java)
                $(use_with odk doxygen)
+               $(use_with valgrind)
        )
 
        if use eds || use gtk; then

diff --git a/app-office/libreoffice/libreoffice-7.5.9999.ebuild 
b/app-office/libreoffice/libreoffice-7.5.9999.ebuild
index 941b2c21607a..772e63c73d8e 100644
--- a/app-office/libreoffice/libreoffice-7.5.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-7.5.9999.ebuild
@@ -84,7 +84,7 @@ unset ADDONS_SRC
 LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
 
 IUSE="accessibility base bluetooth +branding clang coinmp +cups custom-cflags 
+dbus debug eds firebird
-googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
+googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test 
valgrind vulkan
 $(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
@@ -243,6 +243,7 @@ DEPEND="${COMMON_DEPEND}
                media-fonts/dejavu
                media-fonts/liberation-fonts
        )
+       valgrind? ( dev-util/valgrind )
 "
 RDEPEND="${COMMON_DEPEND}
        acct-group/libreoffice
@@ -534,6 +535,7 @@ src_configure() {
                $(use_with googledrive gdrive-client-secret 
${google_default_client_secret})
                $(use_with java)
                $(use_with odk doxygen)
+               $(use_with valgrind)
        )
 
        if use eds || use gtk; then

diff --git a/app-office/libreoffice/libreoffice-9999.ebuild 
b/app-office/libreoffice/libreoffice-9999.ebuild
index 3f227c0a320f..3e79b6523909 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -83,7 +83,7 @@ unset ADDONS_SRC
 LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
 
 IUSE="accessibility base bluetooth +branding clang coinmp +cups custom-cflags 
+dbus debug eds firebird
-googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
+googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test 
valgrind vulkan
 $(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
@@ -242,6 +242,7 @@ DEPEND="${COMMON_DEPEND}
                media-fonts/dejavu
                media-fonts/liberation-fonts
        )
+       valgrind? ( dev-util/valgrind )
 "
 RDEPEND="${COMMON_DEPEND}
        acct-group/libreoffice
@@ -530,6 +531,7 @@ src_configure() {
                $(use_with googledrive gdrive-client-secret 
${google_default_client_secret})
                $(use_with java)
                $(use_with odk doxygen)
+               $(use_with valgrind)
        )
 
        if use eds || use gtk; then

Reply via email to